Skip to main content
Glama

create_agent

Create a new agent under your operator account. Returns the agent API key.

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 for the agent
descriptionNoOptional description
budget_limit_satsNoOptional spending limit in sats

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent create with no open-world access. The description adds value beyond that by disclosing the concrete outcome, "Returns the agent API key," which signals a credential is exposed at creation time — useful behavior an agent would not otherwise know. It stops short of saying whether that key is retrievable again later or how budget_limit_sats is enforced.

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?

Two short sentences, zero waste. The core action is front-loaded and the return value follows immediately, which is exactly the order an agent needs.

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 three-parameter create tool with no output schema, the description covers the essentials: what is created, whose account it belongs to, and what comes back (the API key). Gaps remain around side effects and post-creation management, but nothing required to invoke it correctly 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 description coverage is 100%, so all three parameters (name, description, budget_limit_sats) are already documented with types and the minimum bound on budget. The description adds no extra semantics such as name uniqueness constraints or whether the budget can be changed after creation; baseline 3 applies when the schema carries this load.

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 a new agent") plus the owning scope ("under your operator account") and the return value. An agent can tell this apart from lifecycle siblings like deactivate_agent or fund_agent, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or prerequisite guidance is given. The only contextual hint is "under your operator account," which implies an operator credential is required but never says so, and no alternatives (e.g., how to later fund or remove the agent) are referenced.

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.