Skip to main content
Glama

phone_install_app

Destructive

Install an iOS app on a connected iPhone from a local .ipa/.app path or HTTPS URL, optionally uninstalling it first for a clean start. Returns the installed bundle ID.

Instructions

Install an app build on the phone: path of an .ipa or .app on the Mac running the daemon, or an https url of an .ipa (up to 2 GB). fresh=true uninstalls the app first, deleting its data. Apps the operator blocked are refused. Answers with the installed bundle id; it can take minutes. Install only what the user asked for.

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

Input Schema

NameRequiredDescriptionDefault
urlNoAn https URL of an `.ipa` (at most 2 GB); the daemon downloads it.
pathNoAbsolute path of an `.ipa` or `.app` on the Mac running the daemon.
freshNoUninstall the app first (its data goes with it), for a clean start.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`PhoneHandler::phone_install_app`]."
  2. Changed8 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 / path / default
      Removed value: -null
    • changedInput schema / properties / path / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • removedInput schema / properties / url / default
      Removed value: -null
    • changedInput schema / properties / url / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
  3. 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"
      +}
  4. First observedv0.21.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the destructive/openWorld annotations, it discloses what fresh actually destroys (uninstalls first, data goes with it), enforces a policy (blocked apps are refused), sets a duration expectation ('can take minutes'), and states the return value (the installed bundle id). That is rich behavioral context an agent cannot get from the annotations alone.

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?

Four compact sentences, front-loaded with the action and source options, then consequences, then the safety constraint. Some phrasing duplicates schema content (path/url/2 GB), but nothing is padded or 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?

For a mutating install tool with no output schema, it covers source, destructive side effects, refusal policy, latency and return value. The only gap is operational context such as device/instance selection or what happens on failure mid-install.

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 the schema already documents url, path, fresh and instance. The description largely restates these constraints (https-only, 2 GB cap, absolute path on the daemon Mac) rather than adding new meaning, 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 opens with a specific verb and resource ('Install an app build on the phone') and immediately qualifies the two source forms (.ipa/.app path or https .ipa url). It is unambiguous about what the tool does, though it does not name a sibling (e.g. phone_apps) to contrast with installation.

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 gives a clear operating context and an explicit constraint on when not to act ('Install only what the user asked for'), plus guidance on when fresh is appropriate ('for a clean start'). It stops short of naming alternatives or prerequisites such as needing the app already built.

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