Compare Search Console Periods
search_console_compareCompare Google Search Console performance between two periods: the last N days vs the same dates last year (default) or vs the previous period. Returns site totals plus top queries or pages with clicks, impressions, CTR and position for both periods and the change. Use for year-over-year or period-over-period analysis, e.g. last 28 days vs last year. Search Console keeps about 16 months of data. Call list_search_console_sites first.
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": {
"user_intent": "<user_intent>",
"site_url": "<site_url>"
},
"name": "search_console_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows of the chosen dimension. Default 25, max 100. | |
| end_date | No | Optional exact end of the current period YYYY-MM-DD. Default: 3 days ago. | |
| site_url | Yes | Exact Search Console property URL e.g. https://example.com/ or sc-domain:example.com | |
| dimension | No | query (default), page, or none for site totals only. | |
| compare_to | No | previous_year (default, same dates one year earlier) or previous_period (the equally long period right before). | |
| start_date | No | Optional exact start of the current period YYYY-MM-DD (overrides date_range_days). | |
| user_intent | Yes | ||
| date_range_days | No | Length of the current period in days, ending 3 days ago. Default 28. |