Skip to main content
Glama

mumu_app_clear_data

Wipes a specified Android app package's data in a MuMu Player instance, resetting the app to a fresh-install state for clean testing or reconfiguration.

Instructions

Wipe a package's data (pm clear). Returns the app to a fresh-install state.

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

Input Schema

NameRequiredDescriptionDefault
packageNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/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 does at least disclose the destructive nature ("wipe") and the resulting state. It omits whether the action is reversible, whether the app must be stopped first, whether system packages are refused, and what happens on failure.

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 short sentences, zero filler, and the destructive action is front-loaded ahead of the resulting state. Nothing needs trimming.

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?

No output schema exists, so the description must cover behavior on its own; it conveys purpose and effect but leaves the two parameters and failure modes unexplained. For a destructive operation with zero annotation coverage, that is adequate but not sufficient.

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, yet it only hints at the "package" parameter through the phrase "a package's data" and never explains its format or the empty default. The vmindex parameter, which selects the target emulator instance, is entirely undocumented in both schema and description.

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?

"Wipe a package's data (pm clear)" gives a specific verb plus resource and names the underlying mechanism, and "fresh-install state" distinguishes the outcome from uninstall. It stops short of naming a sibling to contrast with (e.g. mumu_app_fresh_start), so differentiation is inferred rather than stated.

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?

The outcome clause implies when to reach for it: when the app must behave as if freshly installed. There is no explicit when-not guidance, no mention of prerequisites such as the app being closed, and no pointer to overlapping siblings like mumu_app_fresh_start or mumu_app_uninstall.

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