Skip to main content
Glama

sandbox_status

Status of a box: lifecycle state, boxd health, wiring table, sceneUrl, webUrl and each web service's url, takeoverUrl, and the reason if it was interrupted. links[] are this box's links to other boxes (their status, open and failed connections, last error); linkedFrom[] are the boxes linked to this one. environment is the one the box started with, as sandbox_start returns it: connections[] says which connector is online, its rttMs and which hosts go through it; services[].notable the settings to check first; activeBoxes your other live boxes on it, which may be changing the same data. goal is what the box is for, as given to sandbox_start, and steps[] the last 30 things done in it, oldest first (commands, directories and the notes given with them, no output; a foreground command's exitCode, signal and timedOut, and error when the platform failed): together they say where another conversation left off. agent says whether the conversation that last used the box is still at it: state working, away (still open, busy elsewhere), left (closed) or idle (unused for an hour), and thisConversation when that conversation is you; restarting a client also shows left with a new identity; working or away without thisConversation means another conversation may come back to it. fromHuman, when present, is what the person left for you in the app; only the conversation holding the box gets it, once. stopsAt is when the idle rules archive the box unless something uses it before then; an archived box (status archived) keeps its disk until restorableUntil and any call restores it. disk shows what fills the box: free space, each /work directory, caches, /dev/shm and Docker; nothing is cleaned for you. freeze says when it freezes and what keeps it awake; services[].lastProxyError why its URL last failed; fields returns only the fields you name (its description lists more).

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
fieldsNoReturn only these top-level fields (id and status always come back), e.g. ["goal","agent","steps"] to see what another conversation did in a box without the rest. Default: all. Fields the tool description does not detail: freeze {at, blockedBy[{reason, until}]}: background, url and recording keep the box awake until their until, takeover, foreground, link and phone until they end; boxdVersion and imageId (the box image); services[].lastProxyError {at, status, error, count}; running.containers[] (a psbx-testdb database has envFile with its connection settings); agent.untracked: last used without a conversation id (an API-key script or REST), so agent.state is only a guess

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) the description discloses substantial behavior: an archived box keeps its disk until restorableUntil and any call restores it, fromHuman is delivered only to the conversation holding the box and only once, idle rules archive the box at stopsAt, and nothing on disk is cleaned for you. It also explains the agent.state semantics (working/away/left/idle) and the caveat that a client restart appears as 'left' under a new identity, which is real operational context an agent could not infer.

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

Conciseness2/5

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

The definition is a single dense run-on paragraph mixing purpose, return fields, state-machine rules and disk accounting, with no headings, bullets or front-loaded summary line. Almost every clause carries real information, but the structure makes it hard to scan and the purpose statement is buried inside the field enumeration.

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 carries the burden of explaining return values and does so thoroughly for a complex, many-field response, including the linkedBoxes/links/linkedFrom, environment, disk, freeze and steps structures. Gaps remain around what `id` expects, error behavior for unknown or stopped boxes, and permissions, but the return-value coverage is strong for this tool's complexity.

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 coverage is 50% with two parameters. The description only touches `fields` ('returns only the fields you name (its description lists more)'), which largely restates the schema text rather than adding syntax or examples, and it never explains what `id` identifies or what happens with an invalid id. Baseline 3 is appropriate where the schema does most of the work.

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 phrase 'Status of a box' plus the enumeration of returned fields (lifecycle state, boxd health, wiring table, sceneUrl, webUrl, takeoverUrl) makes clear this is a read of a box's runtime state. It never names a sibling such as sandbox_get or sandbox_list, so an agent gets no explicit differentiation, and the purpose is delivered as a field list rather than a verb-led statement.

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: nothing says when to call this versus sandbox_get, sandbox_list, sandbox_procs or sandbox_environments. The only implicit usage cue is the aside that goal and steps 'say where another conversation left off', which is a hint rather than routing guidance, and no prerequisites or exclusions are given.

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.