Skip to main content
Glama
Proxmox MCP Server Extended

Proxmox MCP Server Extended

by kspr9

proxmox_execute_vm_command

Runs shell commands on a Proxmox VM by node and VM ID, enabling remote task execution and troubleshooting through the Proxmox API.

Instructions

Execute a shell command on a virtual machine via Proxmox API

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": {
      "node": "<node>",
      "vmid": "<vmid>",
      "command": "<command>"
    },
    "name": "proxmox_execute_vm_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYesNode name where VM is located
typeNoVM typeqemu
vmidYesVM ID number
commandYesShell command to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden for one of the more dangerous tools in this set. It does not say whether the command runs synchronously, whether a timeout applies, whether the guest agent or SSH is required, what the return value is, or that arbitrary code execution is irreversible. Only the bare mechanism is stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or repetition. It is efficient, though the terseness leaves little room for the guidance a mutating execution tool warrants.

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?

With no annotations and no output schema, the description should explain the execution mechanism, expected output, timeout behavior, and permission requirements. None of this is covered, leaving the agent unequipped for a destructive operation on remote VMs.

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 node, type (with enum and default), vmid, and command are already documented in the schema. The description adds no extra meaning about parameter formats, such as command syntax constraints or how vmid relates to node, so the baseline of 3 applies.

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: 'Execute a shell command on a virtual machine via Proxmox API' tells the agent exactly what action happens and where. It does not differentiate itself from the lifecycle siblings (start_vm, stop_vm, reboot_vm), but the distinct verb 'execute a shell command' is clear enough to separate it in practice.

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?

There is no guidance on when to use this tool versus the sibling lifecycle tools, no prerequisites (guest agent installed, running VM), and no exclusions or warnings about what should not be run. The agent must infer all usage conditions.

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