Skip to main content
Glama

Take Screenshot

mobile_take_screenshot
Read-only

Capture a mobile device screenshot and obtain a short-lived snapshot ID for tapping screen coordinates. Use the ID to click on points read from the image.

Instructions

Take a screenshot of the mobile device and create a short-lived, frame-validated snapshot. Use the returned snapshotId with mobile_click_on_screen_at_coordinates and coordinateSpace=screenshot when tapping a point read from this image. Do not cache this result beyond the snapshot lifetime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoScale factor (0.0-1.0). Ignored if maxSize is provided.
deviceYesThe device identifier to use. Use mobile_list_available_devices to find which devices are available to you.
maxSizeNoMaximum width/height in pixels, keeping aspect ratio (up to 16384). Defaults to 1024.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds valuable behavioral details: the snapshot is short-lived and frame-validated, and it instructs not to cache beyond the snapshot lifetime. This goes beyond the safety profile provided by annotations and gives crucial operational 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 three sentences with no redundancy. The purpose is front-loaded, followed by usage guidance and a caching warning. Each sentence contributes essential 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?

The description compensates for the lack of an output schema by mentioning the returned snapshotId and its usage. It covers the tools purpose, output lifetime, and downstream interaction. Minor omissions (e.g., failure modes, precise meaning of 'frame-validated') are not critical for an agent to invoke it correctly.

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?

The schema already covers all three parameters (device, scale, maxSize) with full descriptions at 100% coverage. The tool description does not add any parameter-specific meaning beyond the schema, so the baseline score of 3 applies.

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?

The description states a specific verb ('Take a screenshot') and resource ('mobile device'), and clarifies the output as a 'short-lived, frame-validated snapshot'. It distinguishes itself from similar tools like mobile_save_screenshot by emphasizing the temporary nature, so an agent can tell them apart without opening schemas.

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 guidance on how to use the returned snapshotId with mobile_click_on_screen_at_coordinates and coordinateSpace=screenshot, and explicitly warns not to cache beyond the snapshot lifetime. It does not, however, explicitly contrast with mobile_save_screenshot for persistent screenshots, leaving a small gap in when-not-to-use guidance.

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