Skip to main content
Glama

snapshot_create

Destructive

Create a VM snapshot via Xen Orchestra and capture its ID so the action can be undone later.

Instructions

[WRITE][risk=medium] Snapshot a VM. Inverse: delete THAT snapshot.

The created snapshot's REAL id is captured from the XO response, so the
recorded undo (snapshot_delete) is replayable.

Args:
    vm_id: VM uuid to snapshot (see vm_list).
    name: Snapshot name (e.g. 'pre-change-2026-07-17').
    dry_run: If True, preview without snapshotting (no undo recorded).
    target: Xen Orchestra target name from config; omit for the default.

Input Schema

NameRequiredDescriptionDefault
nameYes
vm_idYes
targetNo
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag readOnly=false, idempotent=false, destructive=true, but the description goes further by disclosing the undo-recording mechanism (real snapshot id captured from the XO response so snapshot_delete is replayable) and the dry_run no-undo behavior. This is meaningful behavioral detail an agent cannot get from structured fields.

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?

Front-loaded with the operation class and inverse, then undo semantics, then a tidy Args block. Every line earns its place, though the tag line and inverse line overlap slightly with the write framing.

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

Completeness5/5

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

For a non-idempotent write tool with no output schema, the description supplies operation class, inverse routing, undo mechanics, dry-run behavior, and full parameter meaning. Nothing required to call it correctly is missing.

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 description coverage is 0%, so the description carries the full burden and does so for all four params: vm_id (uuid, see vm_list), name (with example format), dry_run (preview without snapshotting, no undo recorded), and target (XO target from config, omit for default). No parameter is left ambiguous.

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+resource ('Snapshot a VM') and immediately names its inverse (delete THAT snapshot), which cleanly separates it from siblings snapshot_delete, snapshot_revert, and snapshot_list. The [WRITE][risk=medium] tag adds an at-a-glance operation class.

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

Usage Guidelines4/5

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

Gives clear operational context: the inverse operation is snapshot_delete and the undo is recorded and replayable. It cross-references vm_list for obtaining vm_id. It stops short of stating explicit when-not conditions (e.g. when to prefer snapshot_revert), so it is strong but not fully complete.

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