Audit sitemap
audit_sitemapReads a sitemap, checks all URLs use one host, audits an evenly spaced sample, and summarizes issues by type to catch sitewide redirect and canonical problems.
Instructions
Reads a sitemap (or sitemap index), checks that every URL is on one host, then audits an evenly spaced sample of pages with audit_page and summarizes issues by type. Catches sitewide problems such as canonicals pointing to a redirecting host or sitemap URLs that redirect.
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": {
"sitemapUrl": "<sitemapUrl>"
},
"name": "audit_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sampleSize | No | ||
| sitemapUrl | Yes | ||
| checkHreflang | No | Also verify hreflang return links (slower) |