gsc_performance
Query Google Search Console performance for a verified property to analyze clicks, impressions, CTR, and position by date, query, page, country, device, or search appearance, with filters and totals.
Instructions
Query Google Search Console performance data (clicks, impressions, CTR, position) for a verified property. Supports date range filtering, dimension breakdowns (query, page, country, device, searchAppearance), and row-level filters. Returns individual rows plus aggregate totals. Requires GSC_CLIENT_ID, GSC_CLIENT_SECRET, and GSC_REFRESH_TOKEN environment variables.
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>"
},
"name": "gsc_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date in YYYY-MM-DD format. Defaults to today. | |
| filters | No | Optional filters to narrow the data. | |
| siteUrl | Yes | The GSC property URL (e.g. "https://example.com/" or "sc-domain:example.com"). | |
| rowLimit | No | Maximum number of rows to return (1-25000). Defaults to 1000. | |
| startDate | No | Start date in YYYY-MM-DD format. Defaults to 28 days ago. | |
| dimensions | No | Dimensions to group results by. Defaults to ["query"]. |