Skip to main content
Glama

MentionBird

Citation breakdown

get_citation_breakdown
Read-only

Breakdown of citations grouped by tag dimension or URL status.

dimension=source_type groups by the source-type taxonomy (news, forum, review, docs, …). dimension=content_type groups by the content taxonomy (listicle, how-to, comparison, …). dimension=url_status groups by whether the cited URL is alive, dead, or a redirect.

The domain / source_type / content_type / url_status filters narrow the citation set before grouping — e.g. pass dimension=content_type with domain=youtube.com to see which content types the LLM cites from YouTube specifically.

A citation counts once under each tag it carries; under source_type those are its domain's tags. share_pct is a row's share of the counts summed over every row, not a share of citations. A filter on the grouped dimension keeps the other tags too: dimension=content_type with content_type=listicle returns listicle beside the other content types those listicles carry, so listicle can sit below 100%.

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

Input Schema

NameRequiredDescriptionDefault
brandYesBrand name from ``list_tracked_brands``.
domainNoExact-match hostname (case-insensitive, ``www.`` stripped).
end_dateNo
dimensionNo``source_type`` (default) | ``content_type`` | ``url_status``.source_type
query_tagNo
start_dateNo
url_statusNo``alive`` | ``dead`` | ``redirect`` | ``unknown``.
source_typeNoCitation source-type tag name (``list_citation_tags``).
content_typeNoCitation content-type tag name (``list_citation_tags``).
llm_providerNo
brand_prompt_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only cover read-only and closed-world, so the description carries real weight here — it discloses the double-counting rule ('a citation counts once under each tag it carries'), the meaning of share_pct (share of summed row counts, not share of citations), and that a filter on the grouped dimension does not collapse other tags. These are exactly the non-obvious traits that prevent misreading results; it stops short of discussing date-range scoping or pagination.

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

Conciseness5/5

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

Front-loads what the tool returns, then enumerates grouping modes, then filter interaction, then the counting caveats — a logical progression with no filler sentences. Every paragraph adds a fact that would otherwise cause a misuse.

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

Completeness3/5

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

The output schema is present, so return-value explanation is correctly omitted, and the tricky grouping semantics are covered. However, for an 11-parameter analytics tool, several parameters with no documentation anywhere (date range, query_tag, llm_provider, brand_prompt_id) leave real gaps in what an agent needs to call it correctly.

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 only 55%, and the description compensates well for the parameters that drive the tool: dimension values, url_status semantics, and the source_type/content_type taxonomies. Six parameters (brand, start_date, end_date, query_tag, llm_provider, brand_prompt_id) receive no explanation in either the description or their schema entries, keeping it below the top score.

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?

States a specific verb+resource: a breakdown of citations grouped by tag dimension or URL status, and enumerates the three grouping modes with their taxonomies. This is clearly distinguishable from a plain citation listing, though it never names the closest sibling (get_top_citation_domains) to draw the boundary explicitly.

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?

Gives concrete usage patterns rather than abstract advice, notably the worked example of combining dimension=content_type with domain=youtube.com to see YouTube's content-type mix. It also explains the filter-vs-grouping interaction, but offers no explicit when-not-to-use guidance or prerequisites such as needing a brand from list_tracked_brands.

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