Skip to main content
Glama

find_text

Locate on-screen text on Android or iOS devices and return its coordinates, using case-insensitive fuzzy matching for coordinate-based automation.

Instructions

Find text on the screen and return its coordinates

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": "find_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to find (case-insensitive fuzzy match)

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 disclosure burden. It implies a read-only lookup but never states side-effect behavior, what happens when the text is not found (error vs empty result), how many matches are returned, or whether it searches the whole screen or the active window.

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 sentence with no filler and the outcome (coordinates) front-loaded alongside the action. It is efficient, though its brevity reflects under-specification rather than tight editing.

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?

For a simple one-parameter lookup with no output schema, the description covers the basic contract. However, it omits the return shape (a single coordinate pair vs a list of matches) and not-found behavior, both of which an agent needs to use it reliably.

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?

The single parameter is fully documented in the schema, including the case-insensitive fuzzy match semantics. The description adds no meaning beyond that, which is the expected baseline when schema coverage is 100%.

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?

"Find text on the screen and return its coordinates" states a specific verb (find), a specific resource (text on screen), and even the result (coordinates). It is distinguishable from siblings like tap_text and get_screen by being a pure lookup, though it never explicitly draws that contrast.

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 when-to-use, when-not-to-use, or alternative routing guidance. The description does not say to prefer this over tap_text when you only need a location, nor does it mention prerequisites such as the app being in the foreground.

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