Skip to main content
Glama

screenshot

Capture the current iPhone screen as a JPEG at a set pixel width, so coordinates read from the image map directly to points for passing to action tools.

Instructions

Current screen as JPEG, width px wide. The default 402 makes 1 px = 1 point on a 402-point-wide iPhone, so coordinates read off the image can be passed to action tools as they are.

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
widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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 load and does well: it discloses the return format (JPEG), that it captures only the current screen, and the coordinate system mapping that makes the output actionable. It does not mention whether the app must be foregrounded or how the image behaves for non-iPhone screen sizes.

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?

Two sentences, front-loaded with what the tool produces, then the rationale for the default. Every clause earns its place, and no padding remains.

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?

For a one-parameter, no-output-schema capture tool, the description supplies the output format, coordinate semantics, and default rationale, which is nearly everything an agent needs. Only foreground/precondition details are missing.

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

Parameters5/5

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

Schema coverage is 0%, yet the description fully explains the single parameter: width in pixels, its intended value of 402, and why that value yields 1 px = 1 point on a 402-point-wide iPhone. It even explains the downstream payload, that image coordinates can be passed verbatim to action tools.

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 names the specific resource (current screen) and the output format (JPEG), which distinguishes it from input-action siblings like tap and swipe. It does not explicitly contrast with observe, which likely also reports screen state, so sibling differentiation is implied rather than stated.

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?

It states the intended workflow clearly: read coordinates off the image and pass them to action tools. There is no explicit when-not guidance, such as when to prefer observe for structured data instead of a pixel image.

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