Skip to main content
Glama
zifanersuotang

Codex Android MCP

Android launch App

android_launch_app
Destructive

Launch an installed Android app by exact package name or partial name fragment. Resolves the launcher activity automatically, eliminating the need for shell commands.

Instructions

Launch an already-installed app by resolving its LAUNCHER activity (monkey -p <pkg> -c android.intent.category.LAUNCHER 1) — no shell needed. Pass EITHER packageName OR name (exactly one): name is a case-insensitive fragment of the package name, resolved against the same listing android_list_apps returns, so several matches come back as a candidate list rather than a guess. Package names of third-party apps CANNOT be guessed; run android_list_apps first when unsure. Use this to OPEN an app; android_build_run is for building and installing one from source. Stable AOSP/GMS packages: Settings com.android.settings, Chrome com.android.chrome, Clock com.google.android.deskclock, Calendar com.google.android.calendar, Camera com.android.camera2, Files com.google.android.documentsui, Play Store com.android.vending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPackage-name fragment of an installed app, e.g. "settings" or "chrome" (case-insensitive). Resolves to exactly one package — several matches come back as a candidate list to choose from.
deviceNoTarget adb serial. Defaults to the streamed device, else the only online one.
relaunchNoForce-stop a running instance first so the app starts from its launch screen (default false: a running app is simply brought to the foreground).
packageNameNoExact package of the installed app, e.g. "com.android.settings". Required unless name is given; passing both is an error.
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, readOnlyHint=false; the description adds value by disclosing the force-stop-on-relaunch behavior and the monkey-command mechanism, and by documenting that ambiguous name fragments produce a candidate list rather than a guess. No contradiction with annotations — destructiveHint aligns with the optional force-stop. Full burden is met.

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?

Well front-loaded with core purpose and mechanism, followed by parameter rules and sibling routing. The stable-package list at the end is useful reference material rather than padding. Slightly long, but every sentence earns its place; nothing is redundant.

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?

Complete for a launch tool given strong schema and annotations. The description covers mutual exclusion, resolution ambiguity (candidate list), which sibling to use when, and fallback strategy for unknown packages. The only minor gap is no explicit return-value description, but with no output schema and a simple launch action, this is a small omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter is well documented, so baseline is 3. The description adds meaningful value beyond the schema: the case-insensitive fragment resolution rule, the candidate-list fallback behavior, and the first-party stable package-name list that lets an agent skip android_list_apps for common packages.

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 ('Launch an already-installed app by resolving its LAUNCHER activity') and distinguishes itself from android_build_run (build/install) and android_list_apps (listing). An agent can immediately tell what this tool does and what it is not for.

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

Usage Guidelines5/5

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

Explicitly routes usage: 'Use this to OPEN an app; android_build_run is for building and installing one from source' and instructs 'run android_list_apps first when unsure' for unstable third-party package names. The EITHER/OR parameter rule is also spelled out ('Pass EITHER packageName OR name').

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zifanersuotang/codex-android-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server