Skip to main content
Glama

mumu_touch_device

Locate the emulator's multitouch input node by capability instead of device index, then report its node name, axis range, and slot count. Gesture tools rely on this discovery to avoid unstable device paths.

Instructions

Report the multitouch input node, found by capability rather than by index.

Device numbering differs between images and boots, so this looks for ABS_MT_POSITION_X and reports the node name, axis range and slot count. The gesture tools use the same discovery, which is why they do not need a device path.

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

Input Schema

NameRequiredDescriptionDefault
refreshNo
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 carries the full burden. It does useful work: it discloses that the lookup is capability-based, that numbering varies across images and boots, and that output includes node name, axis range and slot count. It does not say whether the call is side-effect free, whether results are cached, or what refresh actually triggers.

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?

The description is front-loaded with the action and the mechanism, and every sentence contributes something. The rationale about gesture tools is slightly tangential but still informative for tool selection.

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?

There is no output schema, yet the description usefully enumerates the returned fields, which covers the return side adequately. It falls short on the input side: both parameters and their effects, especially refresh caching semantics and vmindex defaulting, are undocumented.

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% for two parameters, so the description must compensate and does not. Neither refresh nor vmindex is mentioned anywhere, leaving the agent to guess whether refresh forces a re-scan and which VM vmindex selects.

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 first sentence states a specific verb and resource: report the multitouch input node. It also gives the distinguishing mechanism, capability-based discovery via ABS_MT_POSITION_X rather than index, which separates it from index-oriented siblings such as mumu_set_device.

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 agent can infer it is for discovering the touch node when device numbering is unstable. There is a partial when-not signal, namely that gesture tools perform the same discovery so a device path is not needed, but there is no explicit statement of when to call this versus those tools or when a refresh is warranted.

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