Skip to main content
Glama

Start Windows Sandbox

sandbox_start

Boot a fresh, ephemeral Windows Sandbox and connect its elevated guest agent for isolated app testing; stopping destroys all guest state.

Instructions

Boot a fresh, ephemeral Windows Sandbox (clean Windows install, elevated admin user) and connect the guest agent. Only one sandbox can exist at a time; everything inside is destroyed by sandbox_stop. Takes ~20-40s. Host-side artifacts (screenshots, copied-out files, audit log) stay in runDir after the sandbox is gone.

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

Input Schema

NameRequiredDescriptionDefault
vGpuNoGPU acceleration (default true). false = software rendering, smaller attack surface.
windowNoSandbox window state on the host (default normal, so you can watch).
networkNoon (default): normal internet. firewall: guest firewall blocks outbound (code running as admin could undo it). off: no network adapter at all (strongest isolation; the agent talks over shared folders, a bit slower).
internetNoDeprecated: false is the same as network="off".
memoryMBNoMemory for the sandbox in MB.
idleMinutesNoIdle auto-stop after N minutes without desktop input (default 30, env SANDBOX_MCP_IDLE_MINUTES).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-alpha.3

TDQS

A4.4/5.0
Behavior5/5

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

With zero annotations, the description carries the full burden and does so well: it discloses ephemerality, that contents are destroyed by sandbox_stop, that the guest runs as an elevated admin, the single-instance limit, expected latency, and that host-side artifacts survive in runDir. These are exactly the side-effect and lifecycle facts an agent needs before a stateful, resource-consuming call.

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 front-loaded sentences with no filler: identity and privilege first, then exclusivity and destruction, then timing and artifact persistence. Every clause conveys actionable information.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 6-parameter stateful tool with no annotations and no output schema, the definition covers lifecycle, timing, privilege level, and where outputs land. It is only slightly short on failure behavior — e.g., what happens if a sandbox is already running — which an agent would want before calling.

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%, so every parameter (vGpu, window, network, internet, memoryMB, idleMinutes) is already documented in the schema, including defaults and tradeoffs. The description adds no parameter-level meaning beyond noting runDir as the artifact destination, so 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 and resource ('Boot a fresh, ephemeral Windows Sandbox') plus the key qualifiers (clean install, elevated admin) and that the guest agent gets connected. It also names the sibling that undoes the operation ('destroyed by sandbox_stop'), so an agent can distinguish start from stop without opening schemas.

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?

Gives real operational context for when this call is appropriate: exclusivity ('Only one sandbox can exist at a time') and cost ('~20-40s'), both of which shape whether an agent should call it now. It stops short of explicitly routing to alternatives such as checking sandbox_status first or naming which follow-up tool to use after boot.

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