Skip to main content
Glama

PrivateByte

Restore a snapshot

restore_snapshot
Destructive

ROLLS THE SERVER'S DISK BACK to a snapshot. Everything written since that snapshot is lost. Ask the person before calling this. confirm must repeat the server id. Needs a key with vm:destroy. The account owner is emailed.

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": {
      "server_id": "<server_id>",
      "snapshot_id": "<snapshot_id>",
      "confirm": "<confirm>"
    },
    "name": "restore_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesRepeat the server id
server_idYes
request_idNoAn id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action.
snapshot_idYesFrom list_snapshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it specifies the blast radius ('Everything written since that snapshot is lost'), a human-confirmation requirement, the required credential scope (vm:destroy), and the side effect that the account owner is emailed. These are exactly the operational facts an agent needs before committing an irreversible change.

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?

Extremely tight: the destructive action and its consequence lead, followed by consent, parameter constraint, permission, and side effect in short ordered sentences. Nearly every clause carries a decision-relevant fact.

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 four-parameter destructive tool with annotations and no output schema, this covers risk, consent, permissions, and notification. It does not say what happens to running services or how completion is signalled, a minor gap given annotations already flag destructiveness.

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 description coverage is 75% and the confirm parameter already documents 'Repeat the server id', so the description's 'confirm must repeat the server id' largely restates the schema. It adds no detail on snapshot_id or request_id idempotency, so it neither compensates for nor enriches the schema.

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 concrete verb and resource ('ROLLS THE SERVER'S DISK BACK to a snapshot') plus the immediate consequence of data loss, so the agent knows exactly what the operation does. It does not explicitly contrast itself with the sibling restore_backup, leaving the snapshot-vs-backup choice to inference.

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

Usage Guidelines4/5

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

Gives an explicit precondition — 'Ask the person before calling this' — which is real usage guidance for a destructive action. It does not name when to prefer restore_backup or create_snapshot instead, so the alternative-selection guidance is incomplete.

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.

Resources