Skip to main content
Glama
Bldg-7

Proxmox MCP Server

by Bldg-7

Guest Agent Command Execution

proxmox_agent_exec
Destructive

Execute commands inside Proxmox VMs using the QEMU agent, then check execution status with the returned process ID.

Instructions

Execute commands via QEMU agent. operation=exec: run command | operation=status: check execution status (requires elevated permissions)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoProcess ID returned by agent exec
argsNoCommand arguments
nodeYesNode name where VM is located
vmidYesVM ID number
commandNoCommand to execute
timeoutNoTimeout in seconds
operationYes
input-dataNoInput data for stdin
capture-outputNoCapture stdout/stderr

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0
  2. Removedv1.2.2
  3. First observedv1.2.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish destructive, non-read-only, non-idempotent behavior, so the description adds only the elevated-permissions caveat for status. That is useful, but it does not disclose the two-step exec/status interaction or guest-side prerequisites.

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 a compact, front-loaded clause that states the mechanism and then enumerates the operation modes without redundancy. Every clause contributes operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even with the schema, the description omits the central workflow: exec returns a pid that status then consumes, and it does not say what either operation returns given there is no output schema. Prerequisites such as the QEMU agent being installed/running in the guest are also absent, making correct invocation harder for an agent.

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 89%, but the operation parameter carries no schema description; the tool description supplies meaning for its enum values ('exec: run command', 'status: check execution status') and adds the permission requirement. This goes beyond the bare enum names.

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 clearly identifies the action ('Execute commands via QEMU agent') and breaks out the two operations (exec, status) with distinct behaviors. It distinguishes the tool from LXC execution by specifying QEMU agent, though it does not explicitly name any sibling alternative.

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

Usage Guidelines2/5

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

The description does not explain when to choose this tool over alternatives such as proxmox_lxc_exec or proxmox_agent_file. It gives no workflow guidance (e.g., use exec first, then status with the returned pid), only notes that status requires elevated permissions.

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