Skip to main content
Glama

revert_to_snapshot

Restore a VMware VM to a named snapshot, discarding its current unsaved state; use confirm to approve the rollback.

Instructions

Revert a VM back to a named snapshot (discards unsaved current state).

Args: vm: VM name, substring, or full .vmx path. name: Exact snapshot name to revert to. confirm: Must be True to confirm discarding current VM state.

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": {
      "vm": "<vm>",
      "name": "<name>"
    },
    "name": "revert_to_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
nameYes
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does the important part well: it discloses that current unsaved state is destroyed and that confirm=True is a required safety gate. It stops short of stating irreversibility, required permissions, or VM power-state constraints, which matters for a destructive mutation.

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?

The core behavior and its destructive consequence are front-loaded in one sentence, followed by a compact Args list. The confirm semantics are stated twice (parenthetical plus Args entry), a minor redundancy but not wasteful.

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?

An output schema exists, so return values need no explanation, and the description covers the destructive nature, the confirmation gate, and all parameters. The main remaining gap is the missing precondition about VM power state or snapshot existence before a revert is valid.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: vm accepts a name, a substring, or a full .vmx path (behavior not inferable from a plain string type), name must be an exact snapshot name, and confirm is the explicit acknowledgement of state loss. All three parameters gain meaning beyond the schema.

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?

States a specific verb and resource ('Revert a VM back to a named snapshot') and immediately adds the consequence ('discards unsaved current state'). This clearly separates it from siblings like create_snapshot, delete_snapshot, and list_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?

Usage is implied by the action itself — you call it when you want a VM restored to an existing snapshot — but the description never states prerequisites such as the snapshot needing to exist or whether the VM must be powered off, and it names no alternatives or exclusions.

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