Skip to main content
Glama

restore_backup

Destructive

Restore a server backup using server ID and backup UUID; optionally delete existing files first with truncate=true, requiring confirm=true.

Instructions

Restore a server backup. Setting truncate=true wipes all existing server files before restoring and requires confirm=true.

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_uuid": "<backup_uuid>"
    },
    "name": "restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoRequired to be true when truncate=true to confirm wiping existing files
truncateNoDelete all existing files before restoring (default false)
server_idYesShort server identifier
backup_uuidYesBackup UUID to restore

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds real value on top: it names exactly what gets destroyed ('wipes all existing server files') and the confirmation gate that guards it. It leaves one meaningful gap: what happens to existing files when truncate is left false (merge, overwrite, or fail).

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?

Two sentences, zero waste, with the identity of the operation front-loaded and the dangerous branch immediately after. Nothing is padded or repeated.

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 mutation with no output schema, the definition covers the hazard and its guard, which is the critical information. It falls short of complete because the default non-truncating restore semantics and any reversibility/snapshot behavior remain unstated.

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 100%, so the schema already documents all four parameters, including the truncate/confirm dependency. The description restates that dependency rather than adding new meaning such as format, partial-restore, or validation behavior.

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 specific verb and resource: 'Restore a server backup.' It is clearly distinct from backup-management siblings like create_backup and delete_backup, though it does not explicitly contrast itself with them.

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?

The description gives conditional guidance for the destructive branch (truncate=true requires confirm=true) but never says when to prefer this tool over alternatives or what preconditions apply to a normal, non-truncating restore.

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