Skip to main content
Glama

mumu_root_adb

Toggles ADB root access for a MuMu Player instance, running adbd as uid 0 or returning it to the shell user without rebooting.

Instructions

adb root / adb unroot: run adbd as uid 0 (or drop it back to shell).

Fast, and the instance keeps running — no reboot. This is the cheapest way to get a root shell, because there is no su binary on MuMu to invoke.

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

Input Schema

NameRequiredDescriptionDefault
enabledNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose useful traits: it is fast, requires no reboot, and the instance keeps running — real value beyond a bare command name. However, it omits important behavior: whether root persists across reboots, whether it fails on non-debuggable/production images, and what the effect is on already-running apps.

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?

Very short and front-loaded: the command mapping comes first, the rationale second. Every sentence adds something — a purpose, a speed claim, and the reason `su` is unavailable. Minor formatting noise (backticks, line breaks) but no verbal waste.

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 two-parameter state-mutating tool with no annotations and no output schema, the description covers the core operation and its cost profile but leaves gaps an agent needs: what `vmindex` selects, what failure looks like, and whether root should be reversed afterward. Adequate but not self-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 coverage is 0%, so the description must define both parameters. The root/unroot framing implies that `enabled` toggles root on/off, but this is never stated outright, and `vmindex` (which VM instance to target) is never mentioned at all — 'the instance keeps running' is the only oblique nod to it.

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 gives a specific command-level purpose: '`adb root` / `adb unroot`: run adbd as uid 0 (or drop it back to `shell`)'. It also implicitly separates itself from other root routes by noting there is no `su` binary on MuMu. It stops short of naming siblings like mumu_root_exec or mumu_root_status, so the differentiation is implied rather than explicit.

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?

It gives comparative guidance ('cheapest way to get a root shell') that hints at when this is preferable, but never states when not to use it or which sibling to pick instead (e.g. for running a command vs. checking root state). The use of the boolean toggle is only inferable from the `root`/`unroot` framing, not spelled out.

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