Skip to main content
Glama

create_agent

Destructive

Create a personal agent for a user. Required: name. Optional: description, color (UI accent), user_id (defaults to caller), trigger_mode ("mcp_client" default — runs only while an MCP client drives it — or "server_job": the server triggers it on a schedule), run_every_minutes (the cadence a server_job needs), and the profile: persona, values (the agent's rules), autonomy (autonomous|approval|read_only, default approval), fast_model, deliberate_model. Fields it does not know (slug, tool_permissions, brains, seed_*) are REJECTED with a hint instead of being dropped — tool permissions, brains and seed knowledge/skills come from provision_agent. Returns { agent_id, profile_fields }.

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": {
      "name": "<name>"
    },
    "name": "create_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the agent
colorNoColour (e.g. hex code)
run_toNoLatest local time of day, e.g. 20:00
valuesNoThe agent's rules (shown as identity.values in get_agent_bootstrap)
personaNoWho the agent is, in its own words
user_idNoID of the user
autonomyNoHow freely the agent acts: autonomous, approval (default) or read_only
run_daysNoISO weekdays 1=Mon .. 7=Sun
run_fromNoEarliest local time of day, e.g. 08:00
timezoneNoIANA zone the agent works in
fast_modelNoModel for quick, routine steps of this agent
descriptionNoDescription of the agent
trigger_modeNoWho runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule)
deliberate_modelNoModel for slower, more careful reasoning steps of this agent
run_every_minutesNoRun cadence in minutes for server_job agents, e.g. 1440 for daily

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / autonomy / description
      Added value: +"How freely the agent acts: autonomous, approval (default) or read_only"
    • addedInput schema / properties / color / description
      Added value: +"Colour (e.g. hex code)"
    • addedInput schema / properties / deliberate_model / description
      Added value: +"Model for slower, more careful reasoning steps of this agent"
    • addedInput schema / properties / description / description
      Added value: +"Description of the agent"
    • addedInput schema / properties / fast_model / description
      Added value: +"Model for quick, routine steps of this agent"
    • addedInput schema / properties / name / description
      Added value: +"Name of the agent"
    • addedInput schema / properties / run_every_minutes / description
      Added value: +"Run cadence in minutes for server_job agents, e.g. 1440 for daily"
    • addedInput schema / properties / trigger_mode / description
      Added value: +"Who runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule)"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and non-idempotency, so the safety profile is covered. The description still adds real behavior the annotations do not carry: unknown fields (slug, tool_permissions, brains, seed_*) are rejected with a hint rather than silently dropped, defaults are stated, and the return shape { agent_id, profile_fields } is disclosed. It does not explain why the call is flagged destructive or what exactly is created/irreversible.

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?

Front-loads the core action in one sentence and packs required/optional/defaults/rejection/return into a compact block with no filler. It is dense and slightly run-on with nested parentheses, but nothing is redundant.

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 15-parameter creation tool with no output schema, the description covers required fields, defaults, the enum semantics of trigger_mode and autonomy, the rejection behavior, and the return shape. The remaining gap is what the destructive flag means concretely and no note on permissions needed to create an agent.

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 description coverage is 100%, so the schema already documents every parameter, and much of the description's wording mirrors it closely (trigger_mode, autonomy default). It does add value by grouping fields under 'profile' and by calling out that slug/tool_permissions/brains/seed_* are not accepted and belong to provision_agent, but it omits any mention of run_days, run_from, run_to and timezone, so the baseline 3 applies.

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 ('Create a personal agent for a user') and immediately differentiates scope from the sibling provision_agent by declaring that tool permissions, brains and seed knowledge/skills come from there instead. An agent can tell this apart from provision_agent/update_agent without opening a schema.

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?

Explains the required vs optional split, names defaults for user_id and trigger_mode, and routes the agent to provision_agent for the fields this tool refuses. It stops short of an explicit 'do not use this to update an existing agent' exclusion, which would have made routing to update_agent unambiguous.

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.