gsc_query
Query Google Search Console performance data read-only to analyze clicks, impressions, CTR, and position by queries, pages, dates, and filters across one or all properties.
Instructions
Query Google Search Console performance data (read-only). Defaults to queries and pages for the last 7 days ending yesterday, with clicks, impressions, CTR and position. Covers one property, or every property the account can access when siteUrl is 'all' or omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gsc_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | YYYY-MM-DD. Default: yesterday. | |
| filters | No | Optional dimension filters, all combined with AND. | |
| siteUrl | No | One property exactly as in Search Console (sc-domain:example.com or https://example.com/), or 'all' for every verified property. Default: GSC_SITE_URL from .env if set, otherwise all. | |
| rowLimit | No | Rows per property. Default 25. | |
| dataState | No | 'all' includes fresh, not yet final data (default). 'final' is confirmed data only. | |
| startDate | No | YYYY-MM-DD. Default: 7 days ago. | |
| dimensions | No | Default: ['query','page']. Use ['date'] for a daily trend. | |
| searchType | No | Default: web. |