Skip to main content
Glama

create_snapshot

Creates a snapshot of a VM, capturing its current disk and memory state for backup, baseline, or pre-upgrade rollback.

Instructions

Create a snapshot of a VM. The snapshot captures the current disk and memory 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_id": "<vm_id>",
      "name": "<name>"
    },
    "name": "create_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the snapshot (e.g., 'pre-upgrade-2026-02-27' or 'baseline')
vm_idYesVM UUID or Xen Orchestra object ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 entire burden of behavioral disclosure. It does add real context by saying the snapshot captures disk and memory state, but it omits whether the operation blocks, is reversible, requires elevated permissions, or how the VM is affected during capture.

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?

Two short, front-loaded sentences with no filler; the purpose comes first and the clarifying detail second. Nothing is redundant.

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 mutation tool with zero annotation coverage and no output schema, the description should cover side effects, prerequisites, and the return shape of the created snapshot. As written, an agent knows what it creates but not the operational constraints around doing so.

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%, with both vm_id and name documented including a naming example, so the schema does the heavy lifting. The description adds no extra meaning about the parameters, which is the baseline-3 case.

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?

States a specific verb and resource: "Create a snapshot of a VM," which clearly distinguishes it from delete_snapshot, revert_vm_to_snapshot, and list_snapshots. It does not name any sibling explicitly, so it falls short of the top band, but the action is unambiguous.

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?

The description offers no when-to-use guidance, no prerequisites (e.g., whether the VM must be powered on or whether memory snapshots need specific configuration), and no routing to alternatives such as revert or delete. Usage is only implied by the verb.

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