Skip to main content
Glama

Analyze AI visibility

analyze_ai_visibility

Inspect provider-observed ChatGPT or Google AI Overview mentions and citations for a brand or domain to assess AI visibility under a cost cap.

Instructions

Inspect provider-observed ChatGPT or Google AI Overview mentions and citations. This is a limited provider dataset, not all user conversations. Requires BYOK or deployment credits, an explicit cost cap, and project write scope.

Input Schema

NameRequiredDescriptionDefault
brandYesBrand name to inspect.
freshNoBypass the stored result and issue a new paid request when admitted.
limitNoMaximum mention rows.
domainYesLocal citation-matching hostname, without a scheme or path. Domain searches remove a leading www. only from the provider filter and require at most 63 characters after removal; local matching keeps the full hostname. Brand searches and prompt comparisons allow up to 253.
platformNoProvider observed dataset: ChatGPT or Google AI Overview.chat_gpt
project_idYesThe public project ID. Project membership and token scopes are enforced.
target_typeNoMatch a brand name or a domain.domain
estimate_onlyNoReturn the cost estimate without paid provider I/O.
language_codeNoDataset language.en
location_codeNoProvider location code.
max_cost_centsYesMaximum accepted provider cost in cents. Estimates and cache reads do not spend credits.
idempotency_keyNoOptional stable retry key, forwarded as the REST Idempotency-Key header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, and the description is consistent with them while adding real value: it flags the limited/non-representative dataset, the credit/BYOK requirement, the mandatory cost cap, and the write-scope auth need. It stops short of describing return format, pagination, or exactly how credits are spent, which keeps it from a 5.

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?

Three tight sentences with the operation front-loaded and the constraints following. No filler, though the prerequisites sentence could be marginally tighter.

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?

For a 12-parameter paid-read tool with a fully documented schema and no output schema, the description covers the essential context: provider scope, dataset limitation, and credit/auth requirements. It leaves out how rows are returned or bounded, but the schema already covers limit/estimate_only, so this is nearly complete.

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%, so the schema already carries full parameter semantics and the baseline of 3 applies. The description adds only a passing reference to the two provider datasets and does not clarify the cost-cap or idempotency semantics beyond what the schema states.

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 ("Inspect") and resource ("provider-observed ChatGPT or Google AI Overview mentions and citations"), so the core operation is unambiguous. However, it offers no differentiation from the large AI-tracking family of siblings (compare_ai_prompts, get_ai_tracking_trends, list_ai_tracking_samples, export_ai_tracking_evidence), so an agent cannot tell from the description alone which one to pick.

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?

It discloses prerequisites (BYOK or deployment credits, explicit cost cap, project write scope) and a scope caveat (limited provider dataset, not all conversations), which is useful implied context. But it never states when to choose this over the sibling AI-tracking tools or when not to use it, leaving the selection decision to inference.

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

Deploy Server

Other Tools