Compare two periods (what dropped, what is new)
gsc_compare_periodsCompares two date ranges per query or per page and returns the changes: biggest click losers, rising, NEW (only in the recent period) or LOST (only in the earlier one). Use it to find pages that lost traffic or rank, and new queries. Default: last 28 days vs the 28 days before. 2 credits per call that returns rows; empty or failed calls are free.
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>"
},
"name": "gsc_compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | page | |
| show | No | declining = clicks down, biggest loss first. | declining |
| site | Yes | Search Console property exactly as returned by gsc_list_sites: "sc-domain:example.com" or "https://example.com/". | |
| limit | No | ||
| end_date | No | Recent period end (default: 2 days ago), YYYY-MM-DD. | |
| start_date | No | Recent period start (default: 28 days before end_date), YYYY-MM-DD. | |
| min_impressions | No | Ignore rows below this in BOTH periods combined. | |
| compare_end_date | No | Earlier period end, YYYY-MM-DD. | |
| compare_start_date | No | Earlier period start (default: same length, directly before), YYYY-MM-DD. |