Skip to main content
Glama

mumu_shell

Run shell commands inside a MuMu Player Android guest over ADB, targeting a specific VM instance with a configurable timeout.

Instructions

Run a shell command inside the guest via adb.

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

Input Schema

NameRequiredDescriptionDefault
commandNo
vmindexNo
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and discloses almost nothing: no statement that arbitrary commands can destructively mutate the guest, no indication of the executing user/shell or permissions, no note on what happens on timeout, and no return-value description. 'Via adb' is the only behavioral clue offered.

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?

A single front-loaded sentence with no redundancy or filler. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that executes arbitrary code in a VM, with zero annotations, no output schema, and three undocumented parameters, this one-liner leaves critical information missing. It gives the mechanism but not the risk profile, targeting semantics, or result shape an agent needs to call it safely.

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% across three parameters, so the description must compensate and does not. Only 'command' is loosely implied by the sentence; 'vmindex' (which guest instance is targeted) and 'timeout_s' (60s default, and what occurs when exceeded) are completely opaque.

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 verb and resource ('Run a shell command') plus the execution path ('inside the guest via adb'), which tells an agent this is a raw command escape hatch rather than one of the dedicated app/device tools. It stops short of naming any sibling to contrast with, so differentiation is inferential 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 Guidelines2/5

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

There is no guidance on when to prefer this over the many purpose-built siblings (e.g. mumu_app_launch, mumu_gps_set, mumu_logcat) or when it should be avoided. An agent must guess that this is the fallback for operations with no dedicated tool.

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