Skip to main content
Glama

Agent Data Tools: Utilities

Find similar pages and websites: like Exa findSimilar

search_similar
Read-only

Find pages like a given URL: we read it, search on its title and topic words and return the top 1-20 similar pages (title, URL, snippet, date), leaving out the source site by default. Same filters and contents options as /search (page text, highlights, summaries). Results are for immediate use only (Brave API terms). Use to find competitors, related articles or alternatives to a page. Example: url=https://www.x402.org/. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "url": "<url>"
    },
    "name": "search_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page to find similar pages for
countNoNumber of results (1-20, default 10)
countryNoLocalize results for this country: 2-letter code (SE, DE, FR, GB, US…)
summaryNotrue: a 1-3 sentence AI summary of each of the top pages
categoryNonews, research paper, github, pdf, tweet, linkedin profile, company, personal site or financial report
textCharsNoReturn the live page text of the top results, this many characters each (500-20000, or true for 3000; default none)
highlightsNotrue: the passages of each page that best match the query, with scores
excludeTextNoA phrase the results must not contain
includeTextNoA phrase the results must contain (up to 5 words)
numSentencesNoSentences per highlight (1-10, default 3)
summaryQueryNoWhat the summaries should focus on (default: the query)
excludeDomainsNoNever results from these domains: comma list or JSON array
includeDomainsNoOnly results from these domains: comma list or JSON array, up to 20 (example.com, github.com/org)
endPublishedDateNoOnly pages published on or before this date (ISO 8601)
highlightsPerUrlNoHighlights per result (1-5, default 1)
startPublishedDateNoOnly pages published on or after this date (ISO 8601, e.g. 2025-01-01)
excludeSourceDomainNoLeave out the source page's whole domain (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +20
    • changedInput schema / properties / count / minimum
      Previous value: --9007199254740991New value: +1
    • changedInput schema / properties / highlightsPerUrl / maximum
      Previous value: -9007199254740991New value: +5
    • changedInput schema / properties / highlightsPerUrl / minimum
      Previous value: --9007199254740991New value: +1
    • changedInput schema / properties / numSentences / maximum
      Previous value: -9007199254740991New value: +10
    • changedInput schema / properties / numSentences / minimum
      Previous value: --9007199254740991New value: +1
    • changedInput schema / properties / textChars / maximum
      Previous value: -9007199254740991New value: +20000
    • changedInput schema / properties / textChars / minimum
      Previous value: --9007199254740991New value: +500
  2. Changed1 schema field changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Localize results for this country: 2-letter code (SE, DE, FR, GB, US…)",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-idempotent), it discloses the source-site exclusion default, the per-call $0.01 cost and that repeat calls are not free, that failed calls are free, and the Brave API terms restricting results to immediate use. That is exactly the kind of cost/licensing behavior an agent cannot infer from the schema.

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?

Front-loaded with the action and mechanism, then defaults, then use cases, then pricing; each sentence carries information. It is dense and slightly long, but no sentence is pure filler.

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?

With 17 parameters and no output schema, the description still covers return shape, default filtering, cost, and licensing constraints, which is what an agent needs to decide and call correctly. Nothing material appears missing.

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 coverage is 100%, so baseline is 3; the description still adds value by clarifying that the source domain is excluded by default and by summarizing the count range (1-20) and the contents options (page text, highlights, summaries). Most remaining parameters are left entirely to the schema.

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?

States a specific verb and resource ('Find pages like a given URL'), discloses the mechanism ('we read it, search on its title and topic words'), and enumerates the returned fields (title, URL, snippet, date). It also implicitly distinguishes itself from the general /search by describing the URL-seeded approach and by referencing shared filters.

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

Usage Guidelines4/5

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

Gives concrete use cases ('find competitors, related articles or alternatives to a page') plus a worked example URL, and points to /search for the shared filter/contents semantics. It does not state when NOT to use it (e.g., keyword search without a seed URL), which is the only gap.

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.

Resources