Skip to main content
Glama

Execute VPS Command

vps_exec

Execute shell commands on a VPS for ad-hoc operations such as checking processes, installing packages, or inspecting logs. Returns stdout, stderr, and exit code.

Instructions

Run a shell command on the selected VPS and return stdout, stderr, and exit code. Targets Hetzner prod by default; pass instance='dev' to run inside the OrbStack ubuntu machine. Use for any ad-hoc operation: checking processes, installing packages, inspecting logs, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
revealNoReveal redacted secret values in the response (default false; the call is audited)
commandYesShell command to execute on the selected VPS
timeoutNoTimeout in milliseconds (default: 30000, max: 300000)
instanceNoWhich VPS to target: 'prod' (Hetzner at 178.156.247.239 via SSH) or 'dev' (local OrbStack machine via `orb run`). Defaults to 'prod'. Must match the Coolify instance when debugging Coolify-managed containers — mismatched routing silently hits the wrong host.prod
Behavior4/5

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

Annotations indicate mutability and side effects (readOnlyHint=false). The description adds context about instance targeting (prod vs dev) and notes that the 'reveal' parameter is audited. It does not explicitly warn about potential destructive actions, but given the tool executes arbitrary commands, the inherent risk is implied.

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?

Three sentences with no wasted words. The first sentence front-loads the action, the second clarifies defaults, and the third lists use cases. Every sentence serves a purpose.

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?

Given no output schema, the description specifies the return format (stdout, stderr, exit code). It covers targets, default instance, and common use cases. This is complete for a general-purpose command execution tool.

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 baseline is 3. The description adds marginal value by reiterating instance routing ('pass instance='dev' to run inside the OrbStack ubuntu machine'), which is already detailed in the schema. No additional meaning is added for other parameters.

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 verb 'Run a shell command' on the 'selected VPS' and specifies it returns stdout, stderr, and exit code. It distinguishes from siblings by being a generic command executor, contrasting with dedicated tools like vps_docker_logs or vps_read_file.

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

Usage Guidelines3/5

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

The description says 'Use for any ad-hoc operation' and lists examples, but does not explicitly mention when not to use it or suggest alternatives for specific tasks (e.g., Docker logs vs vps_docker_logs). This leaves the agent without clear exclusions.

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/AlobarQuest/infraops-mcp-server'

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