Skip to main content
Glama

Snapshot sandbox state

box_snapshot

Records a named snapshot of sandbox files, registry, services, tasks, autoruns, processes, network connections, and DNS cache for later comparison with box_diff.

Instructions

Record the sandbox's system state (files, registry, services, scheduled tasks, autoruns, processes, network connections, DNS cache) under a name, for later comparison with box_diff. Saved as \mail\out\snap-.json; reusing a name overwrites it. May take several minutes (limit 600 s). Returns per-section item counts. Requires a running sandbox.

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": {
      "name": "<name>"
    },
    "name": "box_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSnapshot label: letters, digits, '-' and '_' only, e.g. 'before-install'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world operation, and the description adds meaningful context beyond that: the output path (<run>\mail\out\snap-<name>.json), the overwrite-on-name-reuse behavior, the possible several-minute runtime with a 600 s limit, the per-section item counts returned, and the running-sandbox prerequisite. It stops short of explaining how overwriting interacts with the declared non-idempotent hint, or what happens if the sandbox stops mid-run, which are the remaining behavioral gaps for a long-running capture.

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?

Three dense sentences, front-loaded with the core action, then persistence/overwrite behavior, then cost and return shape. The parenthetical section list is long but each item is informative; wording is otherwise tight with no filler.

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 tool with no output schema, the description covers cost (timeout), side effects (overwrite), storage location, the return summary, and the precondition. An agent has everything needed to invoke it correctly and set expectations.

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?

Schema coverage is 100% and the schema already documents the name pattern and example. The description still adds real meaning by stating that reusing a name overwrites the prior snapshot, which is a semantic consequence of the parameter that the schema does not convey.

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 ("Record the sandbox's system state") and enumerates exactly what is captured: files, registry, services, scheduled tasks, autoruns, processes, network connections, DNS cache. It also names the paired sibling (box_diff) so the agent can tell what this tool is for versus the other box_* tools.

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?

"for later comparison with box_diff" clearly signals the workflow context in which to use it. It does not spell out exclusions (e.g., when a lighter status call would suffice), but the intended usage is unambiguous.

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