Skip to main content
Glama

revert_to_vm_snapshot

Reverts a CloudStack virtual machine to a specified snapshot ID, restoring its previous state for rollback or recovery.

Instructions

Revert a VM to a previous snapshot

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": {
      "vmsnapshotid": "<vmsnapshotid>"
    },
    "name": "revert_to_vm_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmsnapshotidYesVM snapshot ID

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 behavioral burden. It does not disclose that reverting discards the VM's current disk state (a destructive, hard-to-undo operation), nor whether permissions, power state, or confirmation are required, nor what the call returns.

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?

One short, front-loaded sentence with zero filler. It is efficient, though the brevity reflects under-specification rather than disciplined concision of otherwise complete content.

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?

For a destructive mutation with no annotations, no output schema, and a similar sibling tool, the description should explain irreversibility, power-state requirements, and the distinction from revert_snapshot. None of that is present, so an agent cannot call it confidently in ambiguous situations.

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?

There is a single required parameter, vmsnapshotid, and the schema already describes it at 100% coverage as "VM snapshot ID". The description adds no further meaning (e.g., where to obtain the ID, whether it accepts names), so the schema does all the work and a baseline 3 is appropriate.

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 ("Revert") and resource ("a VM to a previous snapshot"), so an agent can tell what the tool does. However, it offers no differentiation from the near-identical sibling "revert_snapshot" also present in the catalog, leaving the agent to guess which revert tool applies.

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 tool versus the sibling revert_snapshot/delete_vm_snapshot/create_vm_snapshot, and no prerequisites such as whether the VM must be powered off or stopped first. The only usage signal is the implicit one carried by the verb itself.

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