Skip to main content
Glama

Diff two sandbox snapshots

sandbox_diff

Diff two Windows Sandbox snapshots to report added, removed, and changed programs, services/drivers, autorun/environment values, files, and registry keys as Markdown.

Instructions

What changed between two snapshots: installed programs, services/drivers, autorun/environment values, files and registry keys added/removed/changed. New folders and keys are collapsed to their topmost new parent. Markdown.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "sandbox_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
maxNoMax entries per list (default 200).
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add two genuinely useful disclosures beyond the schema: results are rendered as Markdown, and newly added folders/registry keys are collapsed to their topmost new parent (an output-shaping rule an agent could not guess). It does not state that the operation is read-only, nor what happens with invalid or identical snapshot IDs, nor any cost/size limits.

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?

Two compact sentences with the substance front-loaded and zero filler; the enumerated change categories are efficiently packed. The trailing 'Markdown.' fragment is terse but conveys output format, so the wording is justified rather than wasteful.

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 three-parameter, no-output-schema, no-annotation tool, the description covers what is compared, how nesting is collapsed, and the return format. It leaves gaps on the meaning/direction of 'from' vs 'to', on error behavior for bad IDs, and on the practical limit of the comparison – enough missing that an agent could still call it imprecisely.

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 only 33% – only 'max' is documented in the schema, and 'from'/'to' are bare patterned strings. The description partially compensates by framing the two inputs as snapshots being compared, implying they are snapshot identifiers and that 'from' precedes 'to'. It never explicitly defines the direction of the comparison or the units/default of the 200-entry cap, so the compensation is partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('What changed between two snapshots') and then enumerates the exact diff categories: installed programs, services/drivers, autorun/environment values, files and registry keys. That is far more specific than the title alone. It stops short of naming the sibling that produces snapshots (sandbox_snapshot) or any other comparator, so routing between siblings is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no stated prerequisites (e.g. that the two IDs must come from prior sandbox_snapshot calls), and no alternatives mentioned. The only usage signal is indirect: the enumerated diff content implies a before/after comparison workflow.

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