Skip to main content
Glama

Launch App

mobile_launch_app

Launch a specified app on an Android or iOS device by package name or bundle ID, enabling native mobile app automation and testing.

Instructions

Launch an app on mobile device. Use this to open a specific app. You can find the package name of the app by calling mobile_list_apps.

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": {
      "device": "<device>",
      "packageName": "<packageName>"
    },
    "name": "mobile_launch_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesThe device identifier to use. Use mobile_list_available_devices to find which devices are available to you.
localeNoComma-separated BCP 47 locale tags to launch the app with (e.g., fr-FR,en-GB)
argumentsNoArguments to launch the app with, one per item. On iOS they are the app's process arguments, like Xcode's Arguments Passed On Launch (e.g., ["-FeatureX", "YES"]). On Android each item must be key=value and is passed as a string intent extra the app reads from its launch intent (e.g., ["featureX=true"])
environmentNoiOS only. Environment variables set for the app process (e.g., {"API_URL": "https://staging.example.com"})
packageNameYesThe package name (Android) or bundle id (iOS) of the app to launch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, open-world, non-destructive operation. The description adds nothing beyond that: it doesn't say whether launching restarts or resumes an already-running app, what happens if the package isn't installed, whether it blocks until the app is foreground, or what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the core action front-loaded, but the second sentence ('Use this to open a specific app') is pure redundancy with the first and earns no place.

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?

The tool has five parameters including a nested-object environment field and no output schema, so the description should carry more weight about post-launch behavior and failure modes. The prerequisite hint about mobile_list_apps is helpful, but an agent still lacks enough to predict what a successful or failed launch looks like.

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 packageName, device, locale, arguments, and environment are all documented in the schema, including iOS/Android differences. The description only reinforces that packageName is the Android package name or iOS bundle id, adding no meaning beyond the schema; baseline 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?

States a specific verb and resource ('Launch an app on mobile device') that an agent can distinguish from siblings like mobile_terminate_app or mobile_install_app. It doesn't explicitly contrast with related operations, keeping it 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 description points to mobile_list_apps as the way to discover a package name, which is useful prerequisite guidance. However, 'Use this to open a specific app' merely restates the purpose, and there is no guidance on when not to use it or how it relates to mobile_open_url or app lifecycle tools.

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