Skip to main content
Glama

snapshot_management

Create, restore, delete, and list VirtualBox VM snapshots to preserve system states and roll back changes when needed.

Instructions

Comprehensive snapshot management portmanteau tool.

Consolidates all VM snapshot operations into a single interface. All actions require vm_name; create/restore/delete also require snapshot_name.

Return Format

Dict with success (bool), human-readable message, the action performed, vm_name, snapshot_name, and operation data. Failures carry a human-readable error.

Examples

await snapshot_management(action="list", vm_name="MyVM")
await snapshot_management(action="create", vm_name="MyVM", snapshot_name="BeforeUpdate", description="Before system update")
await snapshot_management(action="restore", vm_name="MyVM", snapshot_name="BeforeUpdate")
await snapshot_management(action="delete", vm_name="MyVM", snapshot_name="BeforeUpdate")

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": {
      "action": "<action>",
      "vm_name": "<vm_name>"
    },
    "name": "snapshot_management"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items for list.
actionYesSnapshot operation to perform.
offsetNoOffset for list pagination.
vm_nameYesVirtual machine name (all actions).
descriptionNoOptional description (create only).
snapshot_nameNoSnapshot name (create, restore, delete).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the return shape (success, message, action, vm_name, snapshot_name, operation data, error), which is genuinely useful. But it says nothing about the destructive/irreversible nature of delete and restore, permission requirements, or what happens to current VM state on restore — significant omissions for a tool with two destructive actions.

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 core statement, then return format, then examples — a sensible order. The examples are useful and compact. Minor waste in jargon phrasing ('portmanteau tool', 'Comprehensive ... tool') and a return-format block that duplicates the available output schema.

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?

For a four-action dispatcher with a fully described schema and an output schema, the definition covers operations, per-action parameter requirements, and example invocations. The main gap is safety context around restore and delete, which matters given zero annotations.

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 coverage is 100%, and the schema itself already states which parameters belong to which actions ('create only', 'create, restore, delete'), so the description's cross-action mapping is largely redundant. It adds no format or behavioral nuance for limit/offset pagination or the description field.

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 resource (VM snapshots) and enumerates the four concrete operations via the action description (list/create/restore/delete), plus the example block. It is clearly distinguishable from siblings like vm_management or storage_management by name and scope, though it never explicitly says how it relates to them.

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?

The conditional requirements ('all actions require vm_name; create/restore/delete also require snapshot_name') and the four examples imply when each action is used. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites (VM powered off?), and no steering toward siblings such as vm_management for non-snapshot VM tasks.

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