Query search analytics
search_analyticsRetrieve and group Google Search Console performance data by query, page, country, device, date, or hour with filters. Paginate past the 25,000-row limit and flag truncated results.
Instructions
Raw Search Console performance data grouped by any dimensions, with filters. Pages past Google's 25,000-row limit automatically and says when results were cut off. Use dimensions ["hour"] for hourly data from the last 10 days, or ["date"] for a daily trend.
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": "search_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | e.g. "example.com" or any URL on it. Optional if there is one property. | |
| type | No | Default web | |
| fresh | No | Include fresh, not yet final data from the last ~2 days | |
| range | No | last7d, last28d (default), last3m, last6m, last12m, last16m, or "2026-01-01..2026-01-31" | |
| filter | No | e.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex | |
| format | No | table (default, compact), json or csv | |
| devices | No | Match any of these devices | |
| maxRows | No | Default 100. Keep it small unless you need everything; 1,000 rows is about 30k tokens. | |
| orderBy | No | Sort descending by this metric (position sorts best first). Default clicks; date and hour sort by time. | |
| countries | No | Match any of these countries (ISO alpha-3), e.g. ["usa","gbr"] | |
| dimensions | No | Group by, e.g. ["query"], ["page","query"], ["date"], ["hour"]. Empty gives totals. | |
| aggregationType | No |