Skip to main content
Glama
Akxan
by Akxan

hreflang / multilingual consistency check

hreflang_check
Read-onlyIdempotent

Verify hreflang implementation: ensure alternate URLs are reachable, reciprocal, self-referencing, use valid language-region codes, include x-default, and do not contradict canonicals or html lang.

Instructions

For a page (or a sitemap sample), read its hreflang alternates and verify: every alternate URL is reachable, points back (reciprocal) to the source, has a self-referencing entry, uses valid language-region codes, has an x-default, and that canonicals do not contradict the alternates. Also compares with the declared hreflang.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsNo
sampleSizeNo
sitemapUrlNoSample pages from a sitemap instead.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds transparency by listing all the validations performed, giving the agent a clear picture of the tool's behavior. It does not contradict the 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?

The description is a single, dense sentence that efficiently lists all checks. It front-loads the purpose with a colon and enumerates the items. No wasted words, though it could benefit from bullet points for readability.

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

Completeness2/5

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

This is a complex tool performing many validations, yet there is no output schema, and the description does not mention what the tool returns (report, pass/fail, list of issues). It also omits any constraints like authentication or limits beyond the schema's maxItems. An agent would not know what to expect as a result, making the definition incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% (only sitemapUrl has a description). The description indirectly explains the urls vs sitemapUrl inputs ('page' vs 'sitemap sample'), but leaves sampleSize entirely unaddressed. With low coverage, the description should compensate more, but it fails to explain the optional sampleSize parameter or how the two input modes interact.

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 description uses specific verbs 'read' and 'verify' and enumerates the exact checks (reciprocal, self-referencing, valid codes, x-default, canonical consistency, html lang). This clearly distinguishes it from sibling tools like sitemap_check or robots_check, which focus on different aspects.

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?

The tool's purpose is clear from the name and description, so an agent can infer when to use it, but the description does not explicitly state when to prefer it over alternatives or mention any exclusions. It provides no comparison to sibling tools.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akxan/google-seo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server