Skip to main content
Glama
droidpilot

droidpilot

by Mihirokte

tap_text

Tap an Android screen element by matching its visible label, replacing separate observe-and-index steps. Use when the target text is known.

Instructions

Tap the element whose label contains text. One call instead of observe, read index, tap.

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": {
      "text": "<text>"
    },
    "name": "tap_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
nthNowhich match to tap when several, starting at 0
textYesvisible label to tap, case-insensitive, partial match
confirmNotrue only if the user asked for this buy/pay/send/delete action

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 it delivers very little beyond the efficiency claim: nothing about what happens when no element matches, whether it waits for the element to appear, or that a tap can trigger irreversible buy/pay/send/delete actions. The `confirm` safety gate is documented only in the schema, and the description gives no hint that tapping may be destructive. The presence of an output schema covers return values, but not failure or side-effect 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?

Two short sentences, the core action is front-loaded, and the efficiency contrast follows immediately. Nothing in the wording is redundant or padding.

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

Completeness4/5

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

For a single-target tap helper with full schema descriptions and an output schema, the description covers the essential what and why. It stops short of covering failure modes and the destructive-action implications of an unannotated mutating interaction, which is the remaining meaningful gap.

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 100%, so `text`, `nth`, and `confirm` are already fully explained in the schema and the baseline applies. The description restates only the `text` semantics (label contains text) without adding matching, ambiguity, or confirmation nuance beyond what the schema provides.

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?

States a concrete verb and targeting mechanism: tap the element whose label contains `text`, with case-insensitive partial matching reinforced in the schema. It implicitly separates itself from an index-based tap and from the observe/read-index/tap workflow, but it never names or contrasts the very close sibling `tap_element`, so an agent must infer that distinction.

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

Usage Guidelines4/5

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

The clause 'One call instead of observe, read index, tap' tells the agent when this tool is the efficient choice over a multi-step discover-then-tap sequence. There is no explicit when-not guidance (e.g. when labels are ambiguous and `nth` should be set, or when no stable label exists), but the primary selection rationale is present.

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