Skip to main content
Glama

mumu_launch

Launches an Android app activity on a MuMu emulator using am start and reports total launch time plus whether it was already running, so cold and warm starts can be compared.

Instructions

Start an activity through am start, and report how long it took.

Give component (pkg/act), or package (+ activity), or an action. wait=True adds -W so the result carries total_ms and whether the app was already running — the difference between a cold and a warm launch.

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": "mumu_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
waitNo
actionNo
extrasNo
packageNo
vmindexNo
activityNo
componentNo
force_stopNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/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 disclosure burden, and it does explain that `wait=True` adds `-W` so the result carries `total_ms` and a cold-vs-warm signal. It says nothing about `force_stop` destroying state, what `extras`/`data` do, `vmindex` target selection, or failure modes such as a nonexistent component.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and then the target-specification rules. The final clause about cold versus warm launch is informative rather than padding, though the phrasing is slightly indirect.

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?

For a nine-parameter mutation tool with no annotations and no output schema, the description covers the main launch path but omits `force_stop`, `vmindex`, `extras`, and `data`, plus any statement about errors or permissions. Adequate for the happy path, incomplete for full control.

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 nine parameters, so the description must compensate, and it does explain `component`, `package`, `activity`, `action`, and `wait` with their output implications. Four parameters — `data`, `extras`, `force_stop`, and `vmindex` — receive no meaning at all, leaving a substantial gap.

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 mechanism: start an activity via `am start` and report the elapsed time. That is clear enough to act on, but it never distinguishes itself from the sibling `mumu_app_launch`, which an agent would reasonably confuse with it.

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?

Explains the three mutually exclusive ways to identify the target (`component`, `package`+`activity`, or `action`), which is real guidance for shaping a call. It gives no guidance on when to pick this tool over the app-launch sibling, nor any prerequisites such as the device needing to be booted.

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

Deploy Server

Other Tools