Skip to main content
Glama

Kill sandbox

kill_sandbox
Destructive

Destroy the sandbox immediately, including its files (also a sleeping one). Cannot be undone. Use it only when the data is no longer needed; to stop paying for compute but keep the files, put the sandbox to sleep instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kill_sandbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
sandbox_idNoSandbox ID (sb_…). If omitted, the current sandbox of this session is used. Passing it does not change the current sandbox.

Output Schema

NameRequiredDescriptionDefault
destroyedYesThe sandbox and its data were destroyed.
sandbox_idYesSandbox ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sandbox_id / description
      Previous value: -"Sandbox ID (sb_…). If omitted, the current sandbox of this session is used."New value: +"Sandbox ID (sb_…). If omitted, the current sandbox of this session is used. Passing it does not change the current sandbox."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already mark this as destructive and not read-only, and the description adds meaningful context beyond them: files are destroyed, sleeping sandboxes are affected, and the operation 'Cannot be undone.' That is exactly the behavioral information an agent needs before invoking an irreversible mutation.

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?

The definition is three tight sentences, with the destructive action and irreversibility front-loaded before the usage guidance. No sentence is redundant or wasted.

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 both annotations and an output schema, the description covers purpose, irreversibility, scope, and the key alternative. Nothing material is missing for correct invocation.

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 100%, so the sandbox_id parameter and its default behavior are already fully documented in the schema. The description adds no parameter-level detail, which is appropriate but does not exceed the baseline.

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 description states a specific verb and resource ('Destroy the sandbox'), clarifies scope ('including its files'), and notes it applies even to a sleeping sandbox. It also distinguishes the action from the sleep alternative, so an agent can tell it apart from pause_sandbox without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance ('only when the data is no longer needed') and names the alternative behavior for the contrasting case ('to stop paying for compute but keep the files, put the sandbox to sleep instead'). This directly routes the agent between destructive and non-destructive options.

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.

Resources