Skip to main content
Glama
pebblehost-mcp
by numycode

Restore a backup

restore_backup
Destructive

Replaces a hosted Minecraft server's current files with a selected backup; changes made since that backup are lost. Create a backup first if current data must be preserved.

Instructions

DESTRUCTIVE: replaces the server's current files with the backup; changes since the backup are lost. Consider create_backup first. If list_backups shows a restore fee, set accept_restore_fee only after the user agrees to pay it.

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": {
      "backup": "<backup>"
    },
    "name": "restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupYesBackup UUID (or numeric ID) from list_backups.
serverNoServer identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set.
accept_restore_feeNoMust be true to restore a backup that has a restore fee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, so the description's job is to add detail — and it does: exactly what is overwritten, that post-backup changes are unrecoverable, and that a fee may gate the restore and requires explicit user agreement. That is concrete behavioral context beyond the structured fields.

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?

Three short sentences, front-loaded with the DESTRUCTIVE warning, then prerequisites, then the fee condition. No filler or restated name.

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?

Covers destruction scope, suggested prior action, and fee gating — enough for an agent to decide and call safely. Minor omission: no note on what happens to the server state during/after restore (e.g. restart), though no output schema exists to explain results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds ordering semantics the schema does not convey: accept_restore_fee should be set only after the user has agreed to the fee, and only when list_backups indicates one exists.

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 effect: 'replaces the server's current files with the backup'. That is far more informative than the name/title. It does not explicitly distinguish itself from the sibling restore_files, so it stops short of a 5.

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 clear pre-use guidance: consider create_backup first, and check list_backups for a restore fee, setting accept_restore_fee only after user consent. It lacks an explicit 'do not use when…' clause or a direct comparison to restore_files.

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