Skip to main content
Glama
CT-mao

uitree-local

by CT-mao

launch_app

Start an Android app by package name, with optional activity and verification. Find package names with list_installed_apps.

Instructions

Launches an app by package name (and optional activity). Use list_installed_apps to find package names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verifyNo复查屏幕树确认变更生效 (default true).
packageYesPackage name, e.g. com.android.settings.
activityNoOptional activity class name.
verify_poll_msNo轮询树的时间间隔毫秒 (default 300).
verify_timeout_msNo等待变更生效的超时毫秒 (default 3000).
stop_before_launchNoForce-stop the app before launching (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only says what gets launched. It does not disclose that verify polling, timeouts, and stop_before_launch exist as behaviors, nor what happens when the package is missing or what the call returns. Those traits live only in schema field descriptions, leaving the narrative thin for a side-effecting action tool.

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 short sentences, zero waste, and the core action is front-loaded ahead of the helper reference. Nothing extraneous is included.

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 description covers the primary parameters but leaves out the behavioral story that matters for a 6-parameter, annotation-free action tool with verification polling and stop_before_launch. It is adequate to invoke the tool, but not complete enough to predict its side effects or 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 parameter meaning is already fully documented, and the description only restates package/activity at a high level. Baseline 3 is appropriate since the description adds no format, defaulting, or interaction detail beyond the schema.

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 ('Launches an app by package name') with the optional activity qualifier, so an agent immediately knows the action. It names list_installed_apps as a helper for obtaining the package, but does not distinguish itself from action siblings that also open apps, such as open_deep_link.

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 clause 'Use list_installed_apps to find package names' gives a concrete precondition for the required parameter, which is real guidance. However, it offers no when-not guidance and never contrasts this tool with open_deep_link, install_apk, or stop_app, so selection among overlapping siblings is left to inference.

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