gsc_performance
Query Google Search Console search analytics data by site URL, date range, dimensions, and filters to analyze search performance.
Instructions
Query GSC search analytics.
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": {
"site_url": "<site_url>"
},
"name": "gsc_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ``desktop``, ``mobile``, or ``tablet``. | |
| country | No | ISO 3166-1 alpha-3 country filter (e.g. ``usa``). | |
| end_date | No | ISO date. Defaults to 2 days ago (GSC has ~2-day latency). | |
| site_url | Yes | The property as it appears in GSC (e.g. ``sc-domain:example.com`` or ``https://example.com/``). | |
| row_limit | No | Max rows (capped at 25,000). | |
| dimensions | No | One or more of ``query``, ``page``, ``country``, ``device``, ``date``, ``searchAppearance``. Defaults to ``["query"]``. | |
| start_date | No | ISO date (YYYY-MM-DD). Defaults to 28 days ago. | |
| search_type | No | ``web``, ``image``, ``video``, ``news``, or ``discover``. | web |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||