analyze_sitemap
Fetch an XML sitemap (urlset or sitemap index) to report URL count, lastmod distribution, issues, and optionally verify sample URLs with HTTP status checks.
Instructions
Fetch and analyze an XML sitemap (urlset or sitemap index). Returns URL count, lastmod distribution, and issues. Optionally spot-checks URLs for HTTP status codes.
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": "analyze_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the XML sitemap to analyze. | |
| maxUrls | No | Maximum number of URLs to process from the sitemap. Defaults to 1000. | |
| checkUrls | No | When true, issue HEAD requests to a sample of sitemap URLs to verify they return 200. |