Skip to main content
Glama

Control an app on a cloud iPhone

phone_app_control
Destructive

Cloud iPhone: Launch, install, stop or remove an app; open a URL or deep link; grant, revoke or reset permissions; set location; send a push; test purchases (.storekit); set appearance, locale, time zone, text size or a clean status bar. launch answers with its first screen.

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": {
      "action": "<action>"
    },
    "name": "phone_app_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoBundle id (default: last launched); install: a Simulator .app path
nameNoWith upload: where it goes; default: app
valueNoPer action: URL, permission, lat,long, push text/JSON, launch args (-Key value; no secrets), light/dark, locale (fr_FR), time zone (Europe/Paris), text size, clean/clear
actionYesWhat to do
deviceNoName or UDID; default: the one in use
uploadNoinstall: the upload phone_upload_link answered, a .zip or .tar.gz holding the .app
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. Changed2 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Bundle id, or for install the path to a Simulator .app"New value: +"Bundle id (default: last launched); install: a Simulator .app path"
    • changedInput schema / properties / value / description
      Previous value: -"URL, permission, lat,long, push text/JSON, light/dark, locale (fr_FR), time zone (Europe/Paris), text size or clean/clear, per action"New value: +"Per action: URL, permission, lat,long, push text/JSON, launch args (-Key value; no secrets), light/dark, locale (fr_FR), time zone (Europe/Paris), text size, clean/clear"
  2. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "launch",
      -  "install",
      -  "terminate",
      -  "uninstall",
      -  "open_url",
      -  "grant",
      -  "revoke",
      -  "reset_permissions",
      -  "location",
      -  "push",
      -  "appearance",
      -  "locale",
      -  "timezone",
      -  "text_size",
      -  "status_bar"
      -]New value: +[
      +  "launch",
      +  "install",
      +  "terminate",
      +  "uninstall",
      +  "open_url",
      +  "grant",
      +  "revoke",
      +  "reset_permissions",
      +  "location",
      +  "push",
      +  "storekit",
      +  "appearance",
      +  "locale",
      +  "timezone",
      +  "text_size",
      +  "status_bar"
      +]
  3. Changed3 schema fields changed
    • changedInput schema / properties / name / description
      Previous value: -"With upload: where it goes, the same name each time keeps builds incremental; default: upload"New value: +"With upload: where it goes; default: app"
    • changedInput schema / properties / upload / description
      Previous value: -"install: the sha256 of a .zip or .tar.gz holding the .app, put to phone_upload_link's link"New value: +"install: the upload phone_upload_link answered, a .zip or .tar.gz holding the .app"
    • changedInput schema / properties / upload / pattern
      Previous value: -"^[a-f0-9]{64}$"New value: +"^(up_[a-f0-9]{32}|[a-f0-9]{64})$"
  4. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and non-idempotent behavior, so the safety profile is covered without the description repeating it. The description adds some value by enumerating which operations are mutating ('remove an app', 'revoke') and by stating that launch returns the first screen. It does not explain irreversibility, permission requirements, or failure behavior for the destructive actions.

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?

It is a single, front-loaded sentence with the resource named first and each clause mapped to a supported action, so there is little waste. It is dense as a run-on enumeration, but for a 16-action tool that compactness is appropriate rather than verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 16-action mutation tool with no output schema, the description covers the action surface and gives one return hint ('launch answers with its first screen') but says nothing about what the other actions return or how async jobs are tracked. It is adequate to start a call but leaves meaningful gaps for a tool whose annotations flag it as destructive and open-world.

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%, and the schema already documents per-parameter meaning, including the action enum and the multi-purpose 'value' field. The description's only extra semantic content is the launch return hint; it adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

The description uses specific verbs tied to a clear resource set (launch, install, terminate, uninstall, permissions, location, push, appearance, locale, etc.) on a 'cloud iPhone', so an agent can immediately see the scope. It stops short of naming or contrasting sibling tools like phone_app_run or phone_ui_act, so it does not fully disambiguate within its family.

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?

Usage is implied by the action list and the clause 'launch answers with its first screen', which hints at a screen-observe pattern. There is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. a running session), and no routing to alternative tools such as phone_ui_act for interactions or phone_app_logs for diagnostics.

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