Skip to main content
Glama

Create agent

create_agent

Register a new AI agent (minimal provisioning — persona/skills/goals come in later phases).

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
nameYes
descriptionNo
trigger_modeNoHow its loop is driven (default mcp_client).
category_slugsNoCategories to bind this agent to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/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, closed-world create. The description adds meaningful lifecycle context — that only minimal fields are set now and persona/skills/goals arrive later — but says nothing about what the call returns (e.g., the new agent identifier) or whether name must be unique.

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?

One sentence, verb-first, with the qualification in a parenthetical rather than a trailing clause. Nothing is wasted, though the parenthetical is slightly terse for the lifecycle distinction it carries.

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

Completeness2/5

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

For a creation tool with no output schema and half the parameters undocumented, the description should say what a successful call produces and what the caller must supply. Neither is covered, leaving an agent unable to plan the follow-up provisioning step concretely.

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

Parameters2/5

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

Schema coverage is only 50%: 'name' and 'description' have no descriptions at all, and the description text adds no meaning about any of the four parameters. It does not hint that 'name' is the only required field or how category_slugs binds categories.

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 ('Register a new AI agent') and adds scope: it is minimal provisioning, with persona/skills/goals handled in later phases. That scoping implicitly separates it from provision_agent/update_agent, though no sibling is named.

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?

The parenthetical implies this is the first step of a multi-phase lifecycle, so an agent can infer to call it before provisioning. There is no explicit when-not guidance or named alternative for the fuller configuration path.

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