Skip to main content
Glama

Provision agent

provision_agent

Create or update an agent with its full initial setup in one call (§1A.1): agent row + agent_profile + brains + brain access + tool permissions + seed memory/skills/goals/todos/events. Idempotent by (owner, name).

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
brainsNo[{ slug, name?, description?, create?, can_write? }]
valuesNo
personaNo
autonomyNoautonomous|approval|read_only
fast_modelNo
seed_goalsNo
seed_todosNo
descriptionNo
seed_eventsNo
seed_memoryNo
seed_skillsNo
trigger_modeNomcp_client|server_job (default mcp_client)
deliberate_modelNo
tool_permissionsNo[{ tool, permission, brain_slug? }]
bootstrap_token_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

The description does add real behavioral value beyond the annotations by listing all the side-effect rows created (memory, skills, goals, todos, events) and naming the idempotency key (owner, name). But that idempotency claim conflicts with the supplied annotation idempotentHint=false, leaving the agent unsure whether a repeat call duplicates seed records or overwrites them. It also never says whether seeds are replaced or appended on the update path.

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?

Two dense sentences, front-loaded with the verb and the payload inventory, with no filler. The inline section reference '(§1A.1)' is internal documentation noise that costs the calling agent nothing but earns no place in the description.

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?

For a 16-parameter mutation tool with no output schema, the definition covers the write surface but omits the behaviors that matter most: whether seeded collections merge or replace on update, what the call returns (agent id? created vs updated flag?), and any permission requirements. The annotations cover safety (not readOnly, not destructive, not openWorld) so that ground is already held, but the update-path semantics are a real gap.

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 only 25% across 16 parameters, so the description has to carry weight; it does partially compensate by naming the brains, tool_permissions, and five seed_* families. It says nothing about the meaning of values, persona, autonomy, fast_model, deliberate_model, trigger_mode, bootstrap_token_budget, or description, so roughly half the parameters remain unexplained by both schema and prose.

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 uses a specific verb pair and resource ('Create or update an agent') and enumerates exactly what the call builds: agent row, agent_profile, brains, brain access, tool permissions, and seed data. That scope statement distinguishes it from narrower siblings like create_agent or update_agent, but it never names or explicitly contrasts with them, so the differentiation is inferential 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 Guidelines3/5

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

The phrase 'full initial setup in one call' plus 'Idempotent by (owner, name)' implies this is the bulk/upsert path rather than the incremental one, which is useful guidance. However, there is no explicit statement of when to prefer this over create_agent/update_agent/clone_agent, and no preconditions or exclusions are given.

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