compare_periods
Compare Search Console clicks, impressions, CTR, and position between two chosen date ranges, optionally grouped by dimension, to see what changed after a release or season.
Instructions
Compare Search Console clicks, impressions, CTR, and position between two explicit date ranges, optionally grouped by a dimension. Use when the user names a before and an after, such as a release or a season. Call get_performance_summary when they want the latest period against the one just before it, without choosing dates.
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>",
"period1StartDate": "<period1StartDate>",
"period1EndDate": "<period1EndDate>",
"period2StartDate": "<period2StartDate>",
"period2EndDate": "<period2EndDate>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | Yes | The site URL exactly as it appears in Google Search Console (e.g., "https://example.com/" or "sc-domain:example.com") | |
| dimensions | No | Dimensions to group by | |
| searchType | No | Search type to analyze | web |
| period1EndDate | Yes | Period 1 end date (YYYY-MM-DD) | |
| period2EndDate | Yes | Period 2 end date (YYYY-MM-DD) | |
| period1StartDate | Yes | Period 1 start date (YYYY-MM-DD) | |
| period2StartDate | Yes | Period 2 start date (YYYY-MM-DD) |