compare_periods
Compare two date ranges side by side to measure Google Search Console performance changes, with optional query, page, country, or device breakdowns.
Instructions
Compare two date ranges side by side with deltas.
With no dimension, returns site-wide totals for both periods. With a dimension (query, page, country, device), returns the top rows by current clicks with previous-period values and deltas; rows that only exist in one period are included with zeros for the other.
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": "<site>",
"current_start": "<current_start>",
"current_end": "<current_end>",
"previous_start": "<previous_start>",
"previous_end": "<previous_end>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| filters | No | ||
| dimension | No | ||
| row_limit | No | ||
| current_end | Yes | ||
| search_type | No | web | |
| previous_end | Yes | ||
| current_start | Yes | ||
| previous_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||