Skip to main content
Glama

Get latest citation results

get_citations
Read-onlyIdempotent

The latest verdict for every tracked prompt on a site: use it for "are AI assistants recommending us, and who do they cite instead?". Returns site, shareOfVoicePct with shareOfVoiceSample, and queries: one row per prompt with queryId, query, branded, mentioned, otherCitedDomains (every domain the answer cited except the site's own: rivals, but also forums, reference sites and press), citedUrls (the site's own pages cited), sentiment, sentimentSource, demandBand and checkedAt (when an AI assistant last answered it; null = not measured yet). "Latest" means each prompt's newest answers per AI assistant (engine), not a time window. Use get_citation_history for a window or a trend, get_evidence for the answer text, every cited URL and the AI assistants' web searches, and get_sources_report for domains ranked across all prompts. sentimentSource is 'model' (read by Claude Haiku, paid plans), 'keyword' (a keyword estimate: say so when you quote it) or null (no sentiment; an answer that only repeats the brand from the question is not counted). shareOfVoiceSample holds the citation counts, the measured discovery questions behind them (questions, which tooThin and earlyReading are decided on), a 95% Wilson interval, tooThin and earlyReading: quote the share with its sample, because 2 of 10 and 200 of 1,000 are the same percentage and not the same finding. demandBand is how often the question is asked, as a band ('rare', 'occasional' or 'frequent', from search volume on its head term): never a count, and null when it was not measured or the account is not on a paid plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_citations"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoOptional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / siteId / description
      Previous value: -"A Promvia site id. Get one from list_sites."New value: +"Optional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites."
    • removedInput schema / required
      Removed value: -[
      -  "siteId"
      -]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare a safe read, so the description carries the interpretive burden and does: it defines "Latest" as each prompt's newest answers per engine rather than a time window, warns that null checkedAt means unmeasured, enumerates sentimentSource values with the advice to label keyword estimates, and cautions that share of voice must be quoted with its Wilson interval and sample size.

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 and the sibling routing are front-loaded, and with no output schema the long field-by-field clause largely earns its place. Readability suffers, though: deeply nested parentheticals stack caveats inside caveats, making the return-value section harder to scan than a short list would be.

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?

With no output schema and no annotations covering output shape, the description must explain return values, and it does so thoroughly: the site-level fields, the per-prompt row fields, the meaning of otherCitedDomains vs citedUrls, and the caveats on sentimentSource, shareOfVoiceSample and demandBand. Nothing an agent needs to interpret or report results 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% and the single siteId parameter is fully documented there (optional on a connected app, required with an API key). The description adds nothing about siteId beyond "on a site", so the schema is doing all the parameter work.

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?

Opens with a specific verb and resource ("the latest verdict for every tracked prompt on a site") plus a plain-language framing question an agent can match against user intent. It is immediately distinguishable from get_citation_history, get_evidence and get_sources_report, which are named and contrasted later.

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?

Explicitly routes to alternatives with the conditions that select them: history for a window or trend, evidence for answer text and web searches, sources report for domains ranked across all prompts. It also states positively when this tool is the right choice (the "are assistants recommending us, and who do they cite instead?" framing).

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.