Skip to main content
Glama

Sandboxd Code Run

Runs a shell command in an isolated one-shot sandbox and returns stdout, stderr

execute-command

Runs a shell command in an isolated one-shot sandbox and returns stdout, stderr and the exit code (Daytona ExecuteRequest/ExecuteResponse compatible) Price: $0.002 a call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory, relative to the run's work directory
envNoEnvironment variables; keys must match [A-Za-z_][A-Za-z0-9_]* (Daytona's rule)
filesNoText files written into the work directory before the run (up to 50, 1 MB each, 4 MB total)
commandYesThe shell command to run (up to 64 KB)
outputsNoRelative paths to read back after the run (up to 20); up to 1 MB each comes back base64 in outputFiles, larger in tooLargeOutputs, absent in missingOutputs
timeoutNoRun timeout in seconds, 1-120 (default 60); a timed-out run answers exitCode 124

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose three useful traits: the sandbox is isolated, it is one-shot (implying no persistence between calls), and each call costs $0.002. It does not disclose network access, filesystem persistence guarantees, or any auth/permission requirements, so meaningful gaps remain.

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 covering action, scope, return values and price with no padding. The 'Daytona ExecuteRequest/ExecuteResponse compatible' clause is the only slightly jargon-heavy element, but it is compact and does earn its place for compatibility expectations.

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?

For a 6-parameter tool with nested objects, no annotations and no output schema, the description adequately names the return values (stdout, stderr, exit code) and the one-shot isolation model, while the schema fully covers parameter details. It leaves the outputFiles/tooLargeOutputs/missingOutputs structure and any size limits to the schema, which is acceptable given the coverage there.

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 the schema already documents cwd, env, files, outputs and timeout in detail; baseline 3 applies. The reference to 'Daytona ExecuteRequest/ExecuteResponse compatible' points the agent at external docs but adds no semantics beyond what the schema already states.

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?

States a specific verb and resource ('Runs a shell command') plus the scope ('isolated one-shot sandbox') and the return payload (stdout, stderr, exit code). It is distinguishable from execute-code by the 'shell command' framing, but it never names or contrasts the sibling, so it stops short of a 5.

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 when-to-use guidance at all: no statement of when a shell command is preferable to execute-code, no prerequisites, no note on whether the sandbox is stateful across calls. The only steer is the implicit 'shell' vs 'code' wording and the per-call price, which is cost context rather than usage guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources