Skip to main content
Glama

exec_command

Execute commands inside Proxmox VMs using the QEMU guest agent to manage services, check system status, or perform administrative tasks remotely.

Instructions

Execute a command inside a QEMU VM via the guest agent.

Requires qemu-guest-agent to be installed and running inside the VM. Not supported for LXC containers.

Args: vmid: The numeric ID of the VM. command: The command to execute (e.g. 'hostname', 'df -h', 'systemctl status nginx'). timeout: Max seconds to wait for command completion (default 30, max 300).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmidYes
commandYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions prerequisites and exclusions, which adds useful context beyond the basic action. However, it doesn't describe important behavioral aspects like authentication requirements, rate limits, error conditions, or what happens when commands fail or timeout.

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 efficiently structured with a clear purpose statement followed by prerequisites, exclusions, and parameter explanations. Every sentence earns its place, and the information is front-loaded with the most important details first. No wasted words or redundancy.

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?

Given that there's an output schema (which handles return values), no annotations, and good parameter coverage in the description, this is reasonably complete. The main gap is lack of behavioral details about error handling, security implications, or performance characteristics that would be helpful for a command execution tool.

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?

With 0% schema description coverage, the description fully compensates by providing clear semantic explanations for all 3 parameters: vmid ('numeric ID of the VM'), command ('command to execute' with examples), and timeout ('Max seconds to wait' with default and max values). This adds substantial value 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 clearly states the specific action ('Execute a command') and target resource ('inside a QEMU VM via the guest agent'), distinguishing it from sibling tools like start_guest or get_guest_status that perform different operations on VMs. The verb+resource combination is precise and unambiguous.

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 about when to use this tool by specifying prerequisites ('Requires qemu-guest-agent to be installed and running inside the VM') and exclusions ('Not supported for LXC containers'). However, it doesn't explicitly mention alternatives or contrast with sibling tools like exec_container_command if such existed.

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/antonio-mello-ai/mcp-proxmox'

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