Skip to main content
Glama

Tap Android screen

android_tap

Taps a specified screen coordinate on a connected Android device through ADB to support UI automation, app testing, and scripted interactions.

Instructions

Tap one screen coordinate on the selected Android device.

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

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
deviceNoADB serial. Omit when exactly one device is ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare that this is not read-only, not idempotent, and not destructive. The description adds little beyond restating the tap action; it does not explain side effects, device readiness requirements, or what a tap may trigger in the UI.

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 definition is a single front-loaded sentence with no wasted wording. Its brevity is appropriate, though it leaves important operational details unstated.

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 tool with three parameters, low schema coverage, and no output schema, the description is too thin. It does not explain the coordinate space, device selection behavior, or the expected effect of the tap.

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 low at 33%, with x and y undocumented. The description mentions 'one screen coordinate' but does not clarify coordinate origin, units, screen bounds, or how the optional device parameter is selected, so it does not compensate for the schema gap.

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 states a specific verb and resource: tapping one screen coordinate on an Android device. It is clearer than the bare name, though it does not explicitly differentiate itself from sibling actions like android_press_key or android_swipe.

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?

It gives no guidance on when to use this instead of related tools such as android_swipe, android_press_key, or android_get_ui_tree. The phrase 'selected Android device' implies a device context but does not state prerequisites or exclusions.

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