Skip to main content
Glama

Create an AI agent

create_agent

Add an AI agent with the recommended voice, greeting, and instructions. It answers no phone line until one is pointed at it with update_phone_number, and any starter playbooks begin as drafts. Returns the new agent's id. Admins only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAgent name; leave out to name it after its first playbook
team_idNoTeam (location) the agent works for; leave out for the whole workspace
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
knowledge_idsNoKnowledge it may use, from list_knowledge; leave out to let it use everything
starter_playbooksNoJobs the agent starts with, as drafts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say it is a non-destructive write; the description adds the operationally important facts an agent needs: the new agent is inert until a phone line is assigned, starter playbooks land as drafts rather than live, and the new id is returned. It does not document rate limits or other side effects, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what is created, then the activation caveat, then the return value and permission gate. No sentence restates the name or wastes words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter creation tool with rich schema descriptions and no output schema, the description covers the essentials: defaults applied, draft state, post-creation step, and returned id. It could say whether the agent is otherwise live immediately, but nothing critical for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already explains name, team_id, workspace_id, knowledge_ids and starter_playbooks. The description adds only one semantic beyond it — that starters are created as drafts — which is useful but does not extend meaning for the remaining four parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Add an AI agent") and immediately scopes what gets created: recommended voice, greeting, instructions. It also distinguishes the created object's state from siblings like update_phone_number, which is what actually activates it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the follow-up path (point a phone line at it with update_phone_number) and a hard prerequisite ("Admins only"). It does not state when to prefer update_agent over creating a new agent, but the create-vs-modify split is largely self-evident from the verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources