Skip to main content
Glama

Get AI visibility results

get_ai_visibility_results
Read-onlyIdempotent

For a normal review make one run-wide call with these top-level arguments (there is no filters object): runId null (or a manual run's runId), topic null, engines null, promptId null, cursor null, competitorGap false; never enumerate every engine or prompt. Use engines to request one or more engines in a single filtered call. Then read sources once for its returned runId and inspect 2-3 answer examples. Derive competitor gaps from returned rows or make a separate gap query; never carry competitorGap=true into overall source or branded-diagnostic reads. Read paginated prompt/engine observations and brand comparison counts over answered collections, with each competitor's framing comparison (summaries[].framing: how many answers naming both frame the store better, even or worse; only ever a difference between two brands in one answer, never a score) and each brand's product-card rating, plus reputation: how the whole check's answers describe each brand as plain counts (caution words by kind, serious words, and what answers to questions with the store's name say about it; the word lists are English and published), never a score. Defaults to neutral prompts in the newest full check, whatever started it (a Run now of a few questions never replaces a full check); request branded=all to include branded diagnostics. Reuse the returned runId and filters for source analysis. No full answers or collection; use observation IDs with get_ai_visibility_answer. Supports prompt history and competitor gaps.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_ai_visibility_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
runIdNoOmit or null for the newest finished check that asked the most of what is tracked now (any trigger; a Run now of a few questions never replaces it). Reuse the returned runId for related source/answer reads. Do not use the string all.
topicNoOmit or null for all topics in the run. Filter by an exact saved topic name only when requested; do not use the string all.
cursorNoOmit or null for the first page. Use only a returned nextCursor for another page; do not use the string all.
brandedNoneutral
enginesNoOmit or null for all engines in one call. Provide one or more engines for an explicitly requested subset, or an empty array for no engines. Do not make separate calls for each engine or use the string all.
promptIdNoOmit or null for all prompts in the run. Provide an exact prompt ID only when requested; includeHistory returns that prompt's prior observations. Do not use the string all.
projectIdYes
competitorGapNoUse false for the initial review, overall sources and branded diagnostics. True restricts rows to answers where a competitor appears and your brand is absent; an empty gap subset does not mean answer details are missing.
includeHistoryNo

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
metaNo
runIdNo
statusYes
messageNo
recoveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds real behavioral context: results are counts and framings, never a score; answer text and collections are not returned (use observation IDs with get_ai_visibility_answer); the word lists behind reputation are English and published; defaults to neutral prompts in the newest full check regardless of trigger. That is meaningful disclosure beyond the structured fields.

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

Conciseness2/5

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

A single bloated run-on paragraph that buries the purpose behind workflow instructions and repeats the runId default twice ('a Run now of a few questions never replaces a full check' appears in two forms). Sentences are overloaded with parenthetical asides, making it hard to scan for the one thing an agent needs first: what this returns.

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?

Given a complex 10-parameter tool with an output schema and rich annotations, the description covers defaults, filter semantics, pagination, return shape assertions (counts, not scores), and routing to companion tools. The main residual gap is the undocumented 'limit' parameter and the difficulty of extracting the return contract from the prose.

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?

With 60% schema coverage, the description carries real weight and does: null vs explicit runId, engines as a single filtered call (empty array = no engines, no per-engine loops), competitorGap must be false for overall reads, branded=all to include diagnostics, cursor only from a returned nextCursor. Only 'limit' goes completely unmentioned in both description and schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never front-loads a clean verb+resource statement; it opens with call-shape instructions ('make one run-wide call with these top-level arguments'). The actual purpose only surfaces mid-paragraph ('Read paginated prompt/engine observations and brand comparison counts... plus reputation'), and it does differentiate against siblings by telling the agent to use observation IDs with get_ai_visibility_answer and to read sources once. An agent can eventually infer what it returns, but only after parsing a wall of operational text.

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

Usage Guidelines4/5

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

It gives explicit when-to-use guidance (one run-wide call for a normal review, null for the newest full check) and explicit exclusions ('never enumerate every engine or prompt', 'never carry competitorGap=true into overall source or branded-diagnostic reads', 'a Run now of a few questions never replaces a full check'). Alternatives are named for sources and answer detail. It stops short of a full 5 because the guidance is entangled with parameter mechanics rather than a clean usage section.

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.

Resources