Skip to main content
Glama

Get AI visibility

get_ai_visibility
Read-only

Measure how often AI assistants recommend your app by returning visibility, share of voice, average rank, citation rate, and trend metrics versus a previous window.

Instructions

Is AI recommending the app, vs the previous window. summary: answers (refusals and prompts naming the app left out), visibility (% naming it), share_of_voice (% of all app mentions), position (average rank among the apps named, 1 = first), citation_rate (% citing its pages), change (points; negative position change = better). Also by_engine, by_market, leaderboard (the app and its competitors; followed_in: a competitor followed in those markets only, its rate still counting every market of the view), trend; latest_scan (prompts gained, lost, and new ones naming it, in the latest daily scan) without engine and country only. Read-only.

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": {
      "ai_app_id": "<ai_app_id>"
    },
    "name": "get_ai_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast day, YYYY-MM-DD (default today)
daysNoDays in the window (default 7)
limitNoLeaderboard rows (default 10)
engineNoDefault both
countryNoOne market, ISO code (default all)
ai_app_idYesid from list_ai_visibility_apps
granularityNoDefault day up to 31 days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, destructiveHint=false, so the trailing 'Read-only' earns no credit. The description does add genuine behavioral context beyond annotations: all metrics are compared against the previous window, 'change' is expressed in points, negative position change means improvement, and latest_scan only reflects the daily scan and ignores engine/country filters. Return shape and performance/limits (e.g. rate limits, data freshness beyond daily scans) are not covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content largely earns its place because there is no output schema and the description must convey the returned sections. But it is delivered as one sprawling semicolon-and-parenthesis sentence that is hard to parse, and the vague opening question is a weak lead-in compared to the dense field definitions that follow. Front-loading the report purpose and grouping the metric glossary would improve it substantially.

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 complex, seven-parameter analytics tool with no output schema, the description supplies a reasonably complete map of the response (summary metrics, breakdowns, leaderboard, trend, latest_scan) including definitions of the non-obvious fields. What is missing is mainly operational context — whether the data is cached or how fresh it is outside the daily scan — rather than anything needed to form a correct call.

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 documents end, days, limit, engine, country, and granularity, making 3 the baseline. The description adds one meaningful interaction rule — that latest_scan is unavailable when engine or country is supplied — which is not visible in the schema. Beyond that note it repeats rather than extends parameter meaning.

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?

The opening line ('Is AI recommending the app, vs the previous window') plus the enumerated metric sections (answers, visibility, share_of_voice, position, citation_rate, change, by_engine, by_market, leaderboard, trend, latest_scan) make clear this is a read-only AI-visibility report for one app. The resource and output content are specific. However, it never distinguishes itself from nearby siblings such as get_ai_sentiment, get_ai_opportunities, or get_ai_answer, so the agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no explicit when-to-use statement and no named alternative tool for any of the adjacent questions (sentiment, opportunities, individual answers). The only usage constraint given is a functional one: latest_scan is available 'without engine and country only.' That is helpful but is a filter restriction, not guidance on choosing this tool over its siblings.

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