Skip to main content
Glama

sandbox_get

Read-only

Download files or directories from the box: under /work, /tmp or /dev/shm. Returns a download URL valid for one hour (expiresAt; on ParallelSandbox's API, with no storage credentials in it; call again for a fresh one if a download is refused), and for an image small enough to show, the picture itself, so you do not have to fetch the URL to look at it. Directories come back as tar.gz, with the directory itself as the top entry. Pass paths instead of path to fetch several in one call; the first 10 images, up to 8 MB in all, are shown too, and the rest come as URLs only. What you fetch is handed over, not stored: the file is kept only about a day, so save anything you want to keep yourself.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "sandbox_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
pathNoRelative to /work (shots means /work/shots; an absolute /work/shots works too), or an absolute path under /tmp/ or /dev/shm/; directories come back as tar.gz
pathsNoSeveral files in one call instead of path; the result lists each one's url, or why it could not be read, and shows the first 10 images (8 MB in all) after it, each labelled with its path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses the one-hour URL lifetime with expiresAt, that the URL carries no storage credentials, the refresh path when a download is refused, tar.gz packaging with the directory as the top entry, inline image rendering capped at 10 images / 8 MB, and roughly one-day file retention. That is materially more than the annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and most sentences carry real information, but the parenthetical covering expiry, credentials, and retry ('(expiresAt; on ParallelSandbox's API, with no storage credentials in it; call again for a fresh one...)') is a dense run-on that is hard to parse. The final retention sentence is useful but pushes length past what the core task requires.

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 correctly carries the return-value burden: URL + expiresAt, inline images for small ones, tar.gz for directories, and per-item failure reasons in `paths` results. The main omission is any explanation of the required `id` argument or of error behavior beyond a refused download.

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 `path` and `paths` semantics in the description largely restate the schema's own parameter descriptions (relative-to-/work resolution, tar.gz for directories, 50-item cap, first 10 images / 8 MB), adding little new meaning. With 67% coverage, the required `id` parameter has no explanation in either the schema or the description, which is an unaddressed gap.

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?

The opening clause gives a specific verb and resource ('Download files or directories from the box') plus the exact scope ('under /work, /tmp or /dev/shm'), so an agent can tell this is a file-retrieval tool rather than an exec or screenshot tool. It does not name a sibling alternative, so it stops short of full differentiation.

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?

It gives actionable conditions: use `paths` instead of `path` to fetch several at once, call again for a fresh URL if a download is refused, and save anything you want to keep yourself because files live only about a day. What is missing is routing guidance against sibling tools (e.g. when to prefer sandbox_media or sandbox_shot), so no explicit exclusions are stated.

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.