Skip to main content
Glama

Delete a sandbox

sandbox_delete
DestructiveIdempotent

Delete a sandbox. Deletes the sandbox and everything in it. This cannot be undone.

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": "sandbox_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandboxIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is to add detail beyond that, which it does: deletion is cascading ('everything in it') and irreversible ('cannot be undone'). Nothing contradicts the annotations; only missing piece is whether deletion is immediate or asynchronous.

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?

Three short sentences, front-loaded with the action and the destructive consequence. The opening 'Delete a sandbox' is partially restated by the second sentence, which is mild redundancy but also the sentence that carries the real information.

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

Completeness3/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 full annotation coverage and no output schema, the essential semantics (cascade + irreversibility) are present. The gaps are parameter provenance/format and whether the operation is synchronous, which matter for a tool the agent will invoke on live resources.

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

Parameters2/5

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

There is one required parameter with 0% schema description coverage, so the description must carry the burden of explaining sandboxId, but it never mentions the parameter, its expected format, or where to obtain it (sandbox_create or sandbox_list). A caller is left to guess.

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?

Specific verb+resource ('Delete a sandbox') that is unambiguously distinct from siblings like sandbox_create, sandbox_extend, or sandbox_get. It does not explicitly call out the nearest alternative (e.g. extending rather than deleting), so it stops short of 5.

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?

No when-to-use or when-not-to-use guidance is offered; the agent must infer that this is the terminal cleanup step. No alternative is named (e.g. sandbox_extend to keep a sandbox alive instead of destroying it).

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.