Skip to main content
Glama

firefox_find

Read-only

Find text on the current page and return matching lines with context, optionally targeting a specific tab.

Instructions

Find text on the current page; returns matching lines with context.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
tabIdNoTab id from firefox_tabs. Default: the tab last used, else the visible one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context by describing the return value ("matching lines with context"), but says nothing about case sensitivity, whether it scrolls to or highlights the match, or what is returned when nothing matches — all relevant for a browser find operation.

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?

A single short sentence that leads with the action and appends the return shape; nothing is wasted and no clarifying detail is buried behind preamble.

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?

For a two-parameter read-only lookup with no output schema, the description covers purpose, scope, and a sketch of the return value, which is close to sufficient. The main omission is match semantics (case sensitivity, no-match behavior), a real but modest gap for a tool of this complexity.

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 tabId parameter is fully documented in the schema (including its default), so the description need not repeat it. The required query parameter has no schema description and the tool description does not clarify whether matching is literal, case-insensitive, or regex-capable; "find text" weakly implies a literal text match, which is the only added signal. Adequate but thin given 50% schema coverage.

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 text on the current page") and adds the return shape ("matching lines with context"), so the agent knows this is an in-page text lookup rather than a navigation or fetch tool. It does not explicitly distinguish itself from the similarly named sibling firefox_search, leaving the in-page vs. other-scope boundary to inference.

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 by the phrase "on the current page," which signals an in-page search as opposed to whatever firefox_search does, but there is no explicit when-to-use/when-not-to-use statement and no alternative is named. The agent can guess correctly, but must guess.

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