Skip to main content
Glama

Create agent

create_agent

Create an AI agent in a space. Provide a name and optional system-style description. Pass enableProjectTool: true to give it its own project read/write tool (what an agent created in the Taskade UI gets by default). Returns the new agent id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the agent
spaceIdYesSpace ID (workspace) to create the agent in
descriptionNoSystem-style role instructions (AgentData.description)
enableProjectToolNoLet the agent read and write project data itself (default false). Required before `prompt_agent` can have it change projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=false. The description adds genuinely non-redundant context: the call returns the new agent id, and enableProjectTool defaults to false even though UI-created agents get it by default — a real behavioral gotcha. It does not mention duplicate-name behavior or permission requirements, so not 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.

Conciseness4/5

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

Three compact sentences, front-loaded with the action, then the required inputs, then an optional flag and the return value. Slight redundancy in restating the enableProjectTool flag name and its UI-default comparison, but nothing wasteful.

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 simple four-parameter creation tool with full schema coverage and complete annotations, the description covers inputs, the one non-obvious flag, and the return value (no output schema exists, so naming the returned id matters). It omits error/failure behavior and whether duplicate names are permitted, which keeps it below a 5.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3. The description still adds meaning by characterising description as 'system-style role instructions' and linking enableProjectTool to prompt_agent's ability to change projects, which is the cross-tool consequence an agent needs.

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

Purpose4/5

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

States a specific verb and resource ('Create an AI agent in a space') and closes with the return value ('Returns the new agent id'). The create vs. get/update/list/delete distinction follows from the sibling names, but the description never explicitly disambiguates from update_agent or prompt_agent, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage guidance exists but is parameter-level rather than tool-level: it says to pass enableProjectTool: true to get project read/write, and frames this against the Taskade UI default. There is no explicit when-not-to-use or comparison to update_agent/prompt_agent, so an agent must infer the lifecycle decision itself.

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.