history_compare
Compare two historical periods beyond Google's 16-month API limit for queries, pages, countries, or devices to analyze performance changes.
Instructions
Compare two stored periods (e.g. this quarter vs the same quarter two years ago) — beyond the API's 16 months.
dimension: query, page, country or device.
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>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"previous_start": "<previous_start>",
"previous_end": "<previous_end>"
},
"name": "history_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| end_date | Yes | ||
| site_url | Yes | ||
| dimension | No | query | |
| start_date | Yes | ||
| search_type | No | web | |
| previous_end | Yes | ||
| previous_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |