Skip to main content
Glama

find

Read-onlyIdempotent

Search the entire page, not just initial snapshot items, for elements whose label, role, or link contains your query and return matching [eN] references.

Instructions

Search the whole page (not just the first items of the snapshot) for elements whose label, role or link contains query. Returns matching [eN] refs.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
session_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real value by disclosing the search scope (entire page, not the truncated snapshot) and the match fields (label, role, link), which are behavioral traits annotations cannot convey.

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, zero filler, and the most decision-relevant fact (whole-page scope versus snapshot subset) is front-loaded in a parenthetical right where it matters.

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?

An output schema exists and annotations are rich, so the description doesn't need to explain returns or safety. It covers the matching semantics and scope well; only the session identifier and matching case-sensitivity/lazy-loading behavior remain unaddressed, which are minor for this tool type.

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 description must carry parameter meaning. It does a good job explaining `query` — substring matching against label, role, or link — but leaves `session_id` entirely undefined, which is half the parameters on a two-parameter tool.

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 gives a specific verb and resource — search the whole page for elements matching a query — and states the return shape ([eN] refs). It implicitly distinguishes itself from the snapshot tool by noting it searches the whole page rather than just the first items of the snapshot, though it never names the sibling outright.

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 implied rather than stated: an agent can infer this is the fallback when the snapshot's initial items don't contain the target element. There is no explicit 'use this when...' or exclusion clause naming snapshot or read_text as alternatives, so the guidance is contextual but not directive.

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