compare_periods
Compare two date ranges to find pages or queries with the largest changes in clicks, impressions, and position, with deltas computed automatically.
Instructions
The biggest-movers analysis, computed for you: this date range vs the prior equal-length range, joined per page (or query) with clicks/impressions/position deltas, sorted by biggest change. Use this for 'what fell/grew', 'this month vs last', and trend diagnosis — it's one call and the math is already done.
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>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Current period end, YYYY-MM-DD | |
| siteUrl | Yes | Exact property from list_properties | |
| rowLimit | No | ||
| dimension | No | Compare by page (default) or by query | |
| startDate | Yes | Current period start, YYYY-MM-DD | |
| searchType | No |