Skip to main content
Glama

Delete a sandbox

delete_sandbox_template
DestructiveIdempotent

Delete a sandbox with all its versions and builds. Answers 409 while an agent or a project's default sandbox uses it: point those at another sandbox first (update_project with defaultSandboxTemplateId). Missions that run in it now finish. Requires the agents:write scope and the config:write capability.

Input Schema

NameRequiredDescriptionDefault
templateIdYesSandbox id (sbt_...)

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?

Annotations already declare destructive=true and idempotent=true, but the description adds substantial context the annotations cannot: the 409 conflict semantics, the exact prerequisite ordering to clear the conflict, the effect on in-flight missions (they finish), and the required scopes/capabilities (agents:write, config:write). This is exactly the beyond-annotation disclosure the dimension rewards.

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, front-loaded with the destructive scope, then the conflict/remediation, then permissions. Every sentence carries operational information an agent needs; no filler or restatement of the title.

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 one-parameter destructive tool with no output schema, the description covers the full decision surface: what is destroyed, when the call will fail, how to unblock it, side effects on running missions, and authorization requirements. Nothing an agent needs to invoke it correctly is missing.

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 templateId parameter is documented in the schema as 'Sandbox id (sbt_...)'. The description adds no format or targeting semantics beyond what the schema already provides, so the baseline 3 applies.

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+resource (delete a sandbox template) and scopes it precisely: all versions and builds go with it. That distinguishes it from the near-named sibling delete_sandbox_registry and from archive-style tools without opening a 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?

Explicitly defines the blocking condition (409 while an agent or a project's default sandbox uses it) and the remediation path (repoint via update_project with defaultSandboxTemplateId). It also states when the operation is safe to proceed despite live missions. Nothing about when to use or avoid it is left to inference.

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.