Skip to main content
Glama

tap_text

Taps on visible text on a mobile screen, enabling AI to locate and select UI labels or messages during device automation.

Instructions

Tap on the text found on the screen

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
textYesText to tap

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.9/5.0
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 behavioral burden, and it discloses almost nothing. It does not say what happens when the text is absent, whether multiple matches are disambiguated or the first is chosen, whether it scrolls or waits for the text to appear, or what the response contains.

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?

One short sentence with no filler and the action front-loaded. It is efficient, though the brevity edges into under-specification rather than tightness.

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 UI interaction tool with no annotations and no output schema, the definition should cover failure modes (text not found, multiple matches) and the effect of the tap. None of that is present, so an agent cannot predict or handle the common failure case.

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?

There is a single parameter with 100% schema description coverage ("Text to tap"), so the schema already documents it and the baseline is 3. The description adds only that the text is located on the screen, which is marginal meaning beyond the schema.

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?

"Tap on the text found on the screen" states a specific verb (tap) and target selection method (by visible text), which separates it from a coordinate-based sibling like "tap" by implication. The differentiation is implicit rather than explicit—it never names the coordinate alternative or says it resolves an element addressable by its label.

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?

There is no explicit when-to-use or when-not-to-use guidance, no mention of how this relates to "tap" or "find_text", and no stated prerequisite (e.g. the text must be currently visible). The only guidance is inferable: the caller must know the on-screen text string.

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