Skip to main content
Glama

agent_create

Create a dedicated agent record (#733/#734): model, tools, standing procedure, memory lens, focus and an optional spend cap. Needs org:admin; agent seats are refused. warnings lists tool patterns this deployment will not grant (shell, when the deployment has not turned it on).

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

Input Schema

NameRequiredDescriptionDefault
kindNospecialist (default) or service. The manager is seeded, not createdspecialist
slugYesAgent handle: agent-<label> or <label> (lowercase, dashes)
agentNoOverride agent attribution label
focusNoStanding strategic binding: objective_ids / key_result_ids / initiative_ids plus optional work_filter (#734)
modelNoRouter model id every run of this agent uses; omit for the default
budget_usdNoSpend cap in USD for this agent (decimal, "0" blocks every new run). Set it with budget_period, or omit both for no cap.
namespacesNoMemory lens containers (repo:/github:/project:). Narrows recall; not a private store (#734)
persona_mdNoPrivate standing brief for the agent's own prompt (#734)
mcp_serversNoExternal MCP servers this agent's runs may call (#1264): objects with name, url (https), optional tools (allowlist), secret (vault secret name, never a token) and enabled. Offered only when the run's tool allowlist grants them (all, mcp, or ext_<name>__*)
skill_slugsNoStanding skills this agent always brings (#734)
display_nameNoName people see; defaults to 'Agent <label>'
github_grantNoThis agent's GitHub grant (#1379): {repos: [owner/repo, ...], read, write, destructive}, each level off, auto or ask. Repos must be ones the org's GitHub App serves. Omit to keep the org default. Only a person can set it
budget_periodNoUTC window the cap resets on: day, week (Monday) or month
tool_patternsNoTool names or prefix* globs this agent's runs may bind. Narrows the deployment's allowlist, never widens it. Omit for the default. The result's warnings name any pattern this deployment will not grant, such as shell when the deployment has not turned shell on
playbook_slugsNoStanding playbooks used when a work item has no playbook_slug (#734)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tool_patterns / description
      Previous value: -"Tool names or prefix* globs this agent's runs may bind. Narrows the deployment's allowlist, never widens it. Omit for the default"New value: +"Tool names or prefix* globs this agent's runs may bind. Narrows the deployment's allowlist, never widens it. Omit for the default. The result's warnings name any pattern this deployment will not grant, such as shell when the deployment has not turned shell on"
  2. Changed1 schema field changed
    • addedInput schema / properties / github_grant
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "This agent's GitHub grant (#1379): {repos: [owner/repo, ...], read, write, destructive}, each level off, auto or ask. Repos must be ones the org's GitHub App serves. Omit to keep the org default. Only a person can set it"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / mcp_servers
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "External MCP servers this agent's runs may call (#1264): objects with name, url (https), optional tools (allowlist), secret (vault secret name, never a token) and enabled. Offered only when the run's tool allowlist grants them (all, mcp, or ext_<name>__*)"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / budget_period
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "day",
      +        "week",
      +        "month"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "UTC window the cap resets on: day, week (Monday) or month"
      +}
    • addedInput schema / properties / budget_usd
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Spend cap in USD for this agent (decimal, \"0\" blocks every new run). Set it with budget_period, or omit both for no cap."
      +}
  5. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full disclosure burden and does add real behavioral facts: the admin permission requirement, that agent-seat callers are refused, and that the result's warnings enumerate tool patterns the deployment will not grant. It stops short of failure modes such as an already-taken slug or whether creation triggers any run.

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 dense sentences, with the resource and its configurables front-loaded before the permission constraint and the warnings caveat. Internal issue references (#733/#734) are noise an agent cannot act on but do not bloat the text meaningfully.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and the permission requirement is a genuine addition. For a 15-parameter creation tool with zero annotations, though, the description never addresses idempotency, slug collisions, or whether mcp_servers/github_grant are available at create time versus only to a person.

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 100%, so every one of the 15 parameters — including budget_usd's "0" blocking rule and github_grant's person-only constraint — is already documented in the schema. The description's field list (model, tools, standing procedure, memory lens, focus, spend cap) only gestures at parameters the schema explains in far more detail.

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?

"Create a dedicated agent record" names a specific verb and resource, and the following clause enumerates what the record configures (model, tools, standing procedure, memory lens, focus, spend cap). The create-vs-update distinction is left implicit — agent_update is a sibling but is never named — so an agent must infer it from the name alone.

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 description gives a real precondition ("Needs org:admin; agent seats are refused") and, via the schema, notes the manager is seeded rather than created. It never states when to reach for this tool versus agent_update, memory_agent_ensure, or memorize flows, so routing guidance is only implied.

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.