Skip to main content
Glama
AIops-tools

xcpng-aiops

by AIops-tools

vm_migrate

Live-migrate a VM to another host with automatic undo recording for safe rollback. Includes dry-run preview.

Instructions

[WRITE][risk=medium] Live-migrate a VM to another host. Inverse: migrate back.

The REAL source host is captured BEFORE the move so the recorded undo (migrate back to it) is replayable.

Args: vm_id: VM uuid (see vm_list). host_id: Destination host uuid (see host_list). dry_run: If True, preview without migrating (no undo recorded). target: Xen Orchestra target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_idYes
targetNo
dry_runNo
host_idYes
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: it is a write operation with medium risk, captures the source host for undo, and notes that dry_run does not record undo. This goes beyond what the schema provides.

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?

The description is concise, with a brief opening line, a sentence about undo behavior, and a clean list of arguments. Every sentence adds value, and the structure is front-loaded.

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?

The description covers the core behavior, including undo and dry_run, but lacks details about return values or error handling. Given the complexity, it is mostly complete but could be slightly more thorough.

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?

The input schema has 0% description coverage, but the description adds meaningful semantics for all four parameters: vm_id, host_id, dry_run, and target. It clarifies each parameter's purpose and provides references to related tools (vm_list, host_list).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it is a write operation to 'Live-migrate a VM to another host' and mentions the inverse operation. It distinguishes from sibling tools like vm_start, vm_stop, etc., which have different purposes.

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 description provides clear context for when to use the tool, including the inverse migration and dry_run preview. However, it does not explicitly exclude alternatives or state when not to use it, leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIops-tools/XCPng-AIops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server