Skip to main content
Glama

Observed AI citations & brand facts

ai_citations
Read-onlyIdempotent

How AI engines cite this site: citations seen in real logged-in AI answers (observed_citations), the brand facts the site publishes for AI (brand_facts), and the latest AI-visibility scan (scan_results: where the brand was missed and who won). Use for AI search visibility questions. Scoped to the connected site; no domain parameter needed. Cost: FREE - reads your connected/stored data, no AI credits. Actions: observed_citations (real logged-in AI answers that cited this site); brand_facts (declared canonical facts + internal-link health); scan_results (latest scan: per-engine visibility, missed prompts, competitors, cited sources).

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": {
      "action": "<action>"
    },
    "name": "ai_citations"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNolook-back window in days (1-90, default 28).
actionYesWhich operation to run. Each action, and the parameters it needs, is listed in the tool description.
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.
scanIdNoscan_results only: a specific scan id from recentScans. Omit for the latest completed scan.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. observed_citations (real logged-in AI answers that cited this site); brand_facts (declared canonical facts + internal-link health); scan_results (latest scan: per-engine visibility, missed prompts, competitors, cited sources)."New value: +"Which operation to run. Each action, and the parameters it needs, is listed in the tool description."
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / user_intent
      Removed value: -{
      -  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      -  "maxLength": 300,
      -  "type": "string"
      -}
  3. Changed3 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. observed_citations (real logged-in AI answers that cited this site); brand_facts (declared canonical facts + internal-link health)."New value: +"Which operation to run. observed_citations (real logged-in AI answers that cited this site); brand_facts (declared canonical facts + internal-link health); scan_results (latest scan: per-engine visibility, missed prompts, competitors, cited sources)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "observed_citations",
      -  "brand_facts"
      -]New value: +[
      +  "observed_citations",
      +  "brand_facts",
      +  "scan_results"
      +]
    • addedInput schema / properties / scanId
      Added value: +{
      +  "description": "scan_results only: a specific scan id from recentScans. Omit for the latest completed scan.",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the description is not on the hook for safety. It still adds real context: cost is FREE with no AI credits consumed, data comes from stored logged-in observation rather than a fresh model call, results are scoped to the connected site, and omitting scanId falls back to the latest completed scan.

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?

Front-loaded with the core distinction (observed vs declared vs scan), then scope, then cost, then the action list. It is dense and slightly run-on with repeated parenthetical restatements of the actions, but no sentence is off-topic.

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?

With an output schema present, return values need not be explained, and the description covers scope, cost, action selection, and scanId fallback. The only gap is competitive guidance against closely related sibling tools, which the 'AI search visibility questions' framing gestures at but does not resolve.

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 100%, so 3 is the floor. The description goes beyond it by defining the meaning of each action enum value and the output each one yields; the schema itself only says 'each action ... is listed in the tool description', making this text load-bearing for the action parameter.

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?

Specific verb+resource: it explains that this returns AI citations observed in real logged-in AI answers, brand facts, and scan results, and it explicitly defines the three actions. It also states scope ('scoped to the connected site'), which separates it from tools that would require a domain argument.

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

Usage Guidelines3/5

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

"Use for AI search visibility questions" gives a clear use context, and each action is tied to a question type (observed vs declared vs diagnostic scan). However, it names no alternatives and no when-not conditions, so an agent cannot tell from this definition alone whether get_ai_crawler_activity, get_ai_funnel, or get_trust_facts is the better fit for an overlapping question.

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.