Skip to main content
Glama
vmware-console-mcp

vmware-console-mcp

by zxrobin01

esxi_vm_destroy

Delete a virtual machine from ESXi, powering it off first when force is true. Use to remove VMs that are no longer needed.

Instructions

Delete a VM from ESXi (govc vm.destroy). Powers it off first when force=true.

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": {
      "alias": "<alias>",
      "vm": "<vm>"
    },
    "name": "esxi_vm_destroy"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
aliasYes
forceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the important behavioral trait that force=true powers the VM off before destroying it. However, it omits what happens when force is false and the VM is running (error vs. skip), whether disks/datastore files are removed, and whether the operation is irreversible or permission-gated.

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 tight sentences with the destructive action front-loaded and the force behavior immediately after. The parenthetical command reference is short and useful for disambiguating the tool's backend.

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 destructive tool with no annotations, no output schema, and zero parameter documentation, the description covers the core action and the force flag but not failure modes, side effects on storage, or what 'alias' refers to. It is adequate to avoid a wrong call, not adequate to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters, so the description must compensate. It only clarifies the semantics of 'force'; 'vm' and especially 'alias' (presumably the ESXi connection alias) are left entirely undocumented, leaving an agent guessing at the most load-bearing parameters.

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 ('Delete a VM from ESXi') and pins the backing command ('govc vm.destroy'), so an agent knows this is a real destruction operation rather than a registration or power action. It does not explicitly distinguish itself from the sibling vm_delete, leaving the ESXi-specific scope only weakly signaled.

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 purpose implies when to use it (permanent removal of a VM) and the force flag hints at the powered-on case, but there is no explicit guidance on when to prefer esxi_vm_power or vm_delete instead, and no stated preconditions such as the VM being powered off or unregistered.

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