Skip to main content
Glama

mumu_logcat

Read the last N logcat lines from a MuMu emulator instance, optionally filtered by package or log level, to inspect app or system logs.

Instructions

Read the last N logcat lines, optionally filtered by package or level.

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

Input Schema

NameRequiredDescriptionDefault
levelNo
linesNo
packageNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does mostly the minimum: "Read the last N lines" does convey read-only, tail-bounded behavior. It says nothing about whether the read blocks until logs flush, whether it requires a running device, what happens with an invalid vmindex, or what the returned records look like.

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?

One sentence, front-loaded with the action, and it contains no filler or redundancy. It is terse to the point of omitting information the schema does not supply, but nothing written is wasted.

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?

With four undocumented parameters, no annotations, and no output schema, the definition leaves the agent guessing about instance selection and level syntax before it can form a valid call. A log-reading tool on a multi-instance emulator manager needs at least vmindex semantics and level encoding spelled out.

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 explain all four parameters, but it only glosses lines, package, and level without naming them or giving accepted level values (V/D/I/W/E), the 200-line default, or the "" sentinel defaults. The vmindex parameter, which selects the emulator instance, is not mentioned at all.

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 names a specific verb and resource ("Read ... logcat lines") and scopes it to "the last N," so the agent knows this is a tail-style log reader rather than device control. It does not differentiate itself from any sibling, and there is no other logcat tool named, so it stops short of a 5.

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?

Usage is only implied: the mention of optional package and level filtering hints that this is the log-inspection tool, but there is no statement of when to reach for it versus other device-state tools, nor any preconditions such as a booted/connected emulator.

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