Skip to main content
Glama

vm_stop

Stops a UTM virtual machine using a graceful guest shutdown, forced power off, or QEMU kill method.

Instructions

Stops a VM. method: request (guest shutdown), force (power off), kill (kill QEMU).

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": "vm_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
methodNorequest

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 behavioral burden. It does convey the destructive spectrum (graceful request through hard QEMU kill), which is valuable, but it does not state what happens to unsaved guest state, whether there is a timeout on graceful shutdown, or whether the call is idempotent on an already-stopped VM.

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?

A single front-loaded sentence plus a compact glossed enumeration of methods. Nothing is padded and the most important information (what the tool does, and the force/destructive options) comes first.

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 two-parameter stop tool with an output schema and only one meaningful option, the definition covers the operation and the method trade-off adequately. The remaining gaps (idempotency, guest-state implications) are secondary for correct invocation, not for understanding.

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 0%, so the description must compensate, and it does for the non-obvious parameter: it enumerates request/force/kill with one-line meanings that the bare schema does not provide. The required vm parameter is left unexplained, but its meaning is self-evident from the tool name.

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?

"Stops a VM" is a specific verb plus resource, and the method list makes the operation concrete. It does not explicitly distinguish itself from the sibling vm_kill, and its own "kill (kill QEMU)" method overlaps conceptually with that sibling, leaving some ambiguity for an agent choosing between them.

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 three method values come with brief glosses (guest shutdown vs power off vs kill QEMU), which is useful selection guidance for the parameter. However, there is no guidance on when to prefer this tool over vm_kill or vm_close, and no prerequisites or cautions about which method to choose in which situation.

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