Skip to main content
Glama

restore_wallet_version

Destructive

Replace the contents of target.draftId with an accessible saved version. Supply version. Does not publish.

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": {
      "target": "<target>"
    },
    "name": "restore_wallet_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo
targetYes
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and non-idempotence, so the overwrite risk is covered by structured data. The description adds genuinely new behavior: the operation does not publish, so the live artifact is untouched, and the source version must be 'accessible'. It does not say what happens to the draft's existing version history or unsaved edits.

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?

Three short, front-loaded sentences with no filler; the non-publishing constraint gets its own sentence. 'Supply version.' is telegraphic and slightly clipped, but nothing is wasted.

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 destructive restore with a nested target object supporting page/email/wallet kinds, the description speaks only of draftId and never explains 'source' or how non-draft targets behave. Annotations and the schema cover the safety profile, so the remaining gap is moderate rather than severe.

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 parameter meaning. It explains target.draftId and that a version must be supplied, but the required top-level 'source' parameter is never mentioned at all, leaving an agent to guess what it expects.

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?

Names a specific verb and resource: replacing the contents of target.draftId with a saved version, and clarifies it does not publish. An agent can distinguish this from save_wallet_version because the direction of data flow is stated (saved version -> draft), though no sibling is named explicitly.

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?

Implied usage is clear (restore an existing saved version into a draft, then presumably publish separately, since 'Does not publish' is stated). However, there is no explicit guidance on when to prefer this over edit_wallet_document or replace_wallet_document, and no stated prerequisite that the version must already be accessible.

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.