Skip to main content
Glama

Agent Recovery Plan

recovery_plan

Read-only

Get a recovery plan for an agent that lost its host, runtime or memory. Returns ordered steps, one acceptance test and the estimated hands-on time.

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": {
      "need": "<need>"
    },
    "name": "recovery_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesWhat has to be recovered.
blocked_onNoThe exact error, if any.

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?

Annotations declare readOnlyHint=true and openWorldHint=false, and the description still adds value by disclosing the output shape: ordered steps, exactly one acceptance test, and an estimated hands-on time. It does not say whether plans are persisted or whether a returned plan must later be submitted via submit_plan, which is the main remaining behavioral gap.

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?

Two sentences, front-loaded with the action and its trigger, then the expected return. No filler or restated title text.

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 read-only, two-parameter tool with no output schema, the description covers purpose, trigger and return contents adequately. The missing piece is the relationship to submit_plan (does the produced plan need to be submitted?) and any determinism/idempotency notes.

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 100% with a documented enum on `need` and a description for `blocked_on`, so the schema carries parameter meaning. The description adds no extra guidance on which need value to pick or how `blocked_on` changes the plan, leaving this at baseline.

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 ("Get a recovery plan") plus the triggering condition (agent lost host, runtime or memory), and previews the return content. It does not distinguish itself from siblings like recovery_terms, which sounds adjacent, so it stops short of a 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?

Usage is implied by the failure scenario in the first sentence, but there is no explicit "use this when / not when" and no routing to alternatives such as recovery_terms or submit_plan, which an agent may plausibly confuse with this tool.

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.