Skip to main content
Glama

mumu_raw_sequence

Batch raw input events into one ADB round trip so taps and gestures register correctly instead of stretching into slow drags across separate shell calls.

Instructions

Send a batch of raw input events in one adb round trip.

events is a list of [type, code, value] triples. A tap is [[3,47,0],[3,57,300],[3,53,x],[3,54,y],[1,330,1],[0,0,0],[3,57,-1],[1,330,0],[0,0,0]].

Batching is not an optimization, it is what makes the gesture work: splitting a down/up across separate shell calls stretches it into a slow drag, and apps ignore that. Verified by tapping a launcher icon this way and watching the launcher hand over.

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

Input Schema

NameRequiredDescriptionDefault
deviceNo
eventsNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and covers only part of it: it discloses the round-trip/atomicity behavior and the failure mode of splitting calls. It says nothing about prerequisites (must a device be booted?), permissions, what the call returns, or how errors surface, which matters for a low-level input injector.

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?

Purpose is front-loaded in one sentence, followed by the parameter format and then the rationale. The rationale paragraph is somewhat padded — 'Verified by tapping a launcher icon this way and watching the launcher hand over' adds anecdote more than information — but nothing is confusing or out of order.

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 three-parameter, no-annotation, no-output-schema tool, the definition covers the hardest part (the event encoding) well. It is still incomplete: device selection, vmindex meaning, and any notion of success/failure response are absent, so an agent cannot fully predict the outcome of a call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It does so excellently for `events`, giving the [type, code, value] triple shape and a complete worked tap sequence. But `device` and `vmindex` are never mentioned, leaving two of three parameters undocumented in both the schema and the prose.

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 opening sentence names a specific verb and resource — 'send a batch of raw input events' — and adds the key constraint 'in one adb round trip', which distinguishes it from a single-event tool. It never explicitly names a sibling, so an agent must infer the batch-vs-single boundary from the word 'batch' rather than from a stated contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description gives a clear, concrete condition for use: a gesture's down/up must be in one call or apps will treat it as a slow drag and ignore it. That is genuinely actionable guidance. It stops short of naming alternatives (e.g., the single-event sibling) or stating when a single event call is preferable.

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