Skip to main content
Glama

screenshot

Capture a still PNG of a screen, monitor, window, or region; returns the saved file path and an inline image for direct viewing.

Instructions

Capture a single still frame (PNG) of a target (full screen, a monitor, a window by title, or a region). Returns the image path, plus the image inline so the model can view it directly (disable with returnImage: false).

Input Schema

NameRequiredDescriptionDefault
outputNoOptional output .png path. Defaults to a file under SCREENCAST_HOME/screenshots.
targetYesCapture target: 'full' | 'monitor:<index>' | 'window:<title>' (or window:exe=<app.exe> / window:hwnd=<handle>) | 'region:<x>,<y>,<w>,<h>'. window: captures the on-screen rectangle the window occupies as currently displayed - it must be visible, on top, and not minimized (case-insensitive exact title, else substring; topmost match wins).
backendNogdigrab (default, ~0.2 s) captures what is visible on screen. 'wgc' (window: targets only, FFmpeg 8+) captures the window's own surface through Windows Graphics Capture, even when other windows cover it; slower (~1-2 s).
overwriteNoAllow replacing an existing file at the output path (default false).
exactTitleNoFor window: targets, match only a window whose title equals the given title (case-insensitive); never fall back to a substring match. Default false.
returnImageNoAlso return the screenshot inline as an image the model can view directly (default true). The PNG on disk is always full resolution.
maxImageWidthNoDownscale the inline image to at most this width (default 1280).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.32.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the return behavior (image path plus inline image, with returnImage: false to disable), but it does not mention that the tool writes a PNG file to disk by default, how overwrite behavior works, or any permission/failure considerations. The schema covers those details, but the description alone gives only partial behavioral context.

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?

Two tightly written sentences with zero waste. The core purpose is front-loaded, followed by the important return behavior and the key opt-out parameter.

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

Completeness4/5

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

Given the rich input schema and no output schema, the description is largely complete for correct invocation: it states the capture target categories and explains what is returned, including inline image behavior. It is slightly thin on side effects and sibling selection guidance, but the schema fills most structured 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%, so the schema already documents all seven parameters thoroughly. The description adds only a small amount beyond the schema by noting that returnImage: false disables inline image return. Baseline 3 is appropriate because the schema does the heavy lifting.

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 states a specific verb and resource: 'Capture a single still frame (PNG) of a target', and enumerates the target types (full screen, monitor, window, region). It distinguishes itself from recording siblings by emphasizing 'single still frame', but it does not explicitly name or contrast with alternatives such as sample_frames or start_recording.

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

Usage Guidelines3/5

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

Usage is implied by the purpose: use this when a one-off screenshot is needed. However, there is no explicit when-to-use/when-not-to-use guidance and no mention of alternatives like sample_frames, zoom, or recording tools. The target options describe input format, not when this tool should be selected over siblings.

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