Skip to main content
Glama
MCP Appium

MCP Appium

appium_app_lifecycle

Manage mobile app lifecycle actions—activate, terminate, install, uninstall, clear data, query state, and open deep links—for Android and iOS automation sessions.

Instructions

Manage app lifecycle, installation, state, data, and deep links.

Input Schema

NameRequiredDescriptionDefault
idNoAndroid package or iOS bundle ID; takes precedence over name.
urlNoURL for deep_link (e.g. https://example.com or myapp://path).
nameNoHuman-readable app name resolved to an ID; alternative to id.
pathNoApp file path or HTTP(S) URL; required for install. Embedded URL downloads require ALLOW_REMOTE_APP_URLS=true (default). Remote sessions resolve app inputs on the remote Appium server.
limitNolist: return at most this many apps.
actionYesactivate: foreground app; terminate: stop app; is_installed: check installation; clear: clear app data without uninstalling (all require id or name). install: requires path. uninstall: requires id/name; Android keepData is optional. list: optional iOS applicationType. query_state: get state 0=not installed,1=not running,2=background suspended,3=background,4=foreground (requires id or name). background: send foreground app to background; optional seconds (default 5). deep_link: requires url; id/name is optional.
filterNolist: only apps whose id or name contains this text (case-insensitive).
secondsNoBackground duration; default 5. Use -1 to remain in background.
keepDataNoAndroid uninstall: preserve app data and cache.
sessionIdNoSession ID; defaults to the active session.
confirmTokenNoRequired to repeat uninstall/clear after the first call returns CONFIRMATION REQUIRED. Single use.
waitForLaunchNoAndroid deep_link: wait for the activity to return; default true.
applicationTypeNoiOS list filter: User (default) or System.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.99.3

TDQS

C2.5/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true. The description does not disclose that several actions are destructive (uninstall, clear), that a confirmToken workflow gates repeats, that some actions require id/name, or that inputs resolve on a remote Appium server. For a mutation-heavy tool, this leaves most behavioral burden undocumented in the description text.

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?

It is a single, front-loaded sentence with no filler, which is structurally clean. But the brevity comes from under-specification rather than efficient communication; the sentence reads as a topic list rather than an actionable definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 13-parameter, 10-action mutation tool with no output schema and minimal annotations. The description omits confirmation requirements, destructive-action warnings, required-parameter distinctions per action, and session scoping, leaving it far from complete for the complexity involved.

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 the schema already explains id, path, action semantics, seconds, confirmToken, and other parameters in detail. The description adds no parameter meaning beyond the generic topics "state, data, and deep links," so it sits at the baseline for fully documented schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Manage app lifecycle, installation, state, data, and deep links" correctly signals a multi-action app-management tool and enumerates the domains covered. However, "Manage" is a vague umbrella verb, and the description never differentiates this tool from siblings such as appium_session_management or appium_mobile_device_control, so the agent must inspect the action enum to know what it actually does.

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?

The description gives no when-to-use guidance, no alternatives, and no exclusions. All routing information (which action to pick, when confirmation is required, when to use this versus session tools) lives in the schema's action description, not in the tool description itself.

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