Skip to main content
Glama

install_app

Install an app on Android or iOS devices from a local APK, .app bundle, or IPA path, replacing existing Android installs. Specify platform or device ID when needed.

Instructions

Install an app on the device. Android: local .apk path (installed with -r, replacing an existing install). iOS: .app bundle (simulator) or .ipa (physical device via idb).

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": {
      "path": "<path>"
    },
    "name": "install_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesLocal path to the .apk (Android), .app bundle or .ipa (iOS)
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries the interesting behavior and does so: it discloses that Android installs run with -r and replace an existing install, and that physical iOS devices route through idb. That overwrite semantics is exactly the kind of side effect an agent needs before calling. It stops short of saying whether app data is preserved on replacement or what a failed install returns.

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?

Two sentences, both front-loaded and load-bearing: the core action first, then platform-specific artifact requirements with the replacement caveat attached inline. No filler or repetition.

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 3-parameter tool with full schema coverage and existing annotations, the description covers the important unknowns — artifact format per platform and the replace-on-install behavior. Remaining gaps (data preservation on -r, failure modes, need to specify device_id when multiple devices exist) are modest but real.

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 description coverage is 100%, so baseline is 3; the description's per-platform path guidance largely restates the schema's own path description and adds only light emphasis. Platform inference and device_id defaults are left entirely to the schema.

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 verb and resource ("Install an app on the device") and immediately qualifies the artifact type per platform (.apk, .app bundle, .ipa). The verb cleanly separates it from siblings such as uninstall_app, launch_app, and get_app_info without needing to name them.

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?

Gives implicit usage context by mapping artifacts to platforms (Android local .apk, iOS .app for simulator or .ipa via idb for physical device), which tells the agent what input is acceptable. However, it never states when to choose this over related operations, what prerequisite state is needed, or what to do afterward — the agent must infer the install-before-launch sequencing.

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