Query Google search performance
gsc_search_analyticsGoogle clicks, impressions, CTR (0-1) and average position for a property, grouped by the chosen dimensions. Returns up to rowLimit rows (at most 1,000 per call); when more may exist, next_start_row is set for the next page. The insights_* tools compute common analyses over all rows.
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>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "gsc_search_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Search type. Defaults to web. | |
| endDate | Yes | End date, YYYY-MM-DD | |
| filters | No | Filters, all of which must match | |
| siteUrl | Yes | Search Console property exactly as gsc_list_sites returns it: "https://example.com/" or "sc-domain:example.com" | |
| rowLimit | No | Maximum rows (1-1,000). Defaults to 100. | |
| startRow | No | Zero-based row to start from, for paging. Defaults to 0. | |
| dataState | No | final (default), all to include fresh data, or hourly_all together with the hour dimension | |
| startDate | Yes | Start date, YYYY-MM-DD | |
| dimensions | No | Group rows by these dimensions. Omit for site totals. | |
| aggregationType | No | How to aggregate. Defaults to auto. |