Prompt brand leaderboard
get_prompt_brand_leaderboardPer-prompt competitive leaderboard for a single tracked brand.
Returns hero KPIs + a ranked leaderboard of brands named on this prompt in the trailing window:
metrics.your_share_of_voice_pct— of every brand mention in the window's answers, the share that's yours.Nonewhentotal_runsis 0.metrics.your_mention_rate_pct— % of checks (parsed QueryRuns) that named your brand.metrics.your_avg_position— average rank across your ranked / listed mentions only.Nonewhen no ranked mention exists; inline mentions don't carry rank and are excluded.metrics.your_rank— 1-based position of your brand in the full sorted entity list.Nonewhen your brand was never named in the window.metrics.total_entities— how many distinct brands were named on this prompt at all, i.e. whatyour_rankis a rank within. Rank 38 of 40 and rank 38 of 300 are opposite findings, so read the two together.
items contains the top-10 entities sorted by
mention_rate_pct desc, then times_named desc, then name.
Each row includes a rank field (1-based) and
seen_on_providers — the LLM providers (openai | claude
| gemini | perplexity | grok) that named the brand at
least once.
Every row also carries net_sentiment (-100..+100, how the AIs
framed that brand) and sentiment_coverage_pct. Read them as a
pair. net_sentiment counts labeled mentions only, and 0.0 is
returned both for balanced sentiment and for a brand nothing has
scored yet; sentiment_coverage_pct is the only thing that
separates the two. Coverage is low across the board on windows that
reach back before sentiment scoring shipped, and there is no
backfill, so it climbs as new checks run. Same contract as
get_visibility. Your brand appears at its honest position inside
items when metrics.your_rank ≤ 10; when it falls outside
the top 10 it is absent from items and metrics.your_rank
tells you the true position. The synthetic your_row is always
returned regardless so you can always render your KPIs.
Read together with get_visibility (cross-prompt) and
list_prompts_by_visibility (find gap prompts): this tool is
the per-prompt deep-dive — it explains who is winning a single
question.
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": {
"brand": "<brand>",
"brand_prompt_id": "<brand_prompt_id>"
},
"name": "get_prompt_brand_leaderboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand name from ``list_tracked_brands``. | |
| window_days | No | Trailing window, integer 1-365 inclusive. Default 30. | |
| brand_prompt_id | Yes | Opaque token from ``list_prompts``. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||