Skip to main content
Glama

find

Locate page elements by matching text or labels case-insensitively, then return references for clicking or typing.

Instructions

Find elements whose text/label contains a phrase (case-insensitive). Returns refs usable with click/type.

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": {
      "query": "<query>"
    },
    "name": "find"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
queryYes
tabIdNoTab ID from tabs_list. Omit for the active tab.
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/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 does disclose meaningful behavior: matching is a case-insensitive substring on text/label, and the output is refs for click/type. It says nothing about result limits (the unexplained 'max' parameter), what happens with multiple or zero matches, whether refs expire, or whether hidden/offscreen elements are included.

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, no waste, with the core matching semantics and the return value front-loaded. Every clause earns its place.

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 read-only locator with no annotations and no output schema, the description covers the essential contract. It is still thin on result-set behavior (limits, ambiguity with multiple matches, ref lifetime) that an agent needs to invoke it reliably inside a click/type workflow.

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 coverage is 50%: tabId and profile are already documented in the schema, so the description only needs to compensate for query and max. It clarifies that query matches text/label substring case-insensitively, which is genuine added meaning, but leaves 'max' (likely a result cap) entirely undefined in both schema and description.

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 specific verb and resource ('find elements') plus the matching rule ('text/label contains a phrase, case-insensitive') and the return value ('refs usable with click/type'). It stops short of distinguishing itself from the closest sibling, snapshot, which also enumerates page elements, but the name-plus-description is sufficient to identify it.

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?

Usage is only implied through the phrase 'refs usable with click/type', which sketches the find-then-act workflow. There is no explicit statement of when to use find versus snapshot or get_text, and no exclusion or prerequisite guidance.

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