Search performance
search_performanceUse this for clicks, impressions, CTR and average position from Google Search, grouped by query, page, country, device or date, with optional filters.
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": "search_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of the range when start_date is omitted. Default 28. | |
| device | No | ||
| country | No | ISO 3166-1 alpha-3 country code, lowercase (e.g. 'usa', 'gbr', 'nga'). | |
| end_date | No | YYYY-MM-DD. Omit for the latest complete day (Search Console lags ~3 days). | |
| site_url | Yes | Search Console property exactly as list_sites returns it, e.g. 'sc-domain:example.com' or 'https://www.example.com/'. A bare domain also works. | |
| row_limit | No | Rows to return, sorted by clicks. Default 25. | |
| start_row | No | Offset for paging. | |
| dimensions | No | Group rows by these. Default ['query']. Use ['date'] for a trend, ['page'] for top pages, ['query','page'] for which page ranks for what. | |
| start_date | No | YYYY-MM-DD. Omit to use the last `days` days. | |
| query_regex | No | Only queries matching this RE2 regex. | |
| search_type | No | Google surface. Default 'web'. | |
| page_contains | No | Only URLs containing this text, e.g. '/blog/'. | |
| query_contains | No | Only queries containing this text. | |
| query_not_contains | No | Exclude queries containing this text (e.g. the brand name). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||