Skip to main content
Glama

Start Windows Sandbox

sandbox_start

Boots a fresh, ephemeral Windows Sandbox with an elevated admin user and connects the guest agent, enabling isolated testing of untrusted files or apps before the sandbox is destroyed.

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses ephemerality, that contents are destroyed by sandbox_stop, the single-instance limit, the elevated-admin privilege level inside the guest, and the approximate startup cost. It also clarifies that host-side artifacts (screenshots, copied files, audit log) survive in runDir, which is genuinely non-obvious behavior.

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 core action, then the exclusivity constraint, then the timing and artifact-persistence details. Every sentence delivers information an agent would otherwise have to discover by failing.

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 five-parameter, all-optional, annotation-free tool with no output schema, the description covers lifecycle, cost, isolation posture, and post-stop artifact retention. The only gap is the failure mode when a sandbox is already running, but the exclusivity rule is stated clearly enough to infer it.

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 enum and default details for vGpu, window, network, internet, and memoryMB are already documented in the schema. The description adds no parameter-level guidance of its own beyond the generic mention of an elevated admin user. Baseline 3 is appropriate when the schema does the heavy lifting.

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 uses a specific verb and resource ('Boot a fresh, ephemeral Windows Sandbox') and qualifies the environment ('clean Windows install, elevated admin user'). It also names the companion lifecycle tool sandbox_stop, so an agent can distinguish start from teardown without opening another schema.

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 states the key operational constraint for when this tool applies: only one sandbox can exist at a time, so it must precede other sandbox work and follow a stop. It also gives a realistic latency expectation (~20-40s). It stops short of explicitly naming prerequisites or saying what happens if a sandbox already exists.

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