Skip to main content
Glama

Use a cloud iPhone's screen

phone_ui_act
Destructive

Cloud iPhone: Do steps on the Simulator in order and get back what changed. Steps: tap #id | tap "label" | tap @x,y | fill #id text | type text | scroll down | scroll down until "label" | swipe left ["row"] | hold "label" [seconds] | set #slider 0-100 | back | home | key return | wait "text" [seconds] | gone "text" | wait 2. Typed text is read back; a tap that changes nothing is reported; the first failing step stops the rest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steps": "<steps>"
    },
    "name": "phone_ui_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesOne step per item, in the words phone_ui_look prints
deviceNoName or UDID; default: the one in use
session_idNoThe phone; default: the account's running phone
request_keyNoRepeat a lost call with the same key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true, and idempotentHint=false, but the description adds genuinely new behavioral facts: typed text is echoed back, a no-op tap is reported, and execution halts at the first failing step. That partial-failure contract matters a lot for a destructive, non-idempotent tool. It still doesn't say whether navigation steps (back/home) can destroy screen state or how much of a partial run is left applied.

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 action and result, then a compact pipe-delimited grammar list, then three short behavioral clauses. It is dense almost to the point of being cryptic, but nothing is redundant; the long step enumeration is load-bearing.

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 four-parameter, destructive, no-output-schema tool, the definition supplies the step vocabulary, failure semantics, and echo behavior an agent needs to construct a call. What is thin is the return shape ('what changed') and the effect of partial failures on device state, though the absence of an output schema makes the former partly excusable.

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 device, session_id, and request_key are already documented and the baseline would be 3. The description goes beyond the schema by spelling out the actual step DSL (tap/fill/scroll/swipe/hold/set/key/wait/gone with optional arguments), which the schema only alludes to with 'in the words phone_ui_look prints'. It does not document optional modifiers for the non-step parameters, but those are schema-covered.

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?

States a specific verb and resource ('Do steps on the Simulator in order') plus the outcome ('get back what changed'), which is far more informative than the title. It does not name a sibling tool or say how this differs from phone_ui_look or phone_device_use, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The implicit message is 'batch sequential UI actions here', reinforced by the failure rule ('the first failing step stops the rest') and the step grammar. There is no explicit statement of when to prefer this over single-action siblings or interactive alternatives like phone_device_use, so usage must be inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources