Skip to main content
Glama

reboot_vm

Reboot a running XCP-ng VM through Xen Orchestra. Set force=true for a hard reboot when a clean reboot fails.

Instructions

Reboot a running VM. Use force=true for a hard reboot if the clean reboot 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": "reboot_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVM UUID or Xen Orchestra object ID
forceNoForce hard reboot instead of clean reboot. Default: false (clean reboot).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the clean-vs-hard distinction and the escalation path, which is genuine context, but it omits the disruptive nature of the operation: downtime, guest-tools dependency for the clean path, and potential data loss from a hard power-cycle.

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 action and followed immediately by the parameter guidance. Nothing is wasted and no filler appears.

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 simple two-parameter mutation with no annotations and no output schema, the definition covers what it does and the force escalation. It leaves open what a successful call returns (a task handle?) and how failure of the hard reboot is surfaced, which matters for a destructive action.

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 id and force are already documented in the schema, including the default. The description's mention of force=true restates the schema rather than adding new semantics such as format constraints or behavior when force is combined with a non-running VM.

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?

"Reboot a running VM" gives a specific verb and resource, and the qualifier "running" signals a precondition that separates it from start_vm/stop_vm/resume_vm. It stops short of explicitly naming a sibling to disambiguate against, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence gives a real escalation rule: try a clean reboot, then fall back to force=true if it fails. That is actionable when-to-use guidance for the parameter. There is no guidance on when to prefer this over stop_vm/start_vm or when a reboot is inappropriate (e.g. VM mid-task).

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