Skip to main content
Glama
rahulkr
by rahulkr

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the tool's function ('Show visual feedback for taps') and use case, but doesn't disclose behavioral traits such as whether it requires specific permissions, if changes are persistent, potential side effects (e.g., performance impact), or what the output schema returns. For a tool with no annotations, this leaves significant gaps in understanding its behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise—a single sentence with two clauses—and front-loaded with the core purpose. Every word earns its place by stating the action and context without redundancy. It efficiently communicates the essential information in a minimal format.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema (which reduces the need to describe return values) but no annotations and 0% schema coverage, the description is incomplete. It covers the basic purpose and use case but lacks details on parameters, behavioral nuances, and how it integrates with sibling tools. For a tool with two parameters and no annotation support, more context would be beneficial to ensure proper usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema provides no parameter descriptions. The description doesn't mention any parameters explicitly, but it implies the 'enable' parameter through the action 'Show' (which suggests toggling on/off). However, it doesn't explain the 'device_serial' parameter or provide details beyond basic inference. With low schema coverage, the description adds minimal value, resulting in a baseline score.

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 clearly states the tool's purpose: 'Show visual feedback for taps' indicates it controls a visual indicator for touch interactions. It specifies the context ('useful for demos/recordings'), which helps distinguish it from general tap-related tools like 'tap' or 'tap_element'. However, it doesn't explicitly differentiate from 'toggle_show_layout_bounds', which is a similar visual toggle tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context ('useful for demos/recordings'), suggesting when this tool might be beneficial. However, it doesn't provide explicit guidance on when to use it versus alternatives (e.g., other visual feedback tools) or any prerequisites (e.g., device connection). The context is helpful but lacks specificity for sibling tool differentiation.

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

Install Server

Other Tools

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