Skip to main content
Glama

swarm_approve

Grants owner approval for one exact plan hash, but only when the owner has enabled mcp.allow_approval in the configuration. Clients cannot enable this setting themselves.

Instructions

Owner approval for one exact plan hash. REFUSED unless the owner set mcp.allow_approval=true in the config. There is no way for an MCP client to enable this itself.

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": {
      "ref": "<ref>"
    },
    "name": "swarm_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers the most important behavioral fact: the call is REFUSED unless an owner-side config flag is set, and an MCP client cannot self-enable it. It does not disclose whether approvals expire, are single-use, or what happens on success, but the gating behavior is unusually well surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, zero filler, with the core action first and the blocking constraint immediately after. Nothing could be removed without losing information.

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

Completeness4/5

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

For a one-parameter, no-output-schema approval tool, the description covers the action and the critical permission gate. Gaps remain around what approval actually authorizes and whether it is one-shot, but the essentials for calling it correctly are present.

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 0%, so the description must compensate; "one exact plan hash" does tell the agent that `ref` identifies a specific plan and must match exactly. It stops short of giving the hash format or how to obtain the hash, leaving the single parameter only partially explained.

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: owner approval bound to one exact plan hash. That is clearly distinct from siblings like swarm_execute and swarm_plan_show, though it never states that approval is what unlocks execution, leaving the effect of the action implicit.

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?

Gives a hard precondition (owner must have set mcp.allow_approval=true), which is useful gating context, but offers no explicit when-to-use guidance relative to swarm_execute or how approval relates to the plan lifecycle. The reader can infer usage but is not routed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.