Skip to main content
Glama

Run an untrusted file and report what it does

sandbox_detonate

Executes untrusted Windows files in a disposable sandbox, records process, DNS, network, file, registry, and autorun activity, and returns a behavioral report.

Instructions

One shot: boot a fresh sandbox (no network adapter by default), turn on Windows process, connection and DNS auditing, run the file the way a double-click would, watch it, then destroy the sandbox. Reports every process it started (with command lines), names it looked up, connections it tried, files/registry/autoruns/services/scheduled tasks it changed, windows and screenshots, plus plain-language findings (heuristics, not a verdict). Fails if a sandbox is already running.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "sandbox_detonate"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo
fileYesHost path to an .exe, .msi, .ps1, .cmd, .bat, .js, .vbs, .wsf or .hta.
fullNoWatch the whole duration even after everything it started has exited.
keepNoLeave the sandbox running afterwards (it keeps whatever the file did).
excludeNoExtra noisy paths to ignore in the snapshots.
networkNooff (default): no adapter; name lookups are still recorded. firewall: also records the addresses it tries (blocked by the guest firewall, which admin code could undo). on: real internet; only for files you are prepared to let talk to the world.
durationSecNoWatch for at most this long (default 60).

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, the description carries the full burden and does so: it discloses the default network isolation, what telemetry is collected, that findings are heuristics rather than a verdict, that the sandbox is destroyed at the end, and the one failure mode. That is unusually complete behavioral disclosure for a destructive, isolated-execution tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the lifecycle in the first clause, and every clause carries information. The second sentence is a long comma-separated enumeration that is dense but not padded; slightly tighter grouping of the artifact list would read better.

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?

No output schema exists, so the description must describe returns, and it does: process list with command lines, DNS lookups, connections, file/registry/autorun/service/scheduled-task changes, windows, screenshots, and findings. An agent knows exactly what to expect and what preconditions to satisfy.

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 86%, so the schema already documents each parameter, and the description largely restates it (network default off, sandbox teardown). It adds a little framing around the network modes but no new syntax or constraints beyond what the schema provides; 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 concrete verb and resource ('run the file the way a double-click would') plus the full lifecycle: boot, audit, run, watch, destroy. The 'one shot' framing and 'Fails if a sandbox is already running' distinguish it from the persistent-sandbox siblings like sandbox_start/sandbox_run without needing to name them.

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?

Makes the usage context clear: this is the self-contained detonation path, it requires no pre-existing sandbox, and it assumes a default no-network posture. It falls short of explicitly naming the alternative workflow (start + exec + stop) or saying when-not to use it beyond the already-running failure condition.

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