Skip to main content
Glama

restore_backup

Restores a virtual machine from a specified backup, letting you recover VM data to a target VM ID after failure or data loss.

Instructions

Restore a VM from a backup

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

Input Schema

NameRequiredDescriptionDefault
idYesBackup ID
virtualmachineidYesVM ID to restore to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of disclosure and it discloses almost nothing. For a destructive restore operation, it says nothing about whether the target VM's current disk/data is overwritten, whether the VM must be stopped, what permissions are needed, or whether the operation is long-running or reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single seven-word sentence with the action and both operands front-loaded and zero filler. It is efficient rather than padded, though the terseness is also the source of the definition's information gaps.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description is the only source of behavioral information for a state-mutating restore, and it provides none of it. Two well-documented parameters keep the schema side adequate, but an agent still cannot tell whether this call will destroy existing VM data or how it differs from its sibling.

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%, with both 'id' (Backup ID) and 'virtualmachineid' (VM ID to restore to) fully documented in the schema itself. The description's phrase 'from a backup ... VM' loosely maps to the two parameters but adds no format, cross-reference, or constraint detail beyond the schema, so the baseline 3 holds.

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 pairs a specific verb ('Restore') with concrete resources ('a VM', 'from a backup'), so the action is unambiguous. It does not, however, distinguish itself from the sibling restore_virtual_machine, leaving an agent with two apparently overlapping restore operations to choose between.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus restore_virtual_machine, no stated preconditions (e.g. backup must exist, VM powered off), and no mention of what happens to existing VM state. The agent is left to infer all of this from the name alone.

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