Ranking position distribution
get_position_distributionUse this when the user asks how much visibility sits in the top 3, on page one or deeper: slices a property by where it ranks, using the same 1-3 / 4-10 / 11-20 / 21+ bands as the GSC Wizard dashboard. Not for CTR by position: use analyze_ctr_curve. granularity "period" (default) returns impressions, clicks and the number of queries (or pages) in each band over the whole range. granularity "daily" returns one row per day with the count of DISTINCT queries ranking in each band, to see a ranking shift build up or a drop land on a date. Bands run best first (1-3 to 21+) and days oldest first; ctr and the shares are 0-100 percentages. By query, counts and shares cover only the queries Google lists: on most properties a large share of clicks has no query row (analyze_sampling_impact measures it). Positions are impression-weighted averages, so a row sits in one band only. Served from the GSC Wizard ClickHouse warehouse when available (both views are computed over every query or page, never truncated; scanLimit is null there), otherwise from the live Search Console API over the top scanLimit rows by clicks, which drops zero-click rows first and so understates the deep bands when truncated is true (see dataSource). Date range is optional: omit startDate/endDate to analyze the last 28 settled days (data lags ~2-3 days).
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": {
"siteUrl": "<siteUrl>"
},
"name": "get_position_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Optional. Window end as YYYY-MM-DD (e.g. 2026-05-31). You do NOT need to know today's date or the latest available date: omit this and the server uses the latest settled Search Console date (data lags ~2-3 days behind today). Never pass null or the string "null". | |
| siteUrl | Yes | ||
| dimension | No | What a "row" is on the period path: a search query or a page. | query |
| scanLimit | No | How many top rows by clicks to bucket on the live Search Console API. Raise it when a long-tail property reports `truncated: true`. Ignored on the ClickHouse warehouse, which buckets every row in SQL. | |
| startDate | No | Optional. Window start as YYYY-MM-DD (e.g. 2026-05-03). You do NOT need to know today's date. Omit BOTH startDate and endDate to analyze the last 28 settled days automatically (Search Console data lags ~2-3 days). Never pass null or the string "null". | |
| searchType | No | Search type: web (default), image, video, news (the News tab), discover, googleNews (news.google.com), webMultimodal (Google Lens, Circle to Search and image uploads; data from 2026-02-20; not part of all), or all (web + image + video + news + discover combined, position impression-weighted, like the app's "All" filter). Discover, googleNews and webMultimodal carry no query dimension, so query-level results for them are empty; Discover and googleNews also carry no position: it reads null, not 0. | web |
| granularity | No | "period" = one bucket summary over the range; "daily" = distinct query counts per band per day (always keyed on query, ignores `dimension`). | period |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| note | No | ||
| range | No | ||
| thenBy | No | ||
| totals | No | ||
| buckets | No | ||
| listKey | No | Name of the top-level field that holds the rows sortedBy describes. | |
| siteUrl | No | ||
| warning | No | ||
| nextStep | No | ||
| ordering | No | ||
| sortedBy | No | ||
| dayTotals | No | ||
| dimension | No | ||
| scanLimit | No | ||
| sortOrder | No | ||
| thenOrder | No | ||
| truncated | No | ||
| dataSource | No | ||
| searchType | No | ||
| granularity | No | ||
| partialDays | No | ||
| dataMaturity | No | ||
| emptyBecause | No | ||
| methodLimits | No | ||
| settledThrough | No | ||
| warehouseLatestDate | No |