Skip to main content
Glama

Permanently delete sandbox data

delete_sandbox
DestructiveIdempotent

Permanently remove a sandbox and its content-bearing records, then poll the returned operation until completed. Use for irreversible cleanup; saved snapshots and shared artifacts remain independent.

Instructions

Permanently delete sandbox data. Accept irreversible background deletion of the sandbox machine, snapshots, and content-bearing records. This is not archive: the sandbox cannot be resumed. Saved snapshots and other shared artifacts remain independent. Poll the returned operation until completed.

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": {
      "sandboxId": "<sandboxId>"
    },
    "name": "delete_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxIdYesPublic Sandbox id returned by create/list/get sandbox calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Although annotations already flag destructiveHint and idempotentHint, the description contributes substantial behavior beyond them: deletion happens in the background, it requires accepting irreversibility ('Accept irreversible background deletion'), it cannot be resumed, and shared/saved artifacts survive. It also tells the agent the call returns a pollable operation, which is critical for correct follow-up.

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?

Four short sentences, front-loaded with the action and the most decision-relevant fact (irreversibility, not-archive) before the operational follow-up (polling). The 'snapshots' versus 'Saved snapshots ... remain independent' phrasing creates a small internal tension that a tighter sentence could have avoided.

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 single-parameter destructive tool with no output schema, the description covers everything an agent needs: irreversibility, background execution, that a follow-up poll is required, and what data survives. The only minor omission is not naming the polling tool, but the instruction itself is sufficient to act correctly.

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 description coverage is 100% and the single parameter $sandboxId is documented in the schema with its id pattern and origin ('returned by create/list/get sandbox calls'). The description adds nothing further about the identifier, so the schema carries the load and the baseline of 3 applies.

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 description names a specific verb and resource ('Permanently delete sandbox data') and clarifies the scope by ruling out archive semantics ('This is not archive: the sandbox cannot be resumed'), which separates it from stop_sandbox/resume_sandbox. It is slightly muddied by listing 'snapshots' among what is deleted while later stating 'Saved snapshots and other shared artifacts remain independent', leaving the snapshot scope less crisp than it could be.

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 clearly establishes the context in which this is the right call (irreversible teardown, not archiving) and gives a post-call instruction ('Poll the returned operation until `completed`'). No sibling is named explicitly, and the snapshot-handling caveat is stated as a fact rather than as a rule for choosing between this and delete_sandbox_snapshots, so the routing guidance is clear but not fully disambiguating.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.