Skip to main content
Glama

Screenshot

screenshot

Capture the current React Native app screen for visual inspection; return an inline JPEG or save PNG/JPEG to a specified file path.

Instructions

Capture the current screen. Without output_path returns an inline JPEG downscaled to 800px (pass full_res:true for the native PNG); an image that would still be too large for the caller fails with an actionable error instead of being returned. With output_path saves to a file (format png/jpeg; mask is iOS-only) and returns the path.

Input Schema

NameRequiredDescriptionDefault
maskNo
deviceNo
formatNo
full_resNo
output_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the 800px JPEG downscale default, the native PNG override, the actionable-error failure path when the image is too large, and that mask is iOS-only. It omits operational context such as permission or device prerequisites.

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?

Two sentences, front-loaded with the core action, with the two modes laid out in a readable order. The second sentence is dense and slightly run-on, but every clause carries distinct information.

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?

No output schema and no annotations, yet the description states what is returned in both modes (inline image vs. file path) and the failure behavior, which is the key completeness requirement here. Only the undocumented `device` parameter keeps it from being fully self-sufficient.

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?

Schema description coverage is 0%, so the description must compensate, and it explains four of five parameters: output_path (save vs. inline), full_res (native PNG), format (png/jpeg), and mask (iOS-only). The `device` parameter is left entirely unexplained, which is the main remaining gap.

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?

Opens with a specific verb and resource ('Capture the current screen') and immediately splits into two well-defined modes (inline return vs. file save). It is clear what the tool does, but it never names the obvious alternatives (record_video, read_screen_text) to sharpen the boundary.

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 explicit conditions for the two main branches: 'Without output_path...' versus 'With output_path...', plus the full_res escape hatch for native resolution. It tells the agent how to choose a mode, but offers no guidance about when to reach for this tool instead of sibling capture/inspection tools.

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