Skip to main content
Glama
StreamPilot
by nulldk

plan_restore_change

Preview reverting to the state before a change so you can verify history before restoring.

Instructions

Preview reverting to the state before a change in history.

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": {
      "change_id": "<change_id>"
    },
    "name": "plan_restore_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so safety is partly covered. The description's claim of a 'preview' adds useful context that the underlying change is not actually applied, but it never clarifies whether a plan artifact is persisted (which would explain readOnlyHint=false) or what the agent must do next to act on the preview.

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?

A single front-loaded sentence with no wasted words. It is efficient, though the terseness contributes to the under-specification noted elsewhere.

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?

With one required parameter at 0% schema coverage, no sibling routing, and no statement of the preview-to-apply workflow, the definition leaves out what an agent needs to call this confidently. The presence of an output schema excuses explaining return values, but not the missing workflow and parameter context.

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?

Schema description coverage is 0%, so the description must carry the burden for change_id. The phrase 'a change in history' loosely implies change_id identifies a historical change, but there is no information on its format or how to obtain it, leaving the single required parameter essentially undocumented.

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

Purpose3/5

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

The description names a verb (preview reverting) and an implied resource (state before a change in history), so the general intent is graspable. However, 'a change in history' is vague about which history and what kind of change, and nothing distinguishes it from sibling planning tools such as plan_restore_nuvio_backup, plan_restore_snapshot, or apply_plan.

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 explicit when-to-use guidance. The word 'preview' hints that this precedes an actual revert (presumably via apply_plan), but the description never states that relationship, nor when to choose a snapshot/backup restore plan instead.

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