gsc_query
Retrieve Google Search Console performance data including clicks, impressions, CTR, and position, grouped by dimensions like query, page, country, or device. Apply filters to isolate specific traffic segments.
Instructions
Search Console Search Analytics — clicks / impressions / CTR / position grouped by dimension(s). The core SEO tool (same data as the GSC Performance export, but live + filterable).
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_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | YYYY-MM-DD | |
| endDate | Yes | YYYY-MM-DD | |
| dimensions | No | Group by these; omit for site totals. | |
| siteUrl | No | Defaults to GSC_SITE_URL. URL-prefix (trailing slash) or sc-domain: form. | |
| rowLimit | No | Default 1000 (max 25000). | |
| searchType | No | ||
| filterDimension | No | Optional single filter. | |
| filterOperator | No | ||
| filterExpression | No |