Detect Traffic Drops
detect_traffic_dropsIdentify pages that lost clicks between two periods and classify the likely cause as ranking, impressions, CTR, or visibility so you can prioritize fixes.
Instructions
Find pages that lost clicks between two periods and classify the likely cause: ranking, impressions, CTR, or visibility
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": "detect_traffic_drops"
}
}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 to return | |
| 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 | |
| minDropPct | No | Minimum click decline in percent | |
| previousEndDate | No | End of the comparison period. Set it together with previousStartDate | |
| minPreviousClicks | No | Ignore pages below this click count in the previous period | |
| previousStartDate | No | Start of the comparison period. Defaults to the period of equal length before startDate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| drops | Yes | ||
| causes | Yes | ||
| current | Yes | ||
| previous | Yes | ||
| totalDrops | Yes | ||
| dataTruncated | Yes | ||
| unknownDueToTruncation | Yes |