Skip to main content
Glama

Snapshot sandbox state

sandbox_snapshot

Capture a named snapshot of files, registry keys, services, and autoruns inside a Windows sandbox, then compare two snapshots with sandbox_diff to see exactly what changed.

Instructions

Record files (Program Files, ProgramData, user profiles, drivers, scheduled tasks, top of C:\ and System32), all HKLM\SOFTWARE and HKCU\Software keys, services/drivers, autoruns, environment and Add/Remove Programs entries under a name. Known Windows background noise is filtered out. Takes ~15s. Compare two with sandbox_diff.

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

Input Schema

NameRequiredDescriptionDefault
nameYese.g. "before", "after-install"
excludeNoExtra file or registry (HKLM\..., HKCU\...) paths to ignore. A trailing * makes it a prefix match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and does substantial work: it discloses capture breadth (a specific allowlist of paths and hives), that known Windows background noise is filtered out, and a ~15s runtime so the agent can budget time. It omits whether the sandbox must be running, whether the operation blocks, and any failure modes, keeping it below a top score.

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 short sentences, front-loaded with capture scope before the noise-filtering and timing notes and the sandbox_diff pointer. The long parenthetical inventory is dense but each item is decision-relevant for judging whether the snapshot covers the agent's target area; there is no filler or repetition.

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

Completeness3/5

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

For a two-parameter tool with no annotations and no output schema, the description covers what is captured but never states what is returned — a snapshot name/handle, a size, or a confirmation — leaving the agent to guess how to reference the snapshot later. Prerequisites and expected error behavior are also unaddressed, so it is adequate but has real gaps.

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 both parameters are documented there, including the prefix-match convention for a trailing '*' on exclude entries. The description only adds the phrase "under a name" and never mentions the exclude parameter, so it contributes essentially nothing beyond the schema — the 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?

Opens with a concrete verb ("Record") and enumerates the exact artifacts captured: specific file locations, HKLM\SOFTWARE and HKCU\Software registry hives, services/drivers, autoruns, environment, and Add/Remove Programs entries. It also explicitly names the sibling it pairs with ("Compare two with sandbox_diff"), so an agent can separate it from sandbox_diff, sandbox_exec, and sandbox_windows without opening any 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?

Gives a clear downstream pairing ("Compare two with sandbox_diff"), which tells the agent this is the first half of a before/after workflow, reinforced by the schema's "before"/"after-install" examples. It stops short of stating prerequisites (is the sandbox required to be started?) or when a snapshot is unnecessary, so it lacks full when/when-not coverage.

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