Skip to main content
Glama

proxmox_migrate_resource

Destructive

Migrates a VM or LXC container to another Proxmox VE node, supporting live QEMU migration and restart-based LXC moves while requiring explicit confirmation.

Instructions

Migrate a VM or container to another node (POST /nodes/{node}/{type}/{vmid}/migrate). QEMU supports online (live) migration; LXC uses restart mode. Tier-2 write; requires confirm:true.

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": {
      "vmid": "<vmid>",
      "target": "<target>",
      "confirm": "<confirm>"
    },
    "name": "proxmox_migrate_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmidYesContainer or VM ID to migrate.
waitNoBlock until the task finishes and include its exit status in the result.
onlineNoQEMU: live-migrate a running VM (no downtime).
targetYesTarget node name to migrate to.
bwlimitNoBandwidth limit in KiB/s (0 = unlimited).
confirmYesMust be true to write. Tier-2 safe-write gate.
restartNoLXC: restart-migrate a running container (brief downtime).
wait_timeoutNoMax seconds to wait when wait:true (default 120).
targetstorageNoMap disks onto this storage on the target node.
with_local_disksNoQEMU: also migrate local (non-shared) disks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as a destructive write operation, and the description adds meaningful context: the Tier-2 write classification, the confirm gate, and the distinction between QEMU live migration and LXC restart migration. It does not discuss rollback, permissions, task failure handling, or disk migration caveats in detail.

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 compact and front-loaded, moving from the core operation to mode-specific behavior and then to the confirmation gate. Every element adds useful operational context without unnecessary wording.

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?

For a 10-parameter destructive migration tool, the description covers the essential action, mode differences, and write confirmation requirement. The rich input schema and annotations fill in the remaining parameter-level and safety details, though additional task or failure behavior context could improve completeness.

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 description coverage is 100%, so all parameters are already documented in the schema. The description reinforces the online/restart mode distinction and confirm requirement, but does not add substantial meaning beyond what the schema already provides for parameters such as wait, bwlimit, targetstorage, and with_local_disks.

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 states a specific verb and resource: migrate a VM or container to another node. It also names the API endpoint and distinguishes QEMU from LXC migration behavior. It does not explicitly contrast migration with sibling operations such as clone or create, so it stops short of full sibling differentiation.

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?

It gives clear usage context: QEMU supports online migration, LXC uses restart mode, and the operation is a Tier-2 write requiring confirm:true. It does not state when not to use this tool or explicitly compare it to alternatives, but the operational guidance is strong.

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

Deploy Server

Other Tools