Skip to main content
Glama

mumu_hosts

Retrieves and parses the /system/etc/hosts mappings for a MuMu Player Android emulator instance, so you can inspect host entries by VM index.

Instructions

Current /system/etc/hosts mappings, parsed.

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

Input Schema

NameRequiredDescriptionDefault
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does not state that the operation is read-only, whether it requires a running VM or root access, or whether the parsing normalizes/skips commented lines. Only the implicit 'Current' hints at a safe read; nothing else about behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is certainly short and front-loaded, but at eight words it reads as a label rather than a definition, so the brevity costs information rather than removing waste. Every word earns its place, yet too few words are present.

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?

There is no output schema and no annotations, so the description would need to explain the return shape (a parsed mapping list) and the per-instance scoping of `vmindex`; it does neither. For a tool whose entire value is the returned data, this leaves significant gaps.

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% for the single `vmindex` parameter, so the description should compensate but adds nothing about it — no explanation that it selects which emulator instance's hosts file is read, nor what the default 0 implies. The bare parameter name and title are all the agent has.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase names a concrete resource, `/system/etc/hosts`, and the qualifier 'Current ... parsed' implies a read of existing entries rather than a write. However, there is no verb, so the agent must infer that this retrieves rather than modifies, and nothing distinguishes it from the sibling `mumu_add_hosts` beyond the word 'Current'.

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 when-to-use guidance at all: no statement that this is the read counterpart to `mumu_add_hosts`, no prerequisites, and no conditions under which the result would be stale or empty. The agent is left to infer usage entirely from the name.

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