Get Google Search performance
get_search_performanceGoogle Search Console data for the connected property: 'overview' (daily clicks/impressions/CTR/position totals vs the previous period), 'queries' (top search queries), or 'pages' (top pages). Data lags ~3 days by Google's design. Requires the merchant to have connected Google in the app.
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 |
|---|---|---|---|
| days | No | Length of the reporting window in days. Anything other than 7, 28 or 90 falls back to 28. The window ends about 3 days ago, which is Google's own reporting lag. | |
| limit | No | Rows to return for the 'queries' and 'pages' panels, 1 to 50. Ignored for 'overview'. | |
| panel | No | Which view: 'overview' for whole-window totals compared with the previous period (no per-day series), 'queries' for the top search terms, 'pages' for the top URLs. | overview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| note | No | ||
| rows | No | queries/pages panels | |
| panel | No | ||
| totals | No | overview panel: clicks/impressions/ctr/position | |
| window | No | The date range the data covers | |
| message | No | Present when connected is false | |
| connected | Yes | ||
| connectUrl | No | Present when connected is false |