Skip to main content
Glama

ct_exec

Execute commands inside LXC containers with dry-run planning, fail-closed safety, and optional auto-undo snapshots.

Instructions

Run a command inside an LXC (ssh -> pct exec). MUTATION-CAPABLE.

Dry-run by default: without confirm=True you get a PLAN — the command plus a heuristic read-vs-write / destructive-pattern classification (advisory only) — recorded to the ledger. Re-call with confirm=True to execute. Disabled unless PROXIMO_ENABLE_EXEC is set (safe default is API-only). Allowlist-scoped (fail-closed) and audited.

snapshot=True (UNDO): take an auto-undo snapshot first and WAIT for it; if it can't be made (e.g. storage doesn't support snapshots) the command is NOT run (fail-closed). On success the result carries an undo_point you can revert with pve_rollback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ctidYesNumeric CTID of the target LXC container (allowlist-scoped).
commandYesArgv list to run inside the container (not a shell string).
confirmNoFalse (default) returns a dry-run PLAN; true executes.
snapshotNoTake a fail-closed auto-undo snapshot before running.
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description carries full burden. It details dry-run behavior, the need for confirm=True to execute, heuristic classification, auditing, fail-closed conditions for snapshots, and the undo mechanism via snapshot/rollback. This fully discloses the tool's safety and operational characteristics.

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?

The description is efficient, with clear front-loading of the core purpose. It uses multiple sentences, each adding value (dry-run, confirm, snapshot, fail-closed, audit). It is not overly verbose; however, it could be slightly tightened without losing information.

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 the presence of an output schema (mentioned but not provided), the description does not need to explain return values. It covers operation modes, prerequisites (PROXIMO_ENABLE_EXEC), safety mechanisms (snapshot fail-closed, allowlist), and the undo feature. This is complete for a potentially dangerous mutation 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?

The input schema has 100% description coverage for all 5 parameters, so baseline is 3. The description adds behavioral context (e.g., confirm defaults to false, snapshot is fail-closed) but does not significantly extend meaning beyond the schema's descriptions. Thus, score at baseline level.

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 'Run a command inside an LXC (ssh -> pct exec). MUTATION-CAPABLE.' This clearly identifies the verb ('run'), resource ('command inside an LXC'), and scope. It distinguishes from siblings like pve_agent_exec (for QEMU) by specifying LXC and the underlying mechanism (pct exec).

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 usage context: dry-run by default, confirm=True to execute, and snapshot=True for undo. It also notes that execution is disabled unless PROXIMO_ENABLE_EXEC is set, and it is allowlist-scoped (fail-closed). While it does not explicitly compare to alternatives, the context is sufficient for safe usage.

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/john-broadway/proximo'

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