Skip to main content
Glama

drive_sandbox_exec

Execute a shell command in a per-workspace Linux sandbox, capturing stdout/stderr, exit code, and execution duration.

Instructions

[EXPERIMENTAL] Run a shell command inside the per-workspace Linux sandbox. Captures stdout/stderr (64 KB cap), exit code, duration. Requires Cloudflare Containers; degrades to 503 otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cmdYesShell command to run inside the per-workspace Linux sandbox
cwdNoWorking directory (default: workspace root)
timeout_msNoMax runtime in ms (default 30000, hard cap 60000)
workspace_idYesWorkspace whose sandbox to run in
Behavior4/5

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

No annotations exist, so the description carries the burden; it covers output capture (stdout/stderr, 64KB cap, exit code, duration), the experimental nature, and infrastructure dependency, but does not detail state changes or permission requirements.

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?

Two concise sentences front-load the purpose and include key details (capacity, duration, dependency) without waste.

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?

With no output schema, the description adequately indicates return contents (stdout/stderr, exit code, duration) and constraints; missing details on error responses or pagination if applicable, but sufficient for a 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?

Parameter schema coverage is 100%, and the description adds no extra meaning beyond the schema's own descriptions, resulting in a baseline score.

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 it runs a shell command in a per-workspace Linux sandbox, distinct from sibling tools like sandbox_clone, sandbox_read, and sandbox_commit.

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 mentions the requirement for Cloudflare Containers and a fallback to 503, providing a conditional usage note, but lacks explicit guidance on when to choose this tool over siblings or alternatives.

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/Rakesh1002/agentdrive-mcp'

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