Query Search Analytics
gsc_search_analyticsQuery Search Console data for clicks, impressions, CTR, and position across single, selected, or all properties. Apply filters and dimensions to uncover search performance insights.
Instructions
Run a Search Analytics query for one property, selected properties, or all properties. Returns clicks, impressions, CTR, and average position.
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "gsc_search_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | web | |
| endDate | Yes | ||
| filters | No | ||
| siteUrl | No | ||
| allSites | No | ||
| rowLimit | No | ||
| siteUrls | No | ||
| startRow | No | ||
| dataState | No | final | |
| startDate | Yes | ||
| dimensions | No | ||
| aggregationType | No |