compare_search_periods
Compare Google Search Console search analytics across two periods to see changes in clicks, impressions, CTR, and average position versus a baseline.
Instructions
Compare search analytics data between two time periods.
Direction: Period 1 is the period you are analyzing and Period 2 is the baseline
you compare it against. All deltas are Period 1 relative to Period 2, and the
percentage baseline is Period 2. A positive value means Period 1 outperformed
Period 2 — more clicks/impressions, higher CTR, or a better (lower) average
position. For a current-vs-previous comparison, pass the current period as
Period 1 and the previous period as Period 2. Percentages are null when the
Period 2 baseline is zero.
Args:
site_url: Exact GSC property URL from list_properties (e.g. "https://example.com/" or
"sc-domain:example.com"). Domain properties cover all subdomains — use the
domain property as site_url and filter by page to analyze a specific subdomain.
period1_start: Start date for period 1 / the analyzed period (YYYY-MM-DD)
period1_end: End date for period 1 / the analyzed period (YYYY-MM-DD)
period2_start: Start date for period 2 / the baseline period (YYYY-MM-DD)
period2_end: End date for period 2 / the baseline period (YYYY-MM-DD)
dimensions: Dimensions to group by (default: query)
limit: Number of top results to compare (default: 10)
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_url": "<site_url>",
"period1_start": "<period1_start>",
"period1_end": "<period1_end>",
"period2_start": "<period2_start>",
"period2_end": "<period2_end>"
},
"name": "compare_search_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| site_url | Yes | ||
| dimensions | No | query | |
| period1_end | Yes | ||
| period2_end | Yes | ||
| period1_start | Yes | ||
| period2_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |