Skip to main content
Glama

Resolve App

mobile_resolve_app
Read-only

Resolve an Android package name or iOS bundle identifier from an app label or package name, using exact normalized matching and rejecting ambiguous labels.

Instructions

Resolve an app by package name or by the app label currently exposed by the device locale. Matching is exact after Unicode/whitespace normalization; ambiguous labels are rejected instead of guessed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesThe device identifier to use. Use mobile_list_available_devices to find which devices are available to you.
appNameNoApp label in the device's current locale, for example 設定 or Settings.
packageNameNoExact Android package name or iOS bundle identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.9/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the readOnly annotation: exact matching after Unicode/whitespace normalization and rejection of ambiguous labels. This is valuable because it informs the agent about edge cases and failure behavior, going beyond what annotations alone provide.

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 sentences with no filler. The first clause front-loads the primary purpose, and the second adds precise behavioral detail. Every phrase earns its place, making it concise and well-structured.

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 input semantics and matching behavior well, but with no output schema and no mention of what the tool returns, an agent is left guessing whether the result is a package name, a label, or a structured object. It also does not state behavior on no match (only ambiguous labels), leaving a gap for correct post-processing.

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?

Although schema coverage is 100%, the description enriches parameter meaning by clarifying that packageName and appName are alternative lookup keys, and that matching follows strict normalization. It connects the parameters to the tool's core behavior, adding value beyond the schema's individual field descriptions.

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?

The description clearly states a specific verb ('resolve') and resource ('an app'), plus the accepted identifier forms ('package name' or 'app label'). This distinguishes it from sibling tools like mobile_launch_app or mobile_get_foreground_app, which have different purposes.

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 does not explicitly state when to use this tool over alternatives, nor does it mention any sibling tools or exclusions. It implies usage through the 'resolve' verb and matching semantics, but leaves the agent to infer context without clear guidance.

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