Skip to main content
Glama

phone_screen_frame

Read-only

Fetch a live or reusable PNG frame for the iphone-use app panel; returns clamped image dimensions plus status and error data so failed captures are reported, not fabricated.

Instructions

Internal frame transport for the iphone-use MCP Apps panel; models use phone_screenshot for a still image and phone_elements for text. Returns structuredContent with status, frame (mime_type=image/png and base64 data), ok and error. A private hold returns frame=null; an empty or failed capture is reported rather than invented pixels. max_side is clamped to 200–1000; fresh bypasses the reusable frame. The panel calls this with visibility app; do not poll it from model turns or use it for health checks.

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_screen_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
freshNoCapture now instead of reusing the settled or live frame.
instanceNodaemon instance name
max_sideNoLongest side of the frame in pixels (200–1000, default 600).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`phone_screen_frame`] (called by the screen panel only)."
  2. Changed6 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / fresh / default
      Removed value: -null
    • changedInput schema / properties / fresh / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • 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"
  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.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is known. The description adds genuinely useful behavior beyond that: the structuredContent shape, a private hold returning frame=null, and failed/empty captures being reported rather than fabricated. It stops short of pacing or cost details, but against the annotation baseline this is solid added context.

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?

Four sentences, front-loaded with the identity and the alternatives, then return shape, then constraints. No filler; each sentence carries either routing, return semantics, or a prohibition.

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?

No output schema exists, so the description compensates by describing structuredContent (status, frame with mime_type and base64 data, ok, error) and the null-frame case. For a zero-required-parameter transport tool this leaves nothing an agent needs unresolved.

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 all three parameters are already documented, and the 200–1000 clamp and default 600 are restated rather than added. The 'fresh bypasses the reusable frame' wording slightly extends the schema's 'reusing the settled or live frame', but 'instance' gets no description-level treatment. Baseline 3 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 mechanism ('Internal frame transport for the iphone-use MCP Apps panel') and immediately distinguishes itself from the two nearest siblings by naming both and their purposes (phone_screenshot for a still image, phone_elements for text). An agent can place this tool without opening another 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?

Gives explicit negative guidance most tools lack: 'do not poll it from model turns or use it for health checks', and identifies the real caller (the panel, with visibility app). Combined with the sibling routing for stills and text, both the when and the when-not are covered.

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