Compare Two Search Analytics Periods
gsc_compare_periodsCompare two Google Search Console date ranges to see property-wide metric changes and identify top dimension winners and losers.
Instructions
Compares two date ranges (e.g., last 28 or 90 days vs. the previous period) to identify true property-wide totals as well as top dimension winners and losers.
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>"
},
"name": "gsc_compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days per period when explicit dates are omitted (e.g., 28 or 90). | |
| limit | No | Number of winners and losers to return. | |
| sortBy | No | Metric delta used to rank winners and losers. | clicksDiff |
| filters | No | Optional AND-combined dimension filters. | |
| siteUrl | Yes | Property URL, e.g. "sc-domain:example.com" or "https://example.com/". | |
| dimension | No | Dimension to compare (query, page, country, or device). | query |
| fetchLimit | No | Max dimension rows fetched per period for winner/loser comparison (default: 1000). | |
| searchType | No | Search type (default: web). | web |
| currentEndDate | No | Optional explicit current end date (YYYY-MM-DD). | |
| minImpressions | No | Minimum combined impressions (current + previous) required for winners/losers (filters single-impression noise). | |
| previousEndDate | No | Optional explicit previous end date (YYYY-MM-DD). | |
| currentStartDate | No | Optional explicit current start date (YYYY-MM-DD). | |
| previousStartDate | No | Optional explicit previous start date (YYYY-MM-DD). |