Skip to main content
Glama

PrivateByte

Restore a backup

restore_backup
Destructive

OVERWRITES THE SERVER'S WHOLE DISK with a backup. Everything written since that backup is lost and the server is offline while it restores. 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>",
      "backup_id": "<backup_id>",
      "confirm": "<confirm>"
    },
    "name": "restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesRepeat the server id
backup_idYesFrom list_backups
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses the blast radius (whole disk), the data-loss window (everything since that backup), downtime (server offline during restore), the required permission scope (vm:destroy), and a side effect the agent could not otherwise predict (account owner is emailed). This is exactly the extra context annotations cannot convey.

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 warning is front-loaded in capitals, then each subsequent sentence delivers one distinct fact (data loss, downtime, human confirmation, confirm semantics, permission, notification) with no filler.

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 destructive 4-parameter tool with no output schema, the description covers consequences, downtime, auth, and human-approval requirements well. It stops short of stating whether a restore is irreversible once started or roughly how long the offline window lasts, which would matter for an agent planning around the call.

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 coverage is 75% and the schema already documents confirm ('Repeat the server id'), backup_id ('From list_backups'), and request_id (idempotency retry semantics). The description only reinforces the confirm constraint and adds nothing for server_id, which has no schema description, so it neither compensates for nor meaningfully extends the structured data.

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 first sentence states a concrete verb and resource with scope ('OVERWRITES THE SERVER'S WHOLE DISK with a backup'), and the backup/snapshot wording plus the schema's 'From list_backups' hint at the distinction from restore_snapshot. It does not name restore_snapshot explicitly, so the differentiation is implicit rather than stated.

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?

'Ask the person before calling this' gives a clear precondition for invocation, and the vm:destroy key requirement sets an access gate. However, it never says when to choose this over restore_snapshot or how to obtain backup_id beyond the schema's pointer to list_backups, leaving the alternative-selection decision to inference.

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