Skip to main content
Glama

browser_smart_find

Semantically locate interactive elements by natural language intent (e.g., 'checkout button') and receive relevance-scored matches with @ref targets for automation.

Instructions

Semantically find interactive elements matching natural language intent (e.g., 'checkout button', 'login input') with relevance scoring and assign @ref targets.

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": {
      "intent": "<intent>"
    },
    "name": "browser_smart_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoOptional ARIA role to filter (e.g., 'button', 'textbox', 'link').
intentYesNatural language query describing the desired element or action.
max_resultsNoMaximum number of matched candidate elements to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful behaviors: results carry relevance scoring and matched elements get @ref targets assigned, which is a side effect the agent needs to know. It still omits return shape/ordering details, whether it requires an attached page/context, and how many candidates are typically scored, so the disclosure is partial.

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?

A single front-loaded sentence that names the action, the matching mode, and the two behaviors (scoring, @ref assignment) with no filler. It is dense but not confusing; the only minor cost is packing the @ref assignment into a subordinate clause.

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 3-parameter, non-destructive query tool with full schema coverage and no output schema, the description covers purpose and side effects adequately. It leaves gaps on what a result looks like (beyond 'relevance scoring'), what an @ref target is used for afterward, and any page/context preconditions, which an agent needs to chain this into browser_click or browser_fill.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and all three parameters are documented, including the default of 5 for max_results and the role filter semantics. The description contributes only the natural-language intent examples, which loosely reinforce the intent parameter but add no syntax or constraint detail.

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 ('semantically find') and resource ('interactive elements') and clarifies the matching mode with natural-language examples ('checkout button', 'login input'). It implicitly contrasts with a literal search like browser_find_in_page via the word 'semantically', but never names that sibling, so an agent must infer the distinction.

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: the phrase 'matching natural language intent' suggests when this is appropriate versus an exact-match lookup. There is no explicit when-to-use/when-not guidance, no prerequisite about an open page or connected browser, and no named alternative among the many browser_* siblings.

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

Deploy Server

Other Tools