Skip to main content
Glama

Screenshot sandbox

box_screenshot
Read-onlyIdempotent

Capture the sandbox desktop as a PNG and return the saved host path so you can inspect installer dialogs or GUI state without changing the sandbox.

Instructions

Capture the sandbox desktop and return it as a PNG image plus the host path where it was saved (\mail\out\shot-HHMMSS.png). Does not change sandbox state. Use to check installer dialogs or GUI state. Requires a running sandbox.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "box_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive, idempotent, and closed-world, so safety is covered. The description adds value beyond them by disclosing the output path template (<run>\mail\out\shot-HHMMSS.png) and the precondition that a sandbox must be running. It stops short of describing failure behavior when no sandbox is active.

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

Conciseness5/5

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

Four short sentences, each doing distinct work: what is captured, what is returned, what is not mutated, and when to use it. The return format is front-loaded rather than buried.

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?

This is a simple parameterless read tool with no output schema, so the description must carry the return-value burden — and it does, specifying both the image and the on-disk path. The running-sandbox prerequisite is the remaining thing an agent needs before calling, and it is stated.

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?

The tool takes zero parameters, so there is no parameter semantics to document; baseline 4 applies. Nothing in the description confuses the empty schema.

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 specific verb ('Capture') and resource ('the sandbox desktop'), and goes further by declaring the return artifacts (PNG image plus host path). An agent can immediately tell this apart from box_exec or box_status, which operate on commands and state rather than pixels.

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 concrete use case ('check installer dialogs or GUI state') and a hard prerequisite ('Requires a running sandbox'). It does not name an alternative for text-based state checking (e.g. box_status), so the routing guidance is clear but not exhaustive.

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