List ranking advice
list_ranking_adviceRead-only: list ranking-advice runs across ALL prompts for a brand.
The brand-level companion to :func:get_ranking_advice. Use this
to answer "what ranking advice has this brand generated recently?"
without looping prompt-by-prompt. Each row carries the same advice
payload as get_ranking_advice plus the prompt context
(prompt_text, country, brand_prompt_id) so the caller
can drill into a specific prompt's history with
get_ranking_advice.
Returns::
{ "items": [ { "run_id": int, "status": "done" | "running" | "pending" | "error", "providers_scope": [str, …], # see get_ranking_advice "covers_all_providers": bool, "summary": str, "recommendations": [ … ], # see get_ranking_advice "tool_call_count": int, "started_at": ISO8601, "completed_at": ISO8601 | null, "error_code": str | null, "brand_prompt_id": str, # opaque token for get_ranking_advice "prompt_text": str, "country": str # ISO alpha-2; "ZZ" = Global }, … ], "total_count": int, # unbounded count (pre-limit) "returned_count": int, "has_more": bool, "offset": int, "note": str, # only while has_more "filters_applied": {…} }
Most-recent first. This tool doesn't start runs;
start_ranking_advice does.
A run whose covers_all_providers is false was built from the
answers of the platforms in providers_scope only; name them when you
relay its advice, and don't present it as advice for every AI.
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>"
},
"name": "list_ranking_advice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand name from ``list_tracked_brands``. | |
| limit | No | Max rows to return, 1-50. Default 10. Over 50 reads as 50 and sets ``filters_applied.limit_clamped``; 0 or negative gives the default. | |
| offset | No | Rows to skip — the cursor for reading past ``limit``. Default 0. No maximum; negatives are treated as 0. Walk by advancing ``offset`` by ``returned_count`` while ``has_more`` is true; the sort is total, so every run is visited exactly once **within one snapshot**. No date range to pin here, so a run completing mid-walk shifts the window by one. | |
| search | No | Optional case-insensitive substring match on the *prompt* each run was about, not on the generated ``summary``. Narrows ``total_count``, so a walk pages the matches only. | |
| status | No | Optional. Filter to one lifecycle state — ``done``, ``running``, ``pending``, or ``error``. Customers usually want ``done`` (rows carrying recommendation cards). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||