Skip to main content
Glama

查看 iPhone 畫面

iphone_screen
Read-onlyIdempotent

Capture the paired iPhone screen as PNG pixels and retrieve the same frame by observationId to avoid another device capture; use iphone_usb for input.

Instructions

Read the paired iPhone screen as actual image pixels. Omit observationId for a fresh PNG. Supply the returned observationId to retrieve the same pixels, without another device capture. Use iphone_usb for input.

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

Input Schema

NameRequiredDescriptionDefault
observationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond that: it discloses that a supplied observationId serves cached pixels rather than triggering a new device capture, which is a behavioral trait an agent could not infer from the annotations. It does not cover failure behavior when no device is paired.

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 core action and return type, then the parameter branching, then the sibling routing hint. No redundant wording and nothing buried.

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?

With no output schema, the description correctly takes on the burden of telling the agent it receives PNG image pixels. Combined with the caching semantics, an agent has what it needs to call correctly. Minor gap: no mention of prerequisites such as an active pairing or what happens if the device is unavailable.

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 description coverage is 0% for the single observationId parameter, so the description must carry the meaning. It does: it says where the value comes from (returned by a prior call), what omitting it does (fresh PNG), and what supplying it does (retrieve identical pixels without another capture).

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 gives a specific verb and resource ('Read the paired iPhone screen') plus the concrete return form ('actual image pixels', 'PNG'), which is more than a restatement of the tool name. It also distinguishes itself from the input-side sibling by directing input to iphone_usb.

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 explicitly states the two usage modes: omit observationId for a fresh capture, supply it to re-fetch the same pixels without a new device capture. It also routes input handling to iphone_usb. What is missing is any exclusion relative to other screen/receipt siblings or a precondition such as a paired device being required.

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