Skip to main content
Glama

OpenFactory

stop_vm

Stop a running VM.

By default performs a graceful shutdown. Use force=True for immediate power off.

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

Input Schema

NameRequiredDescriptionDefault
forceNoForce stop (power off) instead of graceful shutdown
api_keyNoYour OpenFactory MCP API key (optional)
vm_nameYesThe VM name to stop
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 disclosure burden. It does add genuine behavioral context: the default path is a graceful shutdown and force=True is an immediate power off, which implies the risk of unflushed state. It omits permissions required, whether the stop is reversible (can the VM be restarted), and what happens to running workloads.

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 sentences, front-loaded with the core action and followed by the one behavioral fork that matters. No filler, no restatement of the tool name.

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?

An output schema exists, so return values need not be described, and the schema documents all four parameters. For a simple single-target lifecycle operation the description covers the essential decision. The remaining gap is operational context: prerequisites, reversibility, and permission requirements.

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 coverage is 100%, so the baseline is 3, and the description slightly exceeds it by framing force as a choice between two shutdown modes rather than a bare boolean. However, it says nothing about api_key or session_token, leaving those entirely to the schema.

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: "Stop a running VM." An agent can immediately tell this is the stop operation, and the sibling list contains start_vm, create_vm, and delete_vm, so the action is distinct. It does not explicitly contrast itself with delete_vm (which also ends a VM's life), so it stops short of a 5.

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 gives real guidance on the graceful-vs-force choice, but that is parameter behavior rather than tool selection. There is no statement of when to prefer stop_vm over delete_vm, nor any prerequisite such as the VM needing to be running or the caller needing ownership.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.