Skip to main content
Glama

adb_tap

Simulate a tap at specific screen coordinates on a connected Android device via ADB to automate UI interactions and testing.

Instructions

Tap the Android device screen at (x,y) via input tap.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "serial": "<serial>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "adb_tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
serialYes
timeoutMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 it discloses only the implementation path ("input tap"). It says nothing about side effects on the device UI, whether it requires an unlocked/connected device, failure behavior at out-of-bounds coordinates, or what is returned. For an input-injection tool this leaves the agent guessing.

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 short sentence, front-loaded with the action and target, with no filler. The trailing "via input tap" is mild implementation detail rather than wasted space.

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?

A 4-parameter mutation tool with no annotations and no output schema needs more than one sentence; device selection via 'serial' and the timeout semantics are entirely unexplained. Coordinate space and expected result (success/failure signal) are also absent.

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 4 parameters, and the description only covers x and y without stating that they are screen pixel coordinates in the device's display space. The required 'serial' (which device to target) and the optional 'timeoutMs' are not addressed at all in the description or schema.

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 ("Tap the Android device screen at (x,y)") plus the underlying mechanism ("via input tap"), so the agent can distinguish it from adb_swipe, adb_type, or adb_screencap by intent. It stops short of naming those siblings, so differentiation relies on the agent inferring from names.

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 statement of when to use this versus adb_swipe, adb_type, or adb_exec, and no prerequisites (device connected, screen unlocked, app in foreground) are mentioned. The only usage signal is the implied 'tapping is for single presses', which the reader must supply.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.