Skip to main content
Glama

MentionBird

Top mentioned brands

get_top_mentioned_brands
Read-only

Top brands mentioned across this tracked brand's subscribed prompts, ranked by number of runs they appeared in.

Brands that attribution already treats as one — the tracked brand plus its aliases, and each tracked Competitor plus its aliases (including the implicit contains-match on the brand name) — are grouped into a single item under the canonical brand. All counts deduplicate at the run level across the group's spellings — an answer naming two spellings counts once, mention_count equals the distinct-run count on merged and ungrouped items alike (mentions are unique per run and brand), and avg_rank averages each run's best rank, matching the dashboard's prompt leaderboard. Overlapping groups resolve tracked-brand-first, then by curation order (the earliest-created competitor wins): a competitor whose spellings all fall inside the tracked brand's — or an earlier competitor's — set produces no item of its own; its mentions report under that earlier group's row. When only part of a competitor's set overlaps, the shared spellings still report under the earlier group and the competitor's own item counts just the runs naming its remaining spellings. Each item flags is_you / is_tracked_competitor so the calling LLM can slice client-side. Those two kinds of item are named as the dashboard names them — the tracked brand's name from list_tracked_brands, the competitor's name from list_competitors — and their domain is the workspace's first declared domain for it, the same value those tools return; every other item carries the brand's public domain, or null.

Each item also carries net_sentiment (-100..+100) and sentiment_coverage_pct, which is what makes this the competitor-benchmarking view for tone and not just for share of voice: the tracked brand and each competitor are scored on the same scale over the same runs. net_sentiment counts labeled mentions only — +100 means every labeled mention recommends that brand, -100 that every one criticizes it, 0 that they balance or are uniformly neutral — and sentiment_coverage_pct is the share of that brand's mentions carrying a label at all.

Compare the coverage figures before comparing the scores. A brand with three labeled mentions and one with three hundred both report on a -100..+100 scale, and net_sentiment 0.0 is also what a brand with no labeled mentions returns. Ranking competitors on the score alone, without reading coverage, will manufacture differences that the data does not contain.

Every count is per answer: an answer naming two spellings of one grouped brand counts once, with the best-ranked mention's rank and sentiment label, as on the dashboard. So sentiment_coverage_pct is the share of the answers in mention_count that carry a label.

filter_by_brand / exclude_brand mirror the same parameters on get_top_citation_domains: pass a brand name to scope to runs where that brand was (or wasn't) mentioned. The diff-set workflow — "which competitors are mentioned in the prompts where my brand isn't?" — is the precise case this enables. The tracked brand's name or a competitor's name (from list_competitors) matches every spelling of it — the same spellings its item above groups, plus any an earlier group claimed — so exclude_brand on a competitor drops every answer naming it under any spelling. Any other name matches that one brand row exactly, and spellings of it are missed; filters_applied.filter_by_brand_match / exclude_brand_match say which happened (tracked_brand / competitor / exact_only). share_pct denominators reflect the narrowed scope when either filter is set.

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": "get_top_mentioned_brands"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYesBrand name from ``list_tracked_brands``.
limitNoPage size. Default 20, max 100.
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 distinct brands mentioned, so walk by advancing ``offset`` by ``returned_count`` while ``has_more`` is true. The sort is total, so a walk visits every brand exactly once **within one snapshot** — mentions written mid-walk can re-rank the leaderboard, so pass an ``end_date`` in the past to freeze the set for a long walk.
end_dateNo
query_tagNoUser-defined tag slug.
start_dateNo
llm_providerNo``openai`` | ``claude`` | ``gemini`` | ``perplexity`` | ``grok``.
exclude_brandNoBrand name — scope to runs where it was NOT mentioned. The tracked brand or a competitor matches all its spellings.
brand_prompt_idNoOpaque token from ``list_prompts`` — scope to one prompt.
filter_by_brandNoBrand name — scope to runs where it was mentioned. The tracked brand or a competitor matches all its spellings.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses substantial behavioral detail: run-level deduplication, alias grouping, overlap resolution priority, per-item flags, sentiment scoring semantics, and the exact matching behavior of filter_by_brand and exclude_brand. It also explains how filters_applied reports the match type and how share_pct denominators narrow. This is rich context that an agent could not infer from annotations alone.

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 purpose is front-loaded and the description is organized into logical paragraphs, but it is very long and dense for a tool definition. It repeats the deduplication and per-answer counting semantics in multiple places, and several sentences could be tightened without losing meaning. The complexity justifies some length, but not all of the redundancy.

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?

Given the tool's complexity, 10 parameters, and the presence of an output schema, the description is complete enough for an agent to call it correctly. It covers grouping, deduplication, overlap resolution, sentiment caveats, filter matching, and pagination/snapshot implications are handled in the schema. No critical behavioral gap remains for the described use cases.

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 description coverage is high at 80%, so the baseline is 3. The description adds meaningful semantics for the brand parameter and especially for filter_by_brand and exclude_brand, explaining that tracked-brand and competitor names match all their spellings while other names match only one exact row. It does not add much for limit, offset, dates, query_tag, llm_provider, or brand_prompt_id beyond what the schema already provides, but the filter guidance is a valuable supplement.

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?

The description opens with a specific verb, resource, and ranking criterion: top brands mentioned across the tracked brand's subscribed prompts, ranked by number of runs they appeared in. It clearly identifies the tracked brand context and references list_tracked_brands and list_competitors for the canonical names, so an agent can distinguish this from generic brand listing tools.

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?

It gives explicit use cases, including competitor benchmarking for tone and the diff-set workflow 'which competitors are mentioned in the prompts where my brand isn't?'. It also warns to compare sentiment coverage before scores. However, it does not explicitly state when not to use this tool or name an alternative tool for a competing analysis, so it falls short of full when/when-not guidance.

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