Skip to main content
Glama

toggle_show_taps

Enable or disable visual feedback for screen taps to demonstrate interactions during recordings and demos on Android devices.

Instructions

Show visual feedback for taps - useful for demos/recordings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enableYes
device_serialNo

Implementation Reference

  • The main handler function for the 'toggle_show_taps' tool. It is decorated with @mcp.tool() which handles registration in the FastMCP framework. The function toggles Android's 'show_touches' system setting via ADB shell command to enable/disable visual feedback for screen taps.
    @mcp.tool() def toggle_show_taps(enable: bool, device_serial: str | None = None) -> str: """Show visual feedback for taps - useful for demos/recordings""" value = "1" if enable else "0" return run_adb(["shell", "settings", "put", "system", "show_touches", value], device_serial)

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