Skip to main content
Glama

vm_delete_snapshot

Destructive

Permanently delete a VM snapshot to free disk space by consolidating its delta disk into the parent. Irreversible action that does not affect current VM state.

Instructions

[WRITE] Permanently delete a named snapshot, consolidating its delta disk into the parent.

Frees disk space and does NOT change the VM's current state (unlike vm_revert_snapshot, which discards changes since the snapshot). Works while the VM is powered on. Run vm_list_snapshots first for exact names — unknown names return the available list. Irreversible: confirm with the user before calling. Audited to ~/.vmware/audit.db.

Args: vm_name: Exact name of the VM owning the snapshot. snapshot_name: Exact snapshot name from vm_list_snapshots output. remove_children: False (default) = children are kept and consolidated; True = delete the entire snapshot subtree below this one as well. target: vCenter/ESXi target name from config.yaml; omit to use the default target.

Returns: Status string confirming deletion, or a not-found message listing available snapshots.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_nameYes
snapshot_nameYes
remove_childrenNo
targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate destructive and non-read-only behavior. The description adds concrete details: consolidates delta disk, works while VM is powered on, irreversible, audited to audit.db, and does not change current VM state. No contradictions with annotations.

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?

The description is front-loaded with the action label and core effect, then contrasts with sibling, gives usage tips, warnings, and parameter details in a structured Args list. Every sentence adds value with no redundancy.

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?

Given the tool's complexity (destructive, multi-parameter, output schema exists), the description covers behavior, preconditions, side effects, safety, parameter details, and return format. It is fully self-contained and requires no external references.

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 has 0% description coverage, so description carries full burden. It provides detailed meaning for all 4 parameters: vm_name (exact name), snapshot_name (exact from vm_list_snapshots), remove_children (default false, meaning kept/consolidated, true deletes subtree), target (optional). Every parameter is clearly explained.

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?

The description clearly states the tool deletes a named snapshot permanently and consolidates its delta disk. It distinguishes itself from vm_revert_snapshot by noting it does not change the VM's current state. The purpose is specific and unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit guidance: use to permanently delete a snapshot, run vm_list_snapshots first for exact names, warns about irreversibility and need for user confirmation, and contrasts with vm_revert_snapshot. Alternative methods and prerequisites are fully covered.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zw008/vmware-aiops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server