Get Search Performance
get_search_performanceReports Google Search Console results (queries, pages, clicks, impressions, position), including striking distance queries (positions 5–20) and anomalies. The text repeats totals and the top 10 pages, queries, striking distance rows and anomalies as markdown and as a fenced JSON block. Pass compareFrom and compareTo for prior-period totals. performance.daily, totals and dataThrough are Google's final data only; performance.preliminary has the newer days Google may still revise, the same shape as daily, never in daily or totals. The default period ends 3 days ago, so preliminary is usually empty; pass to as today's date for Google's newer days. Requires a connected Search Console property. Related: inspect_url, list_saved_keywords.
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": "get_search_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Range end YYYY-MM-DD. | |
| from | No | Range start YYYY-MM-DD. Defaults to the last 28 settled days. | |
| compareTo | No | Prior period end YYYY-MM-DD. Requires compareFrom. | |
| compareFrom | No | Prior period start YYYY-MM-DD. Requires compareTo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appUrl | Yes | ||
| exceptions | Yes | ||
| performance | Yes |