Skip to main content
Glama

sandbox_stop

Destructive

Stop a box and release its machine. The box is archived like an idle one: its disk is kept 30 days, and until then any call on it, its URL, its review link or sandbox_start {restore} brings the same box back with /work (memory and attached phones are not kept); stopping an archived box deletes it for good. Before stopping it checks /work and returns unsavedWork: what is not pushed to a git remote or kept in a persistent folder, which is deleted when the archive expires. For when the work in a box is done and there is nothing for the person to try (sandbox_review hands over what there is). A running box uses credits, and one left running without either shows in the person's app as "AI stopped" until someone decides what to do with it.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description goes well beyond that: it explains the archive/30-day disk retention window, every path that restores the box (any call, its URL, its review link, sandbox_start {restore}), what is NOT kept (memory, attached phones), and the escalation that stopping an archived box deletes it permanently. It even discloses a side effect on the return value ('returns unsavedWork') and the pre-check on /work.

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?

The action and its consequence are front-loaded, and each sentence carries distinct information (archive rules, restore paths, unsavedWork pre-check, when to use, cost rationale). It is dense and slightly run-on in places ('The box is archived like an idle one: ...'), and the credits/'AI stopped' sentence is the least essential, but nothing is redundant.

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 destructive lifecycle tool with no output schema, the description covers consequences, reversibility window, restore triggers, the unsavedWork return field, and the decision criteria. The only remaining gap is the exact shape of the response beyond unsavedWork, which is acceptable given no output schema is declared.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter ('id') exists and it is required; the description frames the whole operation around 'a box' and its identity and lifecycle, so the meaning of the id is unambiguous from context. For a single-parameter tool this is sufficient semantic grounding.

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 opening sentence names a specific verb and resource ('Stop a box and release its machine') and immediately states the resulting state (archived, disk kept 30 days). It is clearly distinguishable from siblings like sandbox_start and sandbox_review, both of which are named in context.

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 an explicit when: 'when the work in a box is done and there is nothing for the person to try', and routes the alternative case to sandbox_review. It also gives a cost-based reason to act (a running box uses credits, shows as 'AI stopped'). It stops short of an explicit 'do not use this if X' exclusion statement.

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.