Skip to main content
Glama

Compare page with top search results

compare_with_top_results
Read-only

Compares a page of the site with the pages ranking in the top 10 for a search phrase: title, meta description, H1-H3 structure and heading topics, word count, paragraphs, links, images, dates and structured data. Returns the client values, medians for the top results, a list of gaps ordered by impact and heading topics the top results cover that the page does not. Uses competitor_urls when given (for example from a web search); otherwise Anole fetches the current Google top 10 when its search API is configured. Analysed pages count towards the plan quota.

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>",
      "keyphrase": "<keyphrase>"
    },
    "name": "compare_with_top_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage on the site to compare
siteNoSite domain, e.g. example.com. Optional when the account has one site.
countryNoGoogle market for the Anole search, e.g. Poland, Germany, United States. Defaults from the site language.
languageNoSearch language code, e.g. pl, en. Defaults to the site language.
keyphraseYesSearch phrase, e.g. "mortgage calculator"
competitor_urlsNoUp to 10 URLs ranking for the phrase, best first. Optional when Anole search is configured.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / site / description
      Previous value: -"Site domain, e.g. example.com (see list_sites). Optional when the account has one site."New value: +"Site domain, e.g. example.com. Optional when the account has one site."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description still adds real value beyond them: it discloses the response shape (client values, medians, impact-ordered gaps, uncovered heading topics), the external-dependency fallback to Google's top 10, and the quota cost ('Analysed pages count towards the plan quota'). What is missing is the failure mode when neither competitor_urls nor a configured search API is available.

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?

Three sentences, front-loaded with the core comparison and its scope, then response contents, then sourcing and cost. Every sentence carries information. The long attribute enumeration in sentence one is dense and could be trimmed slightly, but it does convey real scope.

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?

With six parameters, no output schema and an open-world external dependency, the description does the work an agent needs: it explains what comes back, where competitor data comes from, and that the call is quota-metered. Only the error path (no competitors resolvable) and any latency or result-size expectations are left unstated.

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 the baseline would be 3. The description rises above it by giving competitor_urls a provenance and constraint the schema does not ('when given, for example from a web search') and by tying the omission of that parameter to the Anole-search fallback. This makes the url/keyphrase vs. competitor_urls interplay concrete rather than just documented per-field.

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 precise verb and resource: it compares 'a page of the site' against 'the pages ranking in the top 10 for a search phrase', and enumerates the compared attributes (title, meta, H1-H3, word count, links, images, dates, structured data). That is far more specific than the title alone. It does not, however, differentiate itself from plausible siblings such as analyze_content or get_url_audit, so an agent cannot rule those out from the description alone.

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: the tool is for benchmarking one URL against a keyphrase's top-10 competitors. The key operational condition is covered — competitor_urls is used when supplied, otherwise Anole must fetch Google's top 10 and that requires a configured search API. But there is no explicit when-to-use vs. sibling alternatives and no when-not guidance.

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.