Skip to main content
Glama
vmware-skills

vmware-vdi

machine_remove

Destructive

Remove machines from a VMware Horizon pool after reviewing a safety preview. The first call shows the blast radius (machines, users, states); confirming the action deletes instant-clone VMs.

Instructions

[WRITE] Remove machine(s) from their pool — for instant clones this DELETES the backing VM.

A bare call returns blast_radius (machine ids, names, states, assigned users) and removes nothing; confirm=True removes. A machine whose state cannot be read is refused. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. Audited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoHorizon target from config.yaml; omit to use the default.
confirmNoFalse (default) returns the blast radius and changes nothing. True removes.
machine_idsYesMachine ids to remove (from machine_list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / confirm / description
      Previous value: -"False previews; True removes."New value: +"False (default) returns the blast radius and changes nothing. True removes."
  2. Changed4 schema fields changedv1.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / confirm / description
      Added value: +"False previews; True removes."
    • addedInput schema / properties / machine_ids / description
      Added value: +"Machine ids to remove (from machine_list)."
    • addedInput schema / properties / target / description
      Added value: +"Horizon target from config.yaml; omit to use the default."
  3. First observedv1.0.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds critical behavioral context: the two-phase confirm flow, the blast_radius return payload, refusal when a machine state cannot be read, and the 'Audited' note. It also explicitly warns about the irreversible deletion of backing VMs for instant clones. This goes well beyond the 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 compact and front-loaded: the destructive warning comes first, then the two-phase behavior, then the refusal condition, then the user-decision instruction. Every sentence earns its place, and the 'Audited' note is a useful one-word signal. No fluff.

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 destructive mutation tool with no output schema, the description is remarkably complete: it explains the return value (blast_radius), the confirmation flow, the refusal edge case, and the irreversible consequence. An agent has everything needed to call it safely and correctly.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds meaning by explaining the confirm parameter's two-phase behavior (false returns blast radius, true removes) and clarifies machine_ids come from machine_list. It doesn't add much on target, but the schema already covers it. This is a solid enhancement over the schema.

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 opens with a specific verb and resource ('Remove machine(s) from their pool') and immediately distinguishes the destructive consequence for instant clones ('DELETES the backing VM'). It clearly separates from siblings like machine_reset and machine_maintenance by focusing on removal and deletion.

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 gives explicit when-to-use guidance: a bare call returns blast_radius and removes nothing; confirm=True removes. It instructs the agent to show blast_radius to the user and wait for their decision, and explicitly warns not to set confirm=True on its own even if the user asked earlier. This is strong, actionable usage guidance.

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