Skip to main content
Glama

screenshot

Read-only

Capture the device screen as a JPEG and return its dimensions, scaled to screen points by default so image coordinates match tap coordinates. Use fullRes for native pixels.

Instructions

Take a JPEG screenshot of whatever the device is showing, and return it with its size. By default it is scaled to screen points, so image pixel coordinates equal tap coordinates; fullRes images are larger and their coordinates can't be passed to tap. Use it to check how a screen looks or to see content without accessibility labels; use describe_ui to read text or find elements to tap.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device.
fullResNoNative pixel resolution instead of points

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses critical behavior: the default output is scaled to screen points so pixel coordinates match tap coordinates, while fullRes images are larger and cannot be passed to tap. That coordinate-mapping detail is exactly the kind of operational context an agent needs for screenshots.

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 front-loaded with the action and return format, then moves to coordinate behavior and usage guidance. Every sentence carries useful information, and there is no redundant restatement of the tool name or annotations.

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

Completeness5/5

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

For a two-parameter screenshot tool with no output schema, the description covers the essential action, output format, default scaling behavior, coordinate implications, and when to use describe_ui instead. The remaining device-selection details are fully documented in the schema, so nothing important is missing for correct invocation.

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 coverage is 100%, so the baseline is 3, and the description adds meaningful semantics for fullRes by explaining that native-resolution images are larger and their coordinates cannot be used with tap. It does not add detail for the device parameter beyond what the schema already provides, so it improves on the baseline but does not fully explain both parameters.

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 and resource: take a JPEG screenshot of whatever the device is showing and return it with its size. It also distinguishes the tool from describe_ui, so an agent can tell what this tool is for without needing sibling schemas.

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

Usage Guidelines5/5

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

It explicitly says when to use screenshot: to check how a screen looks or to see content without accessibility labels. It also names the alternative describe_ui for reading text or finding elements to tap, giving a clear routing rule.

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