Skip to main content
Glama

Find every mention

find_references
Read-onlyIdempotent

Finds the passages in a site that state a fact, and returns each with its page address, its line numbers and its text, best match first. On a kept site it matches meaning, so passages that say the fact in other words are found too, each with a confidence from 0 to 1; if that search cannot answer in time or fails, a plain word match comes back instead and the answer says so. On a preview, given its draft_id, it matches words only. Before a fact such as a refund window, a limit or a product name changes, it shows every page that states it, so one propose_edit can change them all. read_page reads a whole page.

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_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview.
queryYesThe fact to look for, in plain words, 3 to 500 characters, like how long the refund window is. On a kept site, passages that say it differently are found too.
draft_idNoWhich preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."New value: +"Which preview: the draft_id create_preview returned, a 43-character key of letters, digits, - and _ (stray quotes or punctuation around it are ignored). It is not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / query / description
      Previous value: -"The fact to look for, in plain words, like how long the refund window is. On a kept site, passages that say it differently are found too."New value: +"The fact to look for, in plain words, 3 to 500 characters, like how long the refund window is. On a kept site, passages that say it differently are found too."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."New value: +"Which site: its name (like Acme Docs), its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted. Leave it out when this connection covers one site; when it covers several and site is left out, nothing is done and the answer names them. A preview is not one of these sites; draft_id names a preview."
  2. Changed3 schema fields changed
    • changedInput schema / properties / draft_id / description
      Previous value: -"Which preview this is about: the draft_id create_preview gave, not the code in the preview's link. Leave it out for a site you keep."New value: +"Which preview this is about: the draft_id create_preview returned, not the code in the preview's link. Leave it out for a kept site, which site names."
    • changedInput schema / properties / query / description
      Previous value: -"What to look for, in your own words — for example, how long the refund window is."New value: +"The fact to look for, in plain words, like how long the refund window is. On a kept site, passages that say it differently are found too."
    • changedInput schema / properties / site / description
      Previous value: -"Which site: its name or its address. Leave it out if this connection only covers one."New value: +"Which site: its name, its Documarium address (like acme.documarium.com) or the short name in that address (like acme); a custom domain is not accepted here. Leave it out when this connection covers only one site. A preview is not one of these sites; draft_id names a preview."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, but the description adds real behavioral detail beyond them: semantic matching on kept sites, word-only matching on previews, per-result confidence 0 to 1, and best-match ordering. It also discloses a graceful degradation path — plain word match with an explicit notice — when the semantic search times out or fails, which an agent needs to interpret odd results. It stops short of stating pagination or result-count limits.

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?

The purpose and return shape are front-loaded, and each sentence carries distinct information (semantic vs word matching, fallback behavior, use case, sibling routing). It is dense but not padded; the trailing 'read_page reads a whole page' is a terse fragment that still earns its place as a disambiguation cue.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the returned fields and their ordering. Combined with the kept-site versus preview behavior split and the fallback disclosure, an agent has everything needed to call this correctly and interpret what comes back.

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 100%, so the schema already defines site, query and draft_id in detail, including formats and the site-vs-preview distinction. The description reinforces the operational split ('On a preview, given its draft_id, it matches words only') but adds no syntax or constraint information the schema lacks. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ('Finds the passages in a site that state a fact') and goes further by naming the return shape: page address, line numbers, text, best match first. The closing contrast with read_page makes it distinguishable from the most confusable sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a concrete triggering scenario ('Before a fact such as a refund window, a limit or a product name changes') and ties the result to a downstream action ('so one propose_edit can change them all'), which routes the agent to the right sibling. It also carves out the preview path via draft_id and explicitly redirects whole-page needs to read_page.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.