Skip to main content
Glama

explain_plan

Explains a UCR plan as client-neutral JSON so AI agents can interpret plan steps and reuse them across clients.

Instructions

Explain a UCR plan in client-neutral JSON.

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": {
      "plan_json": "<plan_json>"
    },
    "name": "explain_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_jsonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and provides almost none. "Explain" implies a read-only, side-effect-free operation, but that is inference rather than disclosure, and nothing is said about whether the plan must be valid, what errors look like, or what "client-neutral" removes from the output.

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

Conciseness3/5

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

It is a single front-loaded sentence with no wasted words, which is structurally sound. However, the brevity comes at the cost of specification rather than being earned economy.

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?

An output schema exists, so return values need not be explained, but the definition leaves the input format, the meaning of "UCR," and the read-only nature unresolved. For a tool whose whole job is transforming an opaque JSON blob into an explanation, that is a substantial gap.

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?

The single parameter plan_json has 0% schema description coverage; the schema only says it is a string. The description does not state that the string must be serialized plan JSON, nor anything about its expected structure or format, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Explain a UCR plan" essentially restates the tool name and leans on an undefined acronym (UCR) that an agent cannot decode from the definition. "Client-neutral JSON" hints at the output shape but does not clarify what an explanation consists of, and the sibling execute_plan is never differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to choose explain_plan versus execute_plan or the many other siblings. The only implicit signal is that this is a non-executing inspection step, which the agent must infer from the verb alone.

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