Skip to main content
Glama

double_tap

Tap twice at specified screen coordinates on Android devices for UI testing, app interaction, or gesture simulation during development workflows.

Instructions

Double tap at coordinates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
device_serialNo

Implementation Reference

  • Registers the double_tap tool using the FastMCP decorator
    @mcp.tool()
  • The handler function that performs a double tap at the given (x, y) coordinates on the specified device by executing two ADB input tap commands with a short delay between them.
    def double_tap(x: int, y: int, device_serial: str | None = None) -> str: """Double tap at coordinates""" run_adb(["shell", "input", "tap", str(x), str(y)], device_serial) time.sleep(0.1) run_adb(["shell", "input", "tap", str(x), str(y)], device_serial) return f"Double tapped at ({x}, {y})"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rahulkr/r_adb_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server