Search Console Performance
gsc_performanceGoogle Search Console performance for the connected site: clicks, impressions, CTR and position by query, page or period (data lags 2 to 3 days). Use for 'how is my site / this page / this query doing in Google'. One page's queries: dimension_breakdown with filterPage. Diagnosis (cannibalization, CTR outliers) is gsc_insights; weekly position history is rank_tracking_read. Cost: FREE - reads your connected/stored data, no AI credits. Requires Google Search Console, which is not yet connected for this workspace; calling any action returns the connect link. Actions: top_queries (top search queries); top_pages (top pages); dimension_breakdown (by device/country/date, or one page's queries (query + filterPage) / one query's pages (page + filterQuery); needs dimension); query_page_matrix (cannibalization / query-to-page map); query_pages (which pages rank for given queries, with each page's own numbers; needs queries); compare_periods (decay/growth vs the prior period); trend (daily clicks/impressions over time); discover_news (Discover / News / Image / Video surfaces); folder_rollup (performance by URL folder / site section); fresh (provisional today/yesterday numbers (hours-old data)); custom_query (flexible query: 1-3 dimensions, regex/exclusion filters, search type, fresh data, dates, paging to 25,000 rows).
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": {
"action": "<action>"
},
"name": "gsc_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (defaults ~28). 1-90 for most actions; 7-90 for trend; custom_query up to 486 (about 16 months). | |
| page | No | query_pages only: a full page URL to check - returns its own row for each query, or null when it does not rank. | |
| depth | No | folder_rollup only: path depth to group by (1-3, default 1). | |
| limit | No | Row cap. top_queries/top_pages/dimension_breakdown default 50; compare_periods rows per period default 500. Ignored by query_page_matrix (use maxRows), trend and custom_query (use rowLimit). | |
| action | Yes | Which operation to run. Each action, and the parameters it needs, is listed in the tool description. | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. | |
| endDate | No | custom_query only: YYYY-MM-DD, with startDate. | |
| filters | No | custom_query only: filters applied together (AND). Regex is RE2 (no lookarounds). Country is a 3-letter code (usa); device is DESKTOP, MOBILE or TABLET. | |
| maxRows | No | query_page_matrix only: max query-page pairs (100-1000, default 200). | |
| queries | No | REQUIRED for query_pages: 1-5 exact search queries. Page rows are that page's own numbers; queryTotal is site-wide and never a page's number. | |
| surface | No | discover_news only: which surface (default discover). | |
| rowLimit | No | custom_query only: rows per page (1-25,000, default 1,000). | |
| startRow | No | custom_query only: zero-based row offset; pass the nextStartRow a previous answer gave. | |
| dataState | No | custom_query only: final (default) or all (adds fresh data from the last 2-3 days, which can still change). | |
| dimension | No | REQUIRED for dimension_breakdown: device|country|date|query|page (query + filterPage = the queries one page ranks for, with that page's own numbers; page + filterQuery = the pages ranking for one query). For compare_periods: query|page|device|country (default page). Ignored otherwise. | |
| startDate | No | custom_query only: YYYY-MM-DD, with endDate (overrides days). | |
| dimensions | No | custom_query only: 1-3 dimensions to group by (default query). | |
| filterPage | No | dimension_breakdown only: restrict to one exact page URL, as Search Console records it (pair with dimension=query to see the queries that page ranks for). | |
| searchType | No | custom_query only: which search results (default web). Discover and googleNews report no queries. | |
| filterQuery | No | dimension_breakdown only: restrict to one exact query (pair with dimension=page to see which pages rank for it). | |
| aggregationType | No | custom_query only: auto (default), byPage or byProperty (not with the page dimension or a page filter). | |
| response_format | No | Optional. "concise" (default) or "detailed" (the full result; only when a concise answer says it was cut). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||