Skip to main content
Glama

stop_vm

Shut down a running VM through Xen Orchestra. Use force mode to power off the VM when a clean shutdown fails.

Instructions

Stop (shut down) a running VM. Use force=true for a hard power-off if the clean shutdown fails.

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

Input Schema

NameRequiredDescriptionDefault
idYesVM UUID or Xen Orchestra object ID
forceNoForce hard power-off instead of clean shutdown. Default: false (clean shutdown).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It correctly implies a state-changing operation and warns that force is a hard power-off, but it never says the operation is disruptive, whether unsaved guest state can be lost, or what happens on failure or timeout — gaps that matter for a destructive tool with zero annotation coverage.

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 short sentences: the core action is front-loaded and the escalation caveat follows immediately. Nothing is redundant with the title and no sentence is wasted.

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 two-parameter action tool with no output schema, the definition covers the primary path adequately. But with no annotations and no output schema, it should say more about return behavior and error cases (VM not running, force shutdown timing) to be safely callable without the agent guessing.

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%, so both the id and force parameters are already fully documented in the schema, including the default. The description only adds a usage condition for force ("if the clean shutdown fails"), which is mildly useful but not meaningfully beyond the schema's own text.

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?

The description gives a specific verb and resource ("Stop (shut down) a running VM") plus a precondition that the VM is running, which separates it in practice from start_vm, reboot_vm and suspend_vm. It stops short of naming any sibling explicitly, so differentiation is inferable rather than stated.

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?

There is real guidance on the force parameter's escalation path — use force=true only when a clean shutdown fails — which is a when-to-use signal. However, there is no guidance on when to choose stop_vm versus reboot_vm, suspend_vm or resume_vm, and no statement about what happens if the VM is already stopped.

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