Skip to main content
Glama
mac-doctor-mcp
by bmdy6

recover

Destructive

Finishes an interrupted apply or rollback by restoring moved items, resolving interrupted file changes so cleanup can be completed or undone.

Instructions

CHANGES FILES (可回滚 / restores interrupted moves). Finishes an apply or rollback that was interrupted, by restoring items.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "recover"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the capitalized 'CHANGES FILES' is consistent with that. The description adds that restoration is the mechanism, but does not disclose what existing data may be overwritten, whether the interrupted operation's state is required, or what happens if there is nothing to recover — meaningful gaps for a destructive zero-parameter tool.

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 short sentences with the destructive warning front-loaded. The bilingual gloss '可回滚 / restores interrupted moves' is the one piece of noise — the Chinese term suggests rollback-ability rather than recovery and adds confusion rather than information.

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

Completeness3/5

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

For a zero-parameter, no-output-schema tool the description covers the core case, but it leaves an agent guessing how state is determined without inputs (which interrupted operation is recovered, how it is located) and what the result looks like. Enough to call it, not enough to call it confidently.

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?

The tool takes no parameters, so there is no parameter meaning for the description to carry. Baseline 4 applies; nothing is missing at the schema level that prose could supply.

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 outcome: it finishes an interrupted apply or rollback by restoring items. The Chinese gloss '可回滚' ("rollback-capable") is confusing next to 'restores interrupted moves' and the sibling named 'rollback', but the second sentence resolves the ambiguity well enough to identify the tool.

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?

It states the triggering condition clearly: use it when an apply or rollback was interrupted. It does not say what to do when nothing was interrupted, nor does it explicitly distinguish this from calling 'rollback' or 'apply_plan' again to resume.

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