Skip to main content
Glama

Install trial (copy, run, diff)

box_trial
Destructive

Runs an install-and-observe trial in a disposable Windows sandbox: copies a host file or folder, executes a command, snapshots before/after, and returns exit code, logs, and change diff.

Instructions

One full install-and-observe iteration in a single call: (start if none is running, or reset if clean=true) -> snapshot 'pre' -> copy host_path in -> run command -> snapshot 'post' -> diff. Returns exit code, duration, the last 4000 chars of stdout and 2000 of stderr, and the change summary. Overwrites earlier 'pre'/'post' snapshots. Destroys the previous sandbox state when clean=true. Use box_exec/box_snapshot/box_diff instead for finer control.

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": {
      "host_path": "<host_path>",
      "command": "<command>"
    },
    "name": "box_trial"
  }
}

Input Schema

NameRequiredDescriptionDefault
cleanNoIf a sandbox is already running, reset it to a clean one first (true) or reuse it as-is (false).
commandYesPowerShell command to run in the sandbox; '{in}' is replaced with the copied item's guest path, e.g. "& '{in}' /S".
networkNoNetwork mode if a sandbox is booted or reset: 'on' or 'off'. Default: 'on' for a new sandbox, current mode on reset.
snapshotNoTake 'pre'/'post' snapshots and diff them. Set false to skip (snapshots can take minutes).
host_pathYesAbsolute path of a file or folder on the Windows host to copy into the sandbox, e.g. C:\builds\setup.exe.
timeout_sNoSeconds before the command is killed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint, openWorldHint, idempotentHint=false), the description discloses concrete side effects: it overwrites earlier 'pre'/'post' snapshots, destroys prior sandbox state when clean=true, and that snapshots can take minutes. It also documents return contents and truncation limits (4000 stdout chars, 2000 stderr), which the annotations cannot convey.

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?

The pipeline is front-loaded and compact, with returns, warnings, and alternatives in a logical order. The single arrow-chained sentence is dense but readable; no filler sentences are present.

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 composite tool with no output schema, the description covers the pipeline steps, what is returned (exit code, duration, truncated stdout/stderr, change summary), and destructive side effects. An agent has everything needed to invoke it correctly or choose a sibling.

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 100%, so each parameter already carries its own description, including clean, snapshot cost, network defaults, and the '{in}' substitution. The description reinforces the destructive consequence of clean=true and the '{in}' placeholder, but adds little syntax or meaning the schema does not already provide, so 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?

The description names a specific composite operation and enumerates its exact sequence (start/reset -> pre snapshot -> copy host_path -> run command -> post snapshot -> diff), so the agent knows precisely what one call does. It is clearly distinct from the single-step siblings it names.

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

Usage Guidelines5/5

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

It explicitly routes the agent elsewhere: 'Use box_exec/box_snapshot/box_diff instead for finer control,' and states the condition (clean=true) that resets versus reuses a sandbox. When-to-use and when-not-to-use are both present.

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