Skip to main content
Glama

mumu_wait_activity

Blocks until the Android foreground package, component, or regex matches a target, confirming that a tap or action actually navigated instead of relying on timed sleeps.

Instructions

Block until the foreground package (or component, or regex) matches target.

This is the reliable "did my tap actually navigate" check — far better than sleeping and hoping, because it keys on what Android itself reports.

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_wait_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo
vmindexNo
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.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 the key behavioral trait: this call blocks until a match occurs and derives truth from what Android reports rather than a fixed delay. It does not explain what happens on timeout (error vs. partial result), whether a default empty `target` matches immediately, or what the call returns, which are material gaps for a blocking tool.

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?

Two short sentences, front-loaded with the action and followed by the rationale. The 'far better than sleeping and hoping' phrasing is colorful but still reinforces when to reach for this tool, so little is wasted.

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 three-parameter, annotation-free, output-schema-free tool, an agent still lacks timeout semantics, return value shape, and the meaning of `vmindex` after reading this. What is present is accurate and useful, but the definition is not complete enough to call the tool confidently in edge cases.

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%, so the description must compensate. It does add real meaning for `target` (package name, component, or regex), which the bare 'Target' string in the schema does not convey. However, `vmindex` and `timeout_s` are never mentioned, leaving two of three parameters defined only by their titles and defaults.

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?

The description opens with a precise verb and resource: 'Block until the foreground package (or component, or regex) matches `target`.' That tells an agent exactly what operation is performed and that three match forms are supported. It stops short of naming the likely overlapping siblings (mumu_wait_for, mumu_foreground), so the agent cannot fully disambiguate from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete usage context — verifying that a tap actually caused navigation — and frames the alternative it replaces (a blind sleep). There is no explicit 'do not use this when...' rule and no named sibling alternative such as mumu_wait_for, so it stays below a 5.

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