Skip to main content
Glama

Launch app

launch_app

Launch an app by ID or managed name, bring a running app to the front, or restart it with custom arguments, environment variables, and language settings, then return the resulting screen.

Instructions

Launch an app by its id or the name manage_app list gives, to the front on the screen it was on if it runs. restart: start it fresh, as args (Android: key=value extras), env and language (tr, pt-BR) do. probe: with the view probe read_screen views reads. By URL: open_link; to stop it: manage_app. Returns the screen after.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "launch_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNo
envNo
argsNo
readNo
probeNo
restartNo
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.4
    • addedInput schema / properties / probe
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With only openWorldHint=false in annotations, the description carries most of the behavioral burden and discloses foregrounding behavior, restart semantics, args/env/language handling, probe interaction with read_screen, and that it returns the screen. It does not cover error cases or permission requirements, but the core behavior is well explained.

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?

The description is front-loaded and avoids filler, but it is written as a dense, telegraphic paragraph with awkward phrasing such as "as args ... do" and "with the view probe read_screen views reads." It is concise but not cleanly structured.

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?

For a 7-parameter tool with a nested env object and no output schema, the description covers the main launch behavior, restart/probe semantics, alternatives, and return value. It is still missing the read modes and error behavior, which are relevant for correct invocation.

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 0% across 7 parameters, so the description must compensate. It explains app, restart, args, env, language, and probe, but leaves the read enum values diff/full/none unexplained and only implies the env object format.

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 states a specific verb and resource: "Launch an app by its id or the name manage_app list gives." It also distinguishes the tool from siblings by naming open_link for URLs and manage_app for stopping the app.

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?

It gives explicit routing guidance: use open_link for URLs and manage_app to stop the app. It also clarifies restart and probe usage, so an agent can choose this tool versus alternatives without inference.

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