Skip to main content
Glama

delete_snapshot

Permanently deletes a VM snapshot by UUID or Xen Orchestra object ID; use it for irreversible snapshot removal when cleanup is required.

Instructions

Delete a VM snapshot by its UUID or Xen Orchestra object ID. This action is irreversible.

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": {
      "snapshot_id": "<snapshot_id>"
    },
    "name": "delete_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
snapshot_idYesSnapshot VDI UUID or Xen Orchestra object ID. Get this from list_snapshots.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the single most important trait: the action is irreversible. It does not mention required permissions, whether the snapshot or VM must be in a particular power state, or what happens if the ID is stale — gaps that matter for a destructive one-shot call.

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?

Two short sentences, front-loaded with the action and resource and followed immediately by the irreversibility warning. Every clause carries information and nothing is padded.

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

Completeness3/5

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

For a one-parameter destructive tool with no annotations and no output schema, the definition covers the essentials of what it does and that it cannot be undone. However, an agent calling a destructive operation with zero annotation coverage would benefit from permission prerequisites and failure behavior, which are absent.

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% and the sole parameter already documents both accepted ID forms and where to obtain them. The description restates "UUID or Xen Orchestra object ID" without adding syntax, format, or validation detail, so it adds no meaning beyond the schema — baseline 3 applies.

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 states a specific verb and resource ("Delete a VM snapshot") plus the identifier forms accepted, which clearly separates it from create_snapshot and revert_vm_to_snapshot. It stops short of naming an alternative explicitly, so it is clear but not sibling-differentiating in the way a 5 would require.

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 explicit when-to-use or when-not-to-use guidance, and no contrast with the closely related revert_vm_to_snapshot or create_snapshot siblings. The only steer is the word "irreversible," which implies caution but does not tell an agent how to choose between discarding a snapshot and reverting to one.

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