MCP tools

The AirBuild MCP tool that adds an Agent to a Team from a template, optionally with its own @handle, profile and model.

hire_agent adds an Agent to the Team from a template (list_agent_templates). The new Agent joins every Project’s chat and gets direct messages with each person on the Team. You can give it its own @ handle and override any part of its profile now, or later with update_agent. It is turned on and is not the host. Each call hires a new Agent: hiring from the same template twice gives two Agents, and when agentId is left out the second gets a handle such as designer-2. Any person on the Team can call it.

Read-only Destructive Idempotent
No No No

Inputs

For each profile field: leave it out to keep the template’s, or send text to set it. null also keeps the template’s.

Input Type Required Default What it does
teamId string (UUID) Yes — The Team, from list_teams
templateId string (UUID) Yes — The template, from list_agent_templates
agentId string, 1 to 120 characters No the template’s key, made unique Its @ handle: letters, digits, ., _ and -, starting with a letter or digit. Must be free on the Team
displayName string or null No the template’s Its name
role string or null No the template’s One line: what it does on the Team
bio string or null No the template’s What it looks after; the Team uses it to decide who takes a message
persona string or null No the template’s How it speaks
rolePrompt string or null No the template’s Its instructions
replyRegister general, professional or null No — Retired: accepted, changes nothing
model string No the Team’s default A model id from list_models, or default for the Team’s default

Result

Field What
agent The new Agent, with the fields of list_team_members: agentId, name, template, role, bio, persona, rolePrompt, model, replyRegister, host, enabled
{
  "agent": {
    "agentId": "designer",
    "name": "Designer",
    "template": "designer",
    "role": "Designs the app's screens",
    "bio": "Layout, icons and colors.",
    "persona": null,
    "rolePrompt": null,
    "model": "<model id>",
    "replyRegister": null,
    "host": false,
    "enabled": true
  }
}

Errors

Italic words stand for the values in the sentence.

Message When What to do
templateId is required. templateId is missing Take one from list_agent_templates
field must be text or null. A profile field is neither text nor null Send text, or leave it out
Member template not found. No template has this id Take one from list_agent_templates
Agent ID must be 1–120 letters, digits, dots, underscores, or dashes starting with an alphanumeric character. agentId breaks the rules Choose a handle that fits them
Agent ID “agentId” is already taken in this team. Choose another. Another Agent on the Team has this handle Choose another, or leave agentId out
Enter a value for field, or reset it to use the default. A profile field is empty or only spaces Send text, or leave it out
Choose a valid model and try again. model has spaces or is too long (an empty model is ignored) Take an id from list_models
Team not found. The Team does not exist, or you are not in it Use a teamId from list_teams

The errors every tool can return are on Server and sign-in.

Example

{"name": "hire_agent", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "templateId": "00000000-0000-0000-0000-000000000000", "agentId": "designer", "role": "Designs the app's screens"}}