Skip to main content
Glama

Get AI visibility

get_ai_visibility
Read-onlyIdempotent

Reads the AI Visibility dashboard of the website: how often AI assistants (ChatGPT, Claude, Gemini, Perplexity, Copilot, Google AI Overview and AI Mode, plus Grok and Mistral when the website pays for them) mention and cite the brand when answering its tracked prompts. For the range (7d, 30d, 3m or 6m, default 30d) it returns the overall mention rate and cited rate with the number of prompts and answers checked; the same per platform (only platforms with checks in the range); the trend (mention rate over the first half of the range vs the second half); the leaderboard of the brand (is_own) and its tracked competitors by mention rate; each prompt with its latest state per platform from the last 21 days of checks (mentioned_cited, mentioned, not_mentioned, or pending while a check is queued, running or failed), its mention rate across those latest checks and the competitor mentioned most for it; the most cited domains and the brand's own cited pages; and the sentiment drivers (strengths and weaknesses AI answers express about the brand) once enough brand-mentioning answers exist. Pass surface to restrict every number to one platform and include_answers=true for the latest answer text per prompt (600 characters max). Rates are percentages, null when nothing was checked. Fails with an activation link when the AI Visibility add-on is not active. Read-only: it cannot add prompts or competitors, and it is not Google Search Console data (use get_keyword_rankings for that). Pass website_id when the account has several websites (see get_account).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeNoPeriod to report: 7d, 30d, 3m (90 days) or 6m (182 days).30d
surfaceNoRestrict every number to one AI platform. Omit for all the platforms the website tracks.
website_idNoWebsite id from get_account. Optional when the account has a single website.
include_answersNoAdd the latest AI answer per prompt, truncated to 600 characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYes
rangeYes
trendYes
overallYes
promptsYes
surfaceYesPlatform the numbers are restricted to; null for all.
citationsYes
website_idYesWebsite the result belongs to.
competitorsYesLeaderboard by mention rate, the brand included.
per_surfaceYes
recommendationsYesSentiment drivers; null until enough brand-mentioning answers exist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Even though readOnlyHint, idempotentHint, and destructiveHint are already provided, the description adds meaningful behavioral detail: rates are percentages, null when nothing was checked, pending states during checks, and a failure mode with an activation link when the add-on is not active. This goes well beyond the annotations.

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?

The description is long but densely packed with non-redundant information: purpose, outputs, parameter behaviors, failure conditions, read-only nature, and sibling distinction. Every sentence carries useful operational meaning, and the main purpose is front-loaded.

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?

The tool is complex with four optional parameters and a rich output, yet the description covers all relevant behaviors, defaults, failure modes, and parameter effects. It also handles the multi-website case by referencing get_account. Nothing an agent needs to decide whether and how to call the tool is missing.

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 parameters are already documented. The description adds value by explaining the effect of parameters on the output, e.g., 'Pass surface to restrict every number to one platform' and 'include_answers=true for the latest answer text per prompt.' This provides semantic context beyond the bare schema descriptions.

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 and resource: 'Reads the AI Visibility dashboard of the website: how often AI assistants... mention and cite the brand.' It clearly states what data is returned and distinguishes itself from siblings, notably saying it is not Google Search Console data and pointing to get_keyword_rankings for that.

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?

The description includes explicit usage guidance: when to pass surface, include_answers, and website_id, and that the tool cannot add prompts or competitors. It explicitly routes the user to get_keyword_rankings for Google Search Console data, making the when-not-to-use case clear.

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.