Skip to main content
Glama

MentionBird

Prompts by visibility

list_prompts_by_visibility
Read-only

Prompts ranked by tracked-brand visibility % in the given window.

order=asc (default) surfaces gap prompts (low/no visibility — action items); order=desc surfaces winning prompts.

Each row also carries net_sentiment (-100..+100, how the AIs talked about the brand on this prompt) with its sentiment_coverage_pct. It surfaces a different class of problem from visibility: a prompt the AIs name the brand on every time but describe badly. net_sentiment counts labeled mentions only, and 0.0 is returned both for balanced sentiment and for a prompt with nothing labeled — check the coverage before acting on a low score.

Rows are always ordered by visibility; there is no sentiment sort. order flips the visibility direction only. To rank prompts by tone you must walk every page (limit=100, advancing offset to total) and sort the full set client-side. Sorting a single page would rank only the least- or most-visible slice and report it as the worst-toned prompts, while the genuinely negative ones sit unseen further down the walk.

Each row also carries any_brand_mention_rate_pct — the share of parsed runs that named any brand — and any_sources_rate_pct — the share of parsed runs that produced at least one citation of any kind. Read all three to diagnose why a prompt is losing:

  • visibility_pct low + any_brand_mention_rate_pct high → competitors are winning — this is a real optimization gap.

  • Both brand metrics low + any_sources_rate_pct low → the LLM answers without citing the web; the prompt doesn't invite citations at all (not rankable; consider pruning or retagging as awareness-only).

  • Both brand metrics low + any_sources_rate_pct high → the LLM cites the web, just not your brand — source-quality play.

  • Both brand metrics high → your brand is winning a brand-friendly prompt.

Rows also carry country (ISO alpha-2; "ZZ" = Global) and the 1-10 difficulty_bucket / search_volume_bucket (None if not yet scored). Combine min_search_volume + max_difficulty with order=asc to surface high-leverage prompts the brand is losing on.

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_prompts_by_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYesBrand name from ``list_tracked_brands``.
limitNoPage size. Default 50, max 100 — higher than the other list tools on purpose. This tool recomputes the visibility aggregate per call, so a walk in small pages repeats that work per page; 50 halves the recomputes a caller that doesn't set ``limit`` will pay, and matches what the REST surface and the OpenAPI spec already advertise.
orderNo``asc`` | ``desc``.asc
offsetNoRows to skip — the cursor for reading past ``limit``. Default 0. No maximum; negatives are treated as 0. ``total_count`` is the true number of prompts matching the filters, so walk by advancing ``offset`` by ``returned_count`` while ``has_more`` is true. The sort is total, so a walk visits every prompt exactly once **within one snapshot** — runs landing mid-walk change visibility and re-rank rows, so pass an ``end_date`` in the past to freeze the set. Raise ``limit`` to 100 when you intend to read the whole set: this tool recomputes the visibility aggregate per call, so it is the most expensive of the paginated tools to walk in small pages.
searchNoCase-insensitive substring match on the prompt text. No minimum length, unlike the citation tools' ``search``: theirs guards a trigram index that degrades below 3 characters, while this one is a predicate on subscription rows the query already reads per brand, so a short term costs nothing extra. Narrows ``total_count`` too, so a walk pages the matches only.
countryNoOptional ISO alpha-2; pass ``"ZZ"`` for Global-only.
end_dateNo
query_tagNoUser-defined tag slug.
start_dateNo
llm_providerNo``openai`` | ``claude`` | ``gemini`` | ``perplexity`` | ``grok``.
max_difficultyNoOptional 1-10. Drop prompts with a higher ``difficulty_bucket`` (and any not-yet-scored prompts).
min_search_volumeNoOptional 1-10. Drop prompts with a lower ``search_volume_bucket`` (and any not-yet-scored prompts).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses cost behavior (the visibility aggregate is recomputed per call, so walking in small pages is expensive), snapshot consistency (mid-walk runs re-rank rows; pass an end_date in the past to freeze), and a statistical trap (0.0 net_sentiment means either balanced or unlabeled — check coverage first). It even explains how to read visibility_pct, any_brand_mention_rate_pct, and any_sources_rate_pct together to diagnose why a prompt is losing.

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

Conciseness4/5

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

Purpose is front-loaded in the opening line and the diagnostic bullet list is scannable and genuinely useful. The ordering constraint is restated several times (plain text plus a bolded sentence plus the asc/desc explanation), and the per-page recompute cost is mentioned in both the description and the limit/offset schema text, which is mild redundancy in an otherwise dense but well-organized block.

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

Completeness5/5

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

For a 12-parameter, paginated analytics list tool with an output schema and read-only annotations, the description covers everything an agent needs: ordering semantics, pagination strategy, snapshot hazards, field interpretation, and filter combinations. Complex result fields (net_sentiment, coverage, mention/source rates) are explained to the degree needed for correct downstream decisions rather than enumerating return shapes, which the output schema already handles.

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

Parameters4/5

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

Schema coverage is already 83%, so the baseline is 3; the description earns more by adding interpretation the schema lacks, such as order flipping only the visibility direction (not the sort key), and the combination of min_search_volume + max_difficulty with order=asc to target high-leverage gaps. It also gives an operational reason to pass end_date (freezing the set against mid-walk runs). It does not elaborate the undocumented start_date or query_tag beyond their schema text.

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

Purpose4/5

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

The first sentence gives a specific verb and resource: prompts ranked by tracked-brand visibility % within a window. It also states a hard scope constraint ('Rows are always ordered by visibility; there is no sentiment sort'), which tells an agent what this tool will not do. It stops short of naming any sibling tool (e.g., get_visibility or list_queries) that an agent should pick for a related need.

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

Usage Guidelines4/5

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

Usage is well signposted for the tool's internal modes: order=asc surfaces gap prompts as action items, order=desc surfaces winners, and combining min_search_volume + max_difficulty with order=asc surfaces high-leverage losses. It also warns strongly against the wrong workflow (sorting a single page for tone instead of walking all pages). No explicit 'use another tool instead' alternative is named, so it falls one step short of a 5.

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