Skip to main content
Glama

proxmox_restore_backup

Destructive

Restore vzdump/PBS backups into a target Proxmox VMID, with confirmation gates and destructive safeguards when overwriting an existing guest.

Instructions

Restore a vzdump/PBS backup into a VMID (POST /nodes/{node}/{type}/{vmid} with restore=1). Restoring to a new VMID is Tier-2 (confirm:true). Overwriting an EXISTING VMID wipes its disks and additionally requires force:true, destructive:true, and env PROXMOX_ENABLE_DESTRUCTIVE=1.

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": {
      "vmid": "<vmid>",
      "archive": "<archive>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeNoNode to restore on (defaults to first node for a new vmid).
poolNoResource pool to place the guest into.
typeNoGuest type. Inferred from the archive name when omitted.
vmidYesTarget VMID to restore into.
waitNoBlock until the task finishes and include its exit status in the result.
forceNoOverwrite an EXISTING vmid (wipes its disks). Requires the destructive gate.
uniqueNoQEMU: regenerate MAC addresses / UUID on restore.
archiveYesBackup archive volid or path, e.g. 'local:backup/vzdump-lxc-115-2026_01_01-00_00_00.tar.zst' or a PBS volid.
confirmYesMust be true to write. Tier-2 safe-write gate.
storageNoTarget storage for restored disks (defaults to the archive's).
destructiveNoRequired only when overwriting an existing vmid (force).
wait_timeoutNoMax seconds to wait when wait:true (default 120).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description goes further by disclosing the concrete consequence ('wipes its disks'), the exact confirmation flags required, and an environment-variable precondition that appears nowhere in structured fields. That is precisely the kind of context an agent needs before invoking a destructive write.

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 tight sentences: purpose and endpoint first, then the safe path, then the destructive path with escalating requirements. No filler, and the most dangerous information is front-loaded where an agent will see it.

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 12-parameter destructive mutation with no output schema, the description covers the critical risk surface well and the schema covers all parameter semantics. It says nothing about the asynchronous task behavior or what a wait:false invocation returns, which is a modest gap but not blocking for correct invocation.

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 100%, so every parameter is already documented in the schema, including force, confirm, and destructive. The description restates the confirm/force/destructive relationship and adds the env-var dependency, but adds little else beyond the schema's own parameter text, which is the expected baseline for full coverage.

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 description gives a specific verb+resource ('Restore a vzdump/PBS backup into a VMID') and even the underlying API endpoint, so the action is unambiguous. It does not explicitly name a sibling to contrast with (e.g., proxmox_run_backup for creating backups), but no listed sibling performs restores, so confusion risk is low.

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?

It clearly states the two operating modes and the gating each requires: new VMID is Tier-2 with confirm:true, while overwriting an existing VMID additionally needs force:true, destructive:true, and the PROXMOX_ENABLE_DESTRUCTIVE=1 env var. That is strong when-to-use-this-path guidance, though it doesn't address alternatives such as cloning or creating a fresh VM instead of restoring.

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

Deploy Server

Other Tools