Skip to main content
Glama

capture

Capture a screenshot of a window, screen, or foreground app to diagnose UI errors and verify layouts. Specify window title, process name, or crop region for targeted captures.

Instructions

Capture a screenshot of a window by title or app name. Omit both window_title and process_name to capture the currently focused foreground window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cropNoOptional region to crop from the captured window. Coordinates are relative to the window. Values exceeding window dimensions are clamped.
modeNoCapture mode: 'window' (default) captures a specific window, 'screen' captures the full primary monitor. In screen mode, window_title and process_name are ignored. Screen capture requires '__screen__' in the allowlist.window
formatNoImage format: 'png' (default, lossless) or 'jpeg' (smaller, lossy)
qualityNoJPEG quality 1-100 (default: 85). Ignored for PNG.
dpi_modeNoDPI scaling: 'native' (default, raw pixel resolution) or 'logical' (scaled to match visible UI size on HiDPI displays). Reduces payload size on high-DPI monitors.
max_widthNoMaximum image width in pixels. If set, wider screenshots are proportionally scaled down.
output_pathNoOptional file path or directory to save the screenshot PNG to
process_nameNoThe process name to capture (e.g. 'chrome', 'Unity'). More stable than window titles which change dynamically.
window_titleNoThe window title or app name to capture. Omit to capture the foreground window.
copy_to_clipboardNoIf true, also copies the captured image to the Windows clipboard after redaction has been applied. The base64 image is still returned. Rejected when frontmost mode is used (window identity unknown before capture).
Behavior2/5

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

With no annotations, the description carries full burden but only says 'capture', which is essentially the tool's name. It does not disclose whether the operation is read-only, what happens if the window is not found, or the return format/side effects. The schema descriptions provide some behavioral details, but the description itself adds no safety or failure 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?

The description is two sentences, front-loaded with the core purpose and followed by an important usage tip. Every word earns its place, with no redundancy or filler.

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?

The tool has 10 parameters and no output schema, so the description should explain the return value and any nuances like screen mode. The schema covers parameter semantics well, but the description omits the output format (base64 image) and screen capture behavior. It is adequate for basic use but incomplete for full understanding.

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% for all 10 parameters, so the schema fully documents each parameter. The description only repeats window_title and process_name without adding new meaning, thus meeting the baseline but not exceeding it.

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 clearly states the tool captures a screenshot of a window by title or app name, using a specific verb and resource. It does not explicitly differentiate from sibling tools like 'see' or 'query', but the action is unambiguous.

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?

The description provides clear usage context: it explains how to capture a specific window (by title or process name) and that omitting both captures the foreground window. However, it does not mention when to use this tool versus alternatives or mention screen capture mode.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florian-priegnitz/A-Eyes'

If you have feedback or need assistance with the MCP directory API, please join our Discord server