Skip to main content
Glama

app_launch

Opens an app by name or bundle ID, bringing it to the front if already running. Use it to start or switch to a target app before inspecting or interacting with its UI.

Instructions

Open an app by its name ("Settings", "微信") or bundle id (see app_list). Brings it to the front if it is already running.

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": {
      "name": "<name>"
    },
    "name": "app_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
max_wait_msNo
observe_afterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavior: an already-running app is brought to the front rather than duplicated. It says nothing about permission/auth needs, what happens if the app is not installed, or whether the call blocks while the app loads — notable given a 6000 ms default wait and an observe_after flag.

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, no filler, and the core action and identifier formats are front-loaded before the already-running caveat. Every clause carries information an agent needs.

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?

An output schema exists, so return values need not be described, and the core launch semantics are covered. However, for a tool whose defaults include a 6-second wait and an automatic post-launch observation, omitting any explanation of those two knobs leaves a real gap in calling it correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it only covers one of three parameters — it usefully explains that `name` accepts a display name or a bundle id. The `max_wait_ms` and `observe_after` parameters are left entirely undefined in both schema and description, including what observation occurs after launch.

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 ("Open an app") and immediately disambiguates the resource with concrete examples ("Settings", "微信") plus an accepted alternative identifier form (bundle id). The clause about bringing it to the front distinguishes it from a fresh-launch semantic and, together with the app_list pointer, makes the tool's role clear against siblings like app_stop.

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?

Usage is only implied: an agent infers it should call this when it needs an app foregrounded. The one explicit routing cue is "see app_list" for bundle ids, which is a sub-task pointer rather than a when-to-use/when-not-to-use rule; there is no guidance on when to prefer this over tapping a home-screen icon or when it might fail.

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