Skip to main content
Glama

restore_snapshot

Destructive

Restore a virtual machine to a saved snapshot, overwriting current disk state with the snapshot's contents.

Instructions

Восстановить ВМ из снапшота (vm/restore_snapshot). ДЕСТРУКТИВНО: текущее состояние диска ВМ будет перезаписано состоянием снапшота.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID виртуальной машины
nameYesИмя снапшота
confirmYesMust be true to run the operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds concrete behavioral context by stating that the VM's current disk state will be overwritten by the snapshot state. This goes beyond the bare annotation without contradicting it.

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 description is two short sentences with no filler. The destructive warning is front-loaded and the endpoint reference adds useful context without bloating the text.

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 restore operation, the description adequately covers the key side effect (disk overwrite), and all required parameters are documented in the schema. It lacks details about response behavior or prerequisites, but these are not critical given the annotations and complete schema.

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 the schema already explains id, name, and confirm. The tool description does not add additional parameter-level meaning, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: 'Восстановить ВМ из снапшота' (restore VM from snapshot). The verb/resource pairing is unique and clearly separates it from sibling snapshot tools like create_snapshot, remove_snapshot, and get_snapshots.

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 intended use is implied by the purpose: use this when a VM should be restored to a previous snapshot state. The destructive warning ('ДЕСТРУКТИВНО') gives cautionary context but the description does not explicitly mention alternatives or specify when not to use it.

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