Skip to main content
Glama

web_hreflang_check

Read-only

Hreflang checker — International SEO audit of a page's hreflang annotations (HTML head + HTTP Link header): validates language/region codes (ISO 639-1 / ISO 3166-1, catches en-UK, en_US, country-as-language, deprecated iw/in), duplicate/conflicting codes, relative URLs, missing x-default, missing self-reference, canonical conflicts, then fetches up to limit= alternates (default 10, max 20) to verify each returns 200 and links back (reciprocal return links). Returns entries, return-link table, issues, PASS/WARN/FAIL/NO HREFLANG and a 0-100 score. Optional: limit=. Price: $0.004 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://www.apple.com/

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the supplied readOnly/openWorld/non-destructive annotations, the description discloses meaningful behavior: it makes outbound HTTP fetches of up to limit alternates (default 10, max 20), checks each for a 200 and a reciprocal return link, and reports PASS/WARN/FAIL/NO HREFLANG plus a 0-100 score. It also states the paid access model ($0.004 USDC on Base via x402), which is critical operational context an agent cannot get from annotations.

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 and information-dense, with the core purpose in the first clause and the price/limit details trailing. It is a single heavy block rather than structured lines, but nearly every clause carries substantive detail and little is redundant.

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?

No output schema exists, so the description carries the return-value burden and does so: entries, return-link table, issues, verdict, and score. For a one-parameter, open-world read tool with annotations already covering the safety profile, nothing an agent needs to invoke it correctly is missing, aside from the aforementioned limit ambiguity.

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?

With one required param and 100% nominal schema coverage, the baseline is 3; the description adds little about the url parameter itself (no format/validation rules beyond what the schema's example implies). It also references an 'Optional: limit=' parameter with default 10 and max 20 that does not appear in the input schema, which adds semantics but also creates ambiguity about whether that argument is actually accepted.

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 precise verb+resource: an international-SEO audit of a page's hreflang annotations from both HTML head and HTTP Link header. It enumerates exactly what is validated (language/region codes, duplicates, relative URLs, x-default, self-reference, canonical conflicts, reciprocal return links), so an agent can distinguish it from generic siblings like web_site_audit or web_meta without opening the schema.

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 tightly scoped niche (hreflang/i18n auditing), but there is no explicit when-to-use vs. when-not-to-use guidance and no routing to alternatives such as web_site_audit or web_links. An agent must infer that this is the right tool when the question is specifically about multilingual annotations.

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