Get search performance
get_search_performanceA short Search Console performance overview: clicks, impressions, CTR and average position for a period and its comparison period, the change in each, a daily series for both, and the top queries and pages by clicks. Data comes from the site’s connected Google Search Console property, web search only. By default the period is the last 28 days that have final data, which usually ends 2 to 3 days ago, and it is compared with the 28 days before it. Search Console does not separate AI Overviews or AI Mode traffic from web search. Totals come from the whole property with no filter, so anonymized queries are counted; the top query list leaves out search-operator queries by default. Position has no change when either period had no impressions.
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": {
"projectId": "<projectId>"
},
"name": "get_search_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rowCap | No | Most rows to read from Google for each query or page list; default 50,000, at most 200,000. The result says truncated when the cap stopped a read. | |
| endDate | No | Last day, YYYY-MM-DD. Defaults to the last day with final data. A later day reads data Google still collects, and the result says so. | |
| topLimit | No | Rows in each top list. Default 10. | |
| projectId | Yes | Site to act on, from list_sites. Only its connected Search Console property is used. | |
| startDate | No | First day, YYYY-MM-DD. Defaults to 28 days ending on endDate. | |
| compareWith | No | "previous": the period of equal length just before. "sameLastYear": the same dates one year earlier, for seasonal sites. | previous |
| includeSearchOperatorQueries | No | Keep queries with a search operator, such as site:, inurl:, intitle:, filetype: or before:, in the lists. Totals always include them. |