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 (3 free calls a day without an API key).

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.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses sandbox isolation, the one-shot (non-persistent) execution model, the returned artifacts, and a rate/cost constraint ($0.002 per call, 3 free daily). It does not state required auth beyond implying an API key, nor network/filesystem limits.

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?

Two sentences, front-loaded with the core operation and return values. The Daytona-compatibility and pricing parentheticals are dense but genuinely informational rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, no-annotation, no-output-schema tool the description covers inputs and return shape adequately, but it omits the one thing an agent most needs: how this differs from execute-code and when to prefer it.

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 cwd, env, files, outputs, and timeout are already fully documented with constraints and formats. The description adds no parameter meaning beyond the schema, which is the baseline 3 case.

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 execution context ('isolated one-shot sandbox') and what it returns (stdout, stderr, exit code). The purpose is clear, but it never distinguishes itself from the sibling execute-code, leaving the agent to guess which runtime to pick.

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, no exclusions, and no mention of execute-code as an alternative. The only usable context is the pricing and free-tier note, which tells the agent about cost but not about task selection.

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