Diagnose Site
diagnose_siteDiagnose site changes by reviewing period totals, dropped pages and causes, content decay, URL Inspection for top drops, and sitemap errors; use first for broad 'what changed' queries.
Instructions
Run one site diagnosis: period totals, dropped pages with likely causes, content decay, URL Inspection for the top dropped pages, and sitemap errors. Use it first for a broad "what changed" question
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": {
"siteUrl": "<siteUrl>"
},
"name": "diagnose_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of the range when startDate is omitted. Defaults to 28 | |
| type | No | Search type: web (default), image, video, news, discover, googleNews, or webMultimodal. Google does not allow grouping webMultimodal by query | |
| limit | No | Maximum items in each result list | |
| endDate | No | End date in YYYY-MM-DD format, Pacific Time. Defaults to the latest day with final data | |
| maxRows | No | Maximum rows to read from Google for the analysis. The server pages through results. | |
| siteUrl | Yes | A Search Console property, bare domain, or page URL. Examples: sc-domain:example.com, https://www.example.com/, example.com | |
| startDate | No | Start date in YYYY-MM-DD format, Pacific Time. Defaults from days and endDate | |
| inspectLimit | No | Top dropped pages to check with URL Inspection. Each check uses daily quota | |
| previousEndDate | No | End of the comparison period. Set it together with previousStartDate | |
| previousStartDate | No | Start of the comparison period. Defaults to the period of equal length before startDate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| current | Yes | ||
| summary | Yes | ||
| indexing | Yes | ||
| previous | Yes | ||
| sitemaps | Yes | ||
| warnings | Yes | ||
| contentDecay | Yes | ||
| trafficDrops | Yes | ||
| dataTruncated | Yes |