Skip to main content
Glama
tiancode
by tiancode

pve_vm_power

Manage power state of virtual machines and containers on Proxmox VE: start, shutdown, stop, reboot, suspend, or resume. Shutdown performs clean guest shutdown; stop hard-power offs.

Instructions

Change the power state of a VM or container.

    Applies to: QEMU VMs and LXC containers, located by ``vmid`` (``node``
    optional and auto-resolved). ``action`` is one of ``start``,
    ``shutdown`` (clean, via guest), ``stop``, ``reboot``, ``suspend``,
    ``resume``. NOTE: ``stop`` is a hard power-off (like pulling the plug) —
    prefer ``shutdown`` unless the guest is unresponsive. ``suspend`` /
    ``resume`` are QEMU-only; containers must use shutdown/stop/start.
    ``timeout`` (seconds) applies to shutdown/reboot (and QEMU stop) as the
    max wait for the guest.

    Side effects: changes guest power state. Waits up to PVE_MCP_TASK_WAIT
    seconds for the PVE task; returns JSON with ``vmid``/``node``/``type``/
    ``action`` and ``task`` (``exitstatus`` "OK", failure + ``log_tail``, or
    ``status`` "running" with the ``upid`` to follow up via pve_task_status).
    Source: POST /nodes/{node}/{qemu|lxc}/{vmid}/status/{action}.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNo
vmidYes
actionYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description carries full burden and excels: it discloses side effects (changes guest power state), waiting behavior (up to PVE_MCP_TASK_WAIT seconds), return format (JSON with vmid/node/type/action and task details), and the source endpoint. It also explains the difference between shutdown (clean) and stop (hard power-off), which is critical behavioral information.

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 appropriately sized, front-loaded with the main purpose, and structured into logical sections. Every sentence adds necessary value (purpose, applicability, actions, side effects, return format, source). No fluff or redundancy.

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 power state change tool with 4 parameters and an output schema, the description is complete: it covers input semantics, behavior (side effects, waiting), output format, and even source endpoint. Error cases are implied via 'failure + log_tail'. The tool's complexity is adequately addressed.

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 schema has 0% description coverage, so the description fully compensates. It explains that node is optional and auto-resolved, vmid identifies the guest, action is an enum with specific meanings (including QEMU-only restrictions), and timeout applies to shutdown/reboot. This adds significant semantics beyond the bare schema.

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 explicitly states 'Change the power state of a VM or container' and specifies the applicable resource types (QEMU VMs and LXC containers) and the actions (start, shutdown, stop, reboot, suspend, resume). This clearly differentiates it from sibling tools like pve_vm_status or pve_vm_config.

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 explicit guidance on when to use each action: prefer shutdown over stop, suspend/resume are QEMU-only, containers use shutdown/stop/start. It does not explicitly compare to sibling tools but given the sibling set, this tool is the only one for power state changes. The guidelines are clear and actionable.

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/tiancode/pve-mcp'

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