Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

adb_tap

Simulates a tap at specified Android screen coordinates to automate UI interactions and reproduce touch-based bugs.

Instructions

Simulate a tap on Android screen coordinates.

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": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "adb_tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
deviceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 disclosure burden, and it only says a tap is 'simulated'. It does not state that this performs a real input injection on the device, what happens when multiple devices are connected, whether an unlock or foreground-app state is required, or what the tool returns on success versus failure.

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?

The single sentence is efficiently front-loaded with zero filler, which is good. However, the brevity reads as under-specification rather than crispness, since key calling information is simply absent.

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?

For a device-mutating input tool with three undocumented parameters, no annotations, and no output schema, the description is too thin. Nothing explains coordinate system, device targeting, prerequisites, or result semantics, so an agent cannot reliably call it correctly on the first try.

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 compensate, yet it only loosely implies what x and y mean. It never specifies the coordinate unit (pixels vs dp), origin (top-left), whether values may exceed screen bounds, or what deviceId does and how the target device is chosen when it is omitted.

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 action ('Simulate a tap') and resource ('Android screen coordinates'), so an agent immediately knows this is a touch-injection tool rather than a text, key, or swipe tool. It does not explicitly name which sibling to prefer, but the verb+resource pairing is distinctive enough against adb_swipe / adb_input_text.

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 guidance on when to choose a tap over adb_swipe, adb_key_event, or open_deep_link, nor any stated preconditions (screen unlocked, app in foreground, which device if several are attached). The agent must infer all routing decisions from the name alone.

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