Skip to main content
Glama

phone_screenshot

Read-only

Capture the phone screen as a PNG image when pixel detail matters, optionally drawing tappable element frames and indexes to verify on-screen state.

Instructions

One screen as an image/png block, when pixels matter; phone_elements for text/targets, phone_screen for the person's live panel. Reuses the settled frame after an observed action. max_side default 1200 (0 = full resolution; an oversized image is stepped down to fit 1.5 MB); overlay=true draws interactive frames with their phone_elements indexes. Capture only for the current task; private holds or offline devices refuse. An image does not prove an action succeeded; check the state or receipt.

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

Input Schema

NameRequiredDescriptionDefault
overlayNoDraw each interactive element's frame and its phone_elements index on the image, to match what you see with the rows you can tap.
instanceNodaemon instance name
max_sideNoLongest side of the image in pixels. Default 1200, which reads fine and costs ~0.9k image tokens instead of ~1.5k at full resolution; ask for 0 (full resolution) only to read very small text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`phone_screenshot`]."
  2. Changed6 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
    • removedInput schema / properties / max_side / default
      Removed value: -null
    • changedInput schema / properties / max_side / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
    • removedInput schema / properties / overlay / default
      Removed value: -null
    • changedInput schema / properties / overlay / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
  3. Changed1 schema field changedv0.27.34
    • addedInput schema / properties / max_side / minimum
      Added value: +0
  4. Changed1 schema field changedv0.27.3
    • addedInput schema / properties / instance
      Added value: +{
      +  "description": "Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure.",
      +  "type": "string"
      +}
  5. First observedv0.21.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond readOnlyHint/openWorldHint: discloses the 1.5 MB size ceiling and automatic step-down, that overlay draws frames with phone_elements indexes, that private holds or offline devices refuse capture, and that the image is not proof of action success. These are exactly the operational traits an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then alternatives, then mechanics, then caveat — a clean ordering with no filler. Sentences are dense and clause-heavy, which costs some readability, but nearly every clause carries distinct information.

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?

With no output schema, the description still characterizes the return value (a single png block, size-limited, optionally annotated with element indexes) and states failure modes (private holds, offline devices). Nothing essential for correct invocation is missing.

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, but the description adds non-schema information: the 1.5 MB cap with downscaling behavior and that overlay indexes correspond to phone_elements rows. The rationale for the default (token cost) is a bonus rather than a new semantic.

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 concrete verb and resource ('One screen as an image/png block') and immediately scopes it to when pixels matter, distinguishing it from phone_elements (text/targets) and phone_screen (live panel). An agent can pick correctly without opening any schema.

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?

Explicit routing: use this when pixels matter, phone_elements for text/targets, phone_screen for the live panel. It also adds a usage constraint ('capture only for the current task') and notes reuse of the settled frame after an observed action, which tells the agent when a fresh capture is meaningful.

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