Check hreflang
check_hreflangCrawl and validate hreflang across pages: reciprocity, self-reference, valid language/region codes, duplicate x-default. Reveal invisible errors that make Google ignore entire hreflang clusters.
Instructions
Crawl the site and validate its hreflang across pages: reciprocity, self-reference, valid language and region codes, duplicate or multiple x-default. Faults here are invisible page by page — every page looks correct and the cluster is still ignored, because a declaration Google cannot verify from both ends is dropped entirely.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_hreflang"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Start URL. Defaults to SEO_MCP_SITE. | |
| maxPages | No | Cap on pages crawled. Default 200. |