sitemap_audit
Fetch a sitemap, parse its URLs, and cross-reference with Google Search Console indexed pages to identify missing or healthy coverage.
Instructions
Fetch a sitemap, parse its URLs, and cross-reference with GSC indexed pages.
Handles both regular sitemaps () and sitemap index files (), with one level of recursion for sitemap indexes. Uses defusedxml for safe XML parsing (prevents XXE and billion-laughs attacks from untrusted external XML).
Returns urls_declared, urls_in_gsc, urls_missing_from_gsc, a missing_sample (up to 20), and a verdict: empty | fetch_error | partial | healthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| sitemap_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |