Skip to main content
Glama

MentionBird

List ranking advice

list_ranking_advice
Read-only

Read-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

NameRequiredDescriptionDefault
brandYesBrand name from ``list_tracked_brands``.
limitNoMax rows to return, 1-50. Default 10. Over 50 reads as 50 and sets ``filters_applied.limit_clamped``; 0 or negative gives the default.
offsetNoRows 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.
searchNoOptional 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.
statusNoOptional. Filter to one lifecycle state — ``done``, ``running``, ``pending``, or ``error``. Customers usually want ``done`` (rows carrying recommendation cards).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's 'Read-only' opener is corroboration rather than new information. It earns credit elsewhere: sort order ('Most-recent first'), the snapshot caveat that a run completing mid-walk shifts the window by one, the fact that search narrows total_count, and the important caveat that a run with covers_all_providers=false must not be presented as advice for every AI and its providers_scope should be named. That last item is genuine behavioral guidance no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening scope statement and the get_ranking_advice routing are front-loaded and efficient. However, roughly half the text is a large return-shape block duplicating an output schema that already exists (has output schema: true), including inline comments that restate field types. That is a sizable block of text that does not earn its place given the structured output definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paginated brand-level list tool, everything an agent needs to call it correctly is present: scope, routing to siblings, sort order, pagination snapshot caveat, and the partial-provider advice caveat. The only shortfall is structural redundancy, since return values are re-explained despite an existing output schema, but no behavioral or usage information is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all five parameters (including limit clamping, offset walk semantics, search targeting prompt_text not summary, and status lifecycle values) are already fully documented in the schema. The description adds meaning about output fields such as brand_prompt_id as an opaque token and covers_all_providers, but adds nothing about the input parameters themselves. Baseline 3 is appropriate when the schema carries the full parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with explicit scope: 'list ranking-advice runs across ALL prompts for a brand.' It also positions itself against siblings by name, calling itself 'the brand-level companion to get_ranking_advice' and noting that start_ranking_advice is the tool that starts runs. An agent can tell this apart from the per-prompt get_ranking_advice without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case in the customer's own words ('what ranking advice has this brand generated recently?') and the reason to prefer it: 'without looping prompt-by-prompt.' It also names the drill-down path, telling the caller to use get_ranking_advice for a specific prompt's history, and explicitly excludes the start-run case. Both when-to-use and when-not-to-use are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources