Skip to main content
Glama

Probe Live AI Citation Engines

run_ai_citation_check

Queries Google AI Overview and ChatGPT across tracked prompts to capture brand mentions, domain citations, and competitors, caching results for 24 hours unless force-refreshed.

Instructions

Query Google AI Overview and/or ChatGPT Web Search across tracked prompts to capture brand mentions, domain citations, and competitors, caching results for 24h unless force_refresh is true. Use to refresh citations; for Share-of-Voice history without probing, use get_ai_visibility_report. Requires a write token and consumes AI quota.

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": {
      "site_id": "<site_id>"
    },
    "name": "run_ai_citation_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum monitored prompts to probe in one batch (default 5).
engineNoTarget AI search engine to query (default "auto").auto
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.
force_refreshNoBypass 24-hour prompt+engine cache and consume monthly AI check quota (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.1.1
    • addedInput schema / properties / engine / default
      Added value: +"auto"
    • changedInput schema / properties / engine / description
      Previous value: -"auto | google_ai_overview | chatgpt_web_search | serper_serp | perplexity_sonar"New value: +"Target AI search engine to query (default \"auto\")."
    • addedInput schema / properties / engine / enum
      Added value: +[
      +  "auto",
      +  "google_ai_overview",
      +  "chatgpt_web_search",
      +  "serper_serp",
      +  "perplexity_sonar"
      +]
    • addedInput schema / properties / force_refresh / default
      Added value: +false
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass 24h same-prompt+engine dedupe cache (consumes monthly AI quota)"New value: +"Bypass 24-hour prompt+engine cache and consume monthly AI check quota (default false)."
    • addedInput schema / properties / limit / default
      Added value: +5
    • changedInput schema / properties / limit / description
      Previous value: -"Max prompts to probe 1..10 (default 5)"New value: +"Maximum monitored prompts to probe in one batch (default 5)."
    • addedInput schema / properties / limit / maximum
      Added value: +10
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial context beyond annotations: a 24-hour cache keyed on prompt+engine, the force_refresh bypass, the need for a write token, and consumption of AI quota. These are exactly the operational traits an agent needs before invoking an openWorld, non-idempotent call. It stops short of describing latency or what a probe returns per prompt, so it is not fully exhaustive.

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?

Two dense sentences with no filler; the core action and output are front-loaded, followed by cost/auth caveats and the sibling routing. Every clause carries information an agent would act on.

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 no output schema, the description carries the return-value burden and does name the captured artifacts (mentions, citations, competitors). It does not specify the response structure or per-prompt result shape, which is a minor gap for a multi-engine probing tool with four parameters.

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 coverage is 100%, so engine, limit, site_id, and force_refresh already carry their own descriptions and defaults. The prose only restates force_refresh's cache-bypass behavior and the multi-engine scope, adding little meaning beyond the schema, which is the expected baseline here.

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?

States a specific verb and resource ('Query Google AI Overview and/or ChatGPT Web Search across tracked prompts') and names the concrete outputs captured: brand mentions, domain citations, and competitors. It also explicitly distinguishes itself from the sibling get_ai_visibility_report, so an agent can differentiate without opening the schema.

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?

Gives an affirmative use case ('Use to refresh citations') and an explicit exclusion with a named alternative ('for Share-of-Voice history without probing, use get_ai_visibility_report'). Both the when and the when-not are present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.