Skip to main content
Glama

PillDrops

restore_sandbox

Roll a sandbox back onto one of its save points, in place. DESTRUCTIVE: everything written since that save is gone, and the running processes are replaced by the captured ones. The id, URL and token do not change, so anything pointing at the sandbox keeps working. Name exactly one of checkpoint (fast, on-node) or backup (pulled from the object store, so slower), and pass confirm=true — without it nothing happens.

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": {
      "sandbox_id": "<sandbox_id>",
      "confirm": "<confirm>"
    },
    "name": "restore_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupNoa backup id (durable off-node copy)
confirmYesmust be true; without it nothing happens
checkpointNoa checkpoint name (on-node save point)
sandbox_idYessandbox id, e.g. sb_ab12cd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: it flags DESTRUCTIVE in caps, states exactly what is lost (writes since the save) and that running processes are replaced by captured ones. It also discloses what is preserved (id, URL, token) and the confirm gate that makes the call a no-op otherwise.

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?

Three sentences, each earning its place: the destructive warning is front-loaded, then the identity-preservation reassurance, then the parameter rules. No filler and no repetition of the schema.

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

Completeness5/5

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

For a 4-parameter destructive mutation with no annotations and no output schema, the description covers everything an agent needs: what changes, what is destroyed, what survives, and the exact parameter combination required for the call to take effect. Nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning beyond the schema: checkpoint is "fast, on-node" while backup is "pulled from the object store, so slower," and it enforces the exactly-one-of constraint that the schema does not express. The confirm semantics are restated rather than extended, but the mutual-exclusivity rule is genuinely new information.

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?

States a specific verb and resource — "Roll a sandbox back onto one of its save points, in place" — which an agent can immediately distinguish from create_sandbox, destroy_sandbox, or fork_sandbox. The "in place" qualifier plus the note that id/URL/token are unchanged clarifies that this is not a fork or a recreate.

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?

Gives strong operational guidance: name exactly one of checkpoint or backup, and pass confirm=true or nothing happens. It explains the speed/source tradeoff between the two save-point kinds, which is the key decision. It stops short of explicitly contrasting with sibling tools (e.g., fork_sandbox for a non-destructive copy), so a 4 rather than a 5.

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.