Compare two periods
compare_periodsCompare two date ranges side by side to see total clicks plus the queries or pages that gained and lost the most. Defaults to the last 28 days against the prior 28.
Instructions
Totals for two date ranges side by side, plus the queries or pages that gained and lost the most clicks. Defaults to the last 28 days of final data against the 28 days before.
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": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Risers and fallers to show. Default: 10 | |
| site_url | Yes | The Search Console property, for example sc-domain:example.com or https://example.com/. A plain domain or page URL also works: it is matched to the right property. | |
| dimension | No | What to rank risers and fallers by. Default: query | |
| current_end | No | Last day of the current period. Default: 3 days ago. | |
| search_type | No | Default: web | |
| previous_end | No | Last day of the earlier period. Default: the day before current_start. | |
| current_start | No | First day of the current period. Default: 28 days before current_end. | |
| previous_start | No | First day of the earlier period. Default: same length, just before the current period. |