Skip to main content
Glama

Provision agent

provision_agent

Create a full agent with its initial setup in one call: persona/values, brain access, tool permissions, and seed memory/skills/goals/todos/events. Idempotent by name — re-running the same spec updates the existing agent rather than duplicating it.

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>",
      "triggerMode": "<triggerMode>",
      "autonomy": "<autonomy>",
      "bootstrapTokenBudget": "<bootstrapTokenBudget>",
      "categories": "<categories>",
      "toolPermissions": "<toolPermissions>",
      "seedMemory": "<seedMemory>",
      "seedSkills": "<seedSkills>",
      "goals": "<goals>",
      "seedTodos": "<seedTodos>",
      "seedEvents": "<seedEvents>"
    },
    "name": "provision_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
goalsYes
valuesNo
personaNo
autonomyYesapproval
fastModelNo
seedTodosYes
categoriesYes
seedEventsYes
seedMemoryYes
seedSkillsYes
descriptionNo
triggerModeYesmcp_client
deliberateModelNo
toolPermissionsYes
bootstrapTokenBudgetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

The description explicitly asserts 'Idempotent by name — re-running the same spec updates the existing agent rather than duplicating it,' while the annotations declare idempotentHint=false, which tells an agent that repeated identical calls carry additional effect. That is a direct conflict on the single most retry-relevant semantic of a large provisioning mutation, and no other behavioral detail (permissions needed, partial failure behavior, what the re-run overwrites) is supplied.

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 tight sentences with no filler, and the composite scope is front-loaded before the idempotency caveat. The dense list of seed types is the most information-efficient way to convey the payload, though it reads as enumeration rather than prose.

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 16-parameter, 11-required composite mutation with no output schema and no descriptive schema annotations, the definition is thin: it never says what is returned (agent id? bootstrap payload?), what happens on a partial failure of one seed array, or how triggerMode/autonomy affect operation. The idempotency claim is also left unqualified relative to the annotations.

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 0% across 16 parameters (11 required), so the description carries the burden, and it does map loosely onto the payload areas (persona/values, brain access, tool permissions, seed memory/skills/goals/todos/events). However, it adds no format, default, or constraint meaning for the risky ones — triggerMode, autonomy, bootstrapTokenBudget minimum, brainSlug resolution, ISO timestamps — and 'brain access' does not clearly map to the categories/toolPermissions schema.

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 ('Create a full agent') and enumerates the composite payload it provisions (persona/values, brain access, tool permissions, seed memory/skills/goals/todos/events). The phrase 'in one call' implicitly distinguishes it from create_agent/update_agent by signaling a bundled bootstrap operation, though it never names those siblings explicitly.

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?

Usage is implied rather than stated: 'in one call' suggests reach for this instead of chaining create_agent + update_agent, and the idempotency note gives guidance for re-runs. But there is no explicit statement of when to prefer create_agent or update_agent, and no prerequisites (permissions, ordering, whether the agent must be triggered afterward) 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