Skip to main content
Glama

Stop sandbox

box_stop
DestructiveIdempotent

Destroy the disposable Windows sandbox and release its host-wide lock, returning the host run folder path where copied files, screenshots, snapshots, and diffs remain.

Instructions

Destroy the sandbox (everything inside it is deleted) and release the host-wide lock. Files already copied out, screenshots, snapshots and diffs stay in the host run folder, whose path is returned. Safe to call again: returns an 'already off' message. Also happens automatically when the MCP client disconnects.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description adds substantial context: exactly what is lost (everything inside), what survives (files copied out, screenshots, snapshots, diffs in the host run folder), that the run-folder path is returned, and the 'already off' response on repeat calls. The disconnect-triggered auto-shutdown is behavior an agent could not infer from annotations at all.

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?

Four short sentences, front-loaded with the destructive action and lock release, then the persistence guarantee, then idempotency, then the auto-disconnect note. No sentence is filler and the ordering matches what an agent needs to decide before calling.

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?

With zero parameters and no output schema, the description carries the return-value burden itself, and it does: it names the run-folder path as the return and the 'already off' message on repeat calls. For a destructive no-arg tool this is everything an agent needs to call it safely.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly avoids inventing options or flags.

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 opens with a specific verb and resource: 'Destroy the sandbox ... and release the host-wide lock,' plus a scope note that everything inside is deleted while copied-out artifacts survive. That is far clearer than the title alone. It stops short of naming a sibling (e.g. box_reset) to contrast with, so the stop-vs-reset boundary is left to inference.

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 gives real usage context: the call is safe to repeat ('returns an already off message') and it also fires automatically when the MCP client disconnects, so an agent knows calling it is not strictly required. What's missing is an explicit 'use box_reset instead if you want to keep the sandbox' exclusion.

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