Skip to main content
Glama

launch_app

Open an installed Android or iOS app by package name or bundle ID, optionally targeting a device and capturing screen state after launch.

Instructions

Launch an app on the device by package name (Android) or bundle ID (iOS)

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": {
      "package": "<package>"
    },
    "name": "launch_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
observeNoCapture screen state after the action. "on_change" returns the first tree that differs — catches a toast a fixed delay would miss. Default: none
packageYesApp package name (Android, e.g. com.example.app) or bundle ID (iOS, e.g. com.apple.mobilesafari)
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.
observe_delay_msNoMs to wait before observing. Default: 500
observe_stabilizeNoWait for the UI to settle instead of a fixed delay. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered. The description adds only the platform-dependent identifier semantics, saying nothing about whether launching restarts an already-running app, whether it brings it to the foreground, or what happens if the package is not installed.

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?

A single, front-loaded sentence with no filler; the parenthetical platform mapping is compact and useful. It is arguably too terse for a six-parameter tool, but nothing in it is wasted.

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 launch action with full schema coverage and no output schema, the essentials are present, but the definition omits preconditions (app must be installed) and the effect on an already-running instance. An agent can invoke it correctly but cannot predict its failure modes.

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 all six parameters (observe, observe_delay_ms, observe_stabilize, platform, device_id, package) are already documented in the schema. The description restates the package parameter's Android/iOS distinction but adds no syntax or behavioral detail beyond it, 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 names a specific verb and resource ('Launch an app on the device') and clarifies the identifier format per platform (package name on Android, bundle ID on iOS). It is clearly distinct from siblings like install_app, kill_app, or open_url, though it does not explicitly say so.

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

Usage Guidelines2/5

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

No guidance on when to use this versus alternatives such as open_url (for deep links) or install_app (when the app is not yet present). It implicitly assumes the app is already installed but never states that prerequisite or any failure condition.

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