Skip to main content
Glama

Provision agent

provision_agent

One-shot, idempotent agent setup by name — creates the agent if it doesn't exist (or marks an existing draft agent as provisioned), optionally grants it access to brains.

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": "provision_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorNo
brain_idsNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

Beyond the annotations it discloses genuinely useful behavior: the draft-to-provisioned transition and the optional brain access grant. But it explicitly claims the operation is 'idempotent' while the annotations declare idempotentHint=false, a direct conflict on the exact property a caller would use to decide whether retries are safe.

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?

A single front-loaded sentence with the key qualifiers ('one-shot', 'by name') up front and the conditional behavior in a parenthetical; no filler. Slightly dense stacking of adjectives, but nothing that could be cut without losing meaning.

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?

It covers the create-if-absent path and brain grants, but omits what happens when a non-draft agent with that name already exists (error, no-op, or update), what the call returns, and what `color`/`description` do — meaningful gaps for a 4-parameter mutating tool with no output schema.

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 description coverage is 0%, so the description carries the full burden. It conveys that `name` is the keying identifier and that `brain_ids` grants brain access (and is optional), but `color` and `description` are never mentioned and no formats are given, leaving half the parameters undocumented anywhere.

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?

The description gives a specific verb and resource ('agent setup by name') and, more importantly, describes the upsert semantics — create if absent, otherwise mark an existing draft as provisioned. That behavior implicitly separates it from create_agent and update_agent, though neither sibling is named explicitly, which keeps it short of a full 5.

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?

'One-shot' and 'creates the agent if it doesn't exist' imply the intended situation: pre-call this to guarantee the agent exists rather than checking first. However, there is no explicit when-not guidance and no routing to create_agent/update_agent, so an agent must infer the choice from the sibling names alone.

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