Skip to main content
Glama

iph_read

Reads the iPhone's current screen as a list of accessibility elements, providing coordinates and labels needed before interacting; only on-screen elements unless configured otherwise.

Instructions

Read the iPhone's current screen as a list of elements (id, role, label, value, frame in points, traits, enabled). Read before acting; coordinates and labels come from here. Only on-screen elements unless all=true.

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": "iph_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoInclude elements outside the screen.
appNoOnly the foreground app's elements.
fullNoWait ~0.6 s more for accessibility identifiers.
max_age_msNoAccept a cached reading this recent instead of asking the phone (a fresh read takes about 1.2 s).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does disclose the important traits: it is a read, default scope is on-screen only, a fresh read costs about 1.2 s, `full` adds ~0.6 s, and `max_age_ms` can serve cached data. It omits prerequisites (does it require iph_connect?) and what happens when no device is available.

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?

Three short sentences, front-loaded with the return shape, then the sequencing rule, then the scoping caveat. No redundant or decorative wording.

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 exists, and the description compensates by listing the returned fields and noting frame units in points. For a four-optional-flag read tool that is close to complete; only error/precondition behavior is unaddressed.

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?

Schema coverage is 100%, so every parameter already carries its own description. The prose only reinforces the `all` flag's default scoping; it adds nothing about `app`, `full`, or `max_age_ms` beyond what the schema states, so the baseline 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?

States a specific verb (read) and resource (the iPhone's current screen) and enumerates exactly what comes back: id, role, label, value, frame in points, traits, enabled. That element-list return shape also implicitly separates it from image-capture siblings like iph_screenshot.

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?

"Read before acting; coordinates and labels come from here" gives a clear ordering rule: this is the source of truth for taps and typing. It stops short of naming alternatives or stating when not to call it (e.g., when a visual screenshot is preferable).

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