Skip to main content
Glama

input_tap

Taps specified X/Y screen coordinates on an Android device or emulator via ADB, enabling precise UI interaction for automation and testing.

Instructions

Tap screen coordinates (pixels).

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": "input_tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
serialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not say that this mutates UI/device state, whether the call blocks until the tap is dispatched, whether it fails when no device is connected, or how multi-device targeting works. Only the pixel units add context beyond the name.

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?

A single front-loaded sentence with no filler or redundancy; the unit clarification is attached directly to the resource. It is efficient, though its brevity pushes information burden onto the reader rather than being a model of informative density.

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?

An output schema exists, so return values need not be explained, but for a device-mutating input tool with zero annotation coverage and zero schema description coverage, the description leaves too much open — notably the serial/device selection semantics and any failure or precondition behavior. It is not sufficient to call the tool confidently in a multi-device session.

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 titles 'X', 'Y', and 'Serial' are all the schema offers. The description clarifies that x/y are pixel coordinates, but says nothing about the optional 'serial' parameter, which in a library containing list_devices/connect/device_info is the meaningful ambiguity (which device gets tapped).

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 plus resource ('Tap screen coordinates') and even names the unit ('pixels'), which is more than a restatement of the name. It does not explicitly differentiate itself from sibling tap-adjacent tools like input_swipe or input_keyevent, but the action is unambiguous.

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 use this versus input_swipe or the other input_* tools, and no preconditions (device connected, screen state, app foreground). The agent must infer all usage context from the tool name alone.

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