Skip to main content
Glama

Create an AI agent

create_agent
DestructiveIdempotent

Create an agent using the existing plan limits. Schedule settings require owner confirmation. A Telegram bot/channel must be connected before activation. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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

Input Schema

NameRequiredDescriptionDefault
agentYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only flag this as a non-read-only, destructive, idempotent, open-world operation; the description goes well beyond them by disclosing the two-phase approval flow, that returns include awaiting_confirmation and an approval_url, and that nothing executes before owner approval. It also explains the idempotency contract (same request_id on retry). It does not explain what makes the call 'destructive' in practice or what happens if approval is denied or the payload is edited between attempts.

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?

Five compact sentences, front-loaded with the create action and constraints, then the return/approval mechanics. The approval idea is restated ('Schedule settings require owner confirmation' and 'No work starts before approval'), which is mild redundancy but serves emphasis in a high-risk flow.

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 destructive, open-world creation tool with no output schema, the description compensates by describing the response shape (awaiting_confirmation, approval_url) and the retry contract. Given a 15-field required nested object, it still leaves an agent guessing about field semantics and about failure modes after rejection, but nothing critical to invoking the call correctly is absent.

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 50% and the undocumented half is a 15-field nested agent object, so the description carries some burden. It adds real meaning for request_id (stable, reused on retries, never changed) and ties schedule fields to owner confirmation, but leaves the numerous nested fields such as mission, instructions, template_id, news_topic, and schedule_prompt entirely to the schema.

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 agent') and immediately scopes it with 'using the existing plan limits'. The approval/confirmation flow and the pre-activation Telegram requirement further pin down what this call actually does versus a simple insert. It does not name a sibling such as update_agent or activate_agent explicitly, so differentiation is implicit rather than stated.

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 concrete preconditions (plan limits, connected Telegram bot/channel, owner confirmation for schedules) and clear retry instructions (approve, then retry with the same request_id). What is missing is an explicit statement of when to prefer update_agent over create, or what to do if the agent already exists.

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.