Skip to main content
Glama

Take screenshot

computer_screenshot

Capture screens, windows, or display regions for AI-driven GUI automation. Returns image and metadata, with optional file saving for cross-platform use.

Instructions

Capture the screen/window/display. Returns metadata + image content; optionally saves to a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNo
targetNoUnified device target (spec §14). Defaults to this machine with auto-detected platform.
savePathNo
windowIdNo
displayIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/5.0
Behavior3/5

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

Without annotations, the description carries the full behavioral burden. It usefully states that it returns metadata plus image content and can optionally save to a file, but it omits permissions, read-only status, overwrite behavior, and target requirements.

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 one-sentence description is front-loaded and free of waste. It is concise, though arguably too sparse for a tool with complex nested parameters.

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

Completeness2/5

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

With no output schema, no annotations, and a nested target object, the description is incomplete. It does not explain return metadata, target selection, region capture, or the save-path behavior in enough detail for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, and the description does not explain the five parameters. It vaguely implies saving to a file but never covers region, target, windowId, or displayId.

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?

States a specific verb ('Capture') and resource ('screen/window/display'), so the basic action is clear. However, it does not distinguish this tool from sibling computer_* tools or clarify which capture target is intended.

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?

No guidance on when to use this versus alternatives such as computer_inspect or computer_locate. The description only says what it does, leaving selection to inference.

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