Skip to main content
Glama

stop_vm

Stops a running VMware VM with graceful shutdown by default, or immediate hard power-off only when explicitly confirmed to prevent data loss.

Instructions

Stop (power off) a running VM.

Args: vm: VM name, substring, or full .vmx path. hard: False for graceful soft shutdown; True for immediate hard power-off. confirm: Must be True when hard=True (safety guardrail against data loss).

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": "<vm>"
    },
    "name": "stop_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
hardNo
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a genuinely useful behavioral trait the schema cannot: the confirm=True guardrail required when hard=True, plus what hard mode does (immediate power-off vs graceful shutdown). It stops short of saying what happens if the VM is already stopped, whether the call blocks, or whether the operation is irreversible.

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?

Purpose is front-loaded in the first sentence, followed by a tight per-argument list with no filler. Every line earns its place.

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?

With an output schema present, return values need no explanation, and all three parameters are covered. The remaining gap is operational context: preconditions on VM state and failure behavior for a destructive action with zero annotation coverage.

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 coverage is 0%, so the description must compensate entirely, and it does: vm accepts a name, a substring, or a full .vmx path; hard selects graceful vs immediate; confirm is conditional on hard=True. Each parameter's meaning and accepted form is clarified beyond the bare schema types.

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 with clarification: "Stop (power off) a running VM." An agent can tell it stops rather than starts or resets a VM, but the description never names reset_vm or power_state_vm, which sit closest to it among the siblings.

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 description's hard/soft semantics imply usage (use soft normally, hard when immediate termination is needed), but it never explicitly says when to choose this over reset_vm or power_state_vm, nor does it state the precondition that the VM must be running.

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