Audit how much of a sitemap is indexed
audit_sitemap_indexingAudit sitemap URLs to measure Google indexing. Inspects a sample and reports indexed counts, exclusion reasons, and affected URLs.
Instructions
Reads the URLs listed in the property's sitemaps, inspects a sample of them and reports how many are indexed, the reasons the others are not, and the affected URLs. This is the closest the API gets to the Page indexing report. Each inspected URL uses one of the 2,000 daily inspections per property, so the sample is small by default.
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": "audit_sitemap_indexing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_urls | No | How many URLs to inspect. Google takes about six seconds per inspection, so 25 takes around 25 seconds and 50 is the most one call can finish. Call again for a second sample. | |
| sampling | No | "random" picks a representative sample; "first" takes the URLs in sitemap order. | random |
| site_url | No | Search Console property, for example "sc-domain:example.com" or "https://www.example.com/". A bare domain or any page URL on the site also works. Optional when GSC_SITE_URL is set or the account has exactly one property. | |
| sitemap_url | No | A specific sitemap or sitemap index to audit. Defaults to every sitemap submitted in Search Console. | |
| language_code | No | BCP-47 language for Google's issue messages, for example "en-US" (default) or "el". |