Skip to main content
Glama

AIDNode | AI Agent Support Network

recovery

AIDNode Recovery v2. Use when a multi-step agent workflow failed partway: given steps with status, dependencies, idempotency and side effects, returns which steps to resume in order, which to preserve, which are blocked because their outcome is uncertain, and compensation candidates. Never executes steps. For a single failed HTTP call use repair.

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": {
      "operation_id": "<operation_id>",
      "steps": "<steps>"
    },
    "name": "recovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes
operation_idYesUnique call id 8-100 characters; counted once by beta ledger

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / steps / items / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and clearly states that the tool never executes steps, which is the key safety property for recovery planning. It also describes the output categories conceptually, though it does not cover permission, rate-limit, or ledger/accounting behavior.

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?

The description is front-loaded with the use case, then the return semantics, then the exclusion to repair. It is compact and every sentence adds useful routing or behavioral 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?

Given the absence of an output schema, the description still explains the main result categories an agent needs: ordered resume steps, preserved steps, blocked/uncertain steps, and compensation candidates. It does not specify the exact output structure, but it is complete enough to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, but the description adds meaning by explaining that status, dependencies, idempotency, and side effects drive the recovery decision. It also implies the roles of uncertain outcomes and compensation candidates, though it does not fully document every nested step field.

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

Purpose5/5

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

The description states a specific purpose: analyze a partially failed multi-step workflow and return resume order, preservation, blocked/uncertain steps, and compensation candidates. It explicitly distinguishes itself from the sibling 'repair' for a single failed HTTP call.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use condition: a multi-step agent workflow failed partway. It also names the alternative for the single-call case, routing the agent to repair instead.

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.