Index coverage of every sitemap URL
audit_index_coverageWhich sitemap URLs are not indexed, and why: the Page Indexing report's reasons with URL counts, for every URL in the sitemaps.
Google has no API for the Page Indexing report, so this builds it.
Every sitemap URL that earned an impression in the last 90 days is
indexed and needs no check. The rest are inspected with URL Inspection
(Google's own coverage state per URL: "Crawled - currently not
indexed", "Discovered - currently not indexed", "Excluded by 'noindex'
tag", "Duplicate, Google chose different canonical than user", ...),
up to max_inspections per call, about 30 to 45 seconds for 100.
Results are kept for 7 days, so calling again continues with the URLs
still pending instead of starting over. When pending is above 0,
call again to finish; tell the user how far it got first.
Google allows 2,000 inspections a day per property, shared with inspect_url, so a call stops short of that.
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": {
"site_url": "<site_url>"
},
"name": "audit_index_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Optional: the user's goal in a few words. No site names or URLs. | |
| refresh | No | Inspect again even URLs inspected in the last 7 days. | |
| site_url | Yes | Property URL exactly as returned by list_sites. | |
| sitemap_url | No | Optional. One sitemap or sitemap index to read. Default: every sitemap submitted in Search Console. | |
| max_inspections | No | URLs to inspect this call, 1 to 300. Default 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||