Query search analytics
search_analytics_queryRetrieves clicks, impressions, CTR, and position from Google Search Console for a date range, grouped by query, page, country, device, or date to guide SEO decisions.
Instructions
Clicks, impressions, CTR and position for a date range, grouped by dimensions (e.g. query, page). Core tool for SEO decisions.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "search_analytics_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | YYYY-MM-DD | |
| site_url | No | Falls back to GSC_SITE_URL if omitted. | |
| row_limit | No | Default: 100 | |
| dimensions | No | Default: ['query'] | |
| start_date | Yes | YYYY-MM-DD |