Skip to main content
Glama

Get AI visibility results

get_ai_visibility_results
Read-only

Read how often the brand and its competitors appear in AI answers for one tracking run: prompt and engine observations, plus brand comparison counts. For a normal review make one run-wide call with no filters (runId, topic, engines, and promptId null, competitorGap false): never enumerate every engine or prompt, and pass engines to filter to a few in a single call. Defaults to neutral prompts in the latest baseline or scheduled run, excluding manual checks; pass a manual run's runId to read it, and branded=all to include branded diagnostics. Derive competitor gaps from the returned rows, or make a separate competitorGap=true query. Uses no credits. Next, read get_ai_visibility_sources once with the returned runId, and inspect 2-3 full answers by passing observation IDs to get_ai_visibility_answer.

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 latest baseline/scheduled run. 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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description adds genuinely new behavior: 'Uses no credits', implicit run selection that excludes manual checks, and the caveat that an empty competitorGap subset does not mean answer details are missing. That last note prevents a likely misread of empty results.

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?

Purpose is front-loaded and every sentence carries operational content, but the body is a single dense paragraph packing defaults, filters, and a multi-step workflow into one block. Slight restructuring would make the recommended call pattern easier to scan, though nothing is wasted.

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?

For a 10-parameter, output-schema-backed read tool, the description covers defaults, filters, the credit-free nature, the gap-query alternative, and the follow-up chain to sources and answer reads. Since an output schema exists, no return-value explanation is needed and none 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 60% and the description reinforces the key semantics beyond the schema: null runId/topic/engines/promptId means run-wide, competitorGap=false is the initial review while true narrows to gaps, and gaps can instead be derived from returned rows. Some of this restates the per-parameter schema text, so it adds less than a fully novel explanation would.

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: read how often the brand and competitors appear in AI answers for one tracking run, returning prompt/engine observations plus brand comparison counts. It also distinguishes itself from siblings by naming get_ai_visibility_sources and get_ai_visibility_answer as the follow-up reads rather than alternatives for the same data.

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 explicit when-to-use guidance: one run-wide call with no filters for a normal review, never enumerate every engine or prompt, pass engines only to filter a few. It also covers defaults (neutral prompts, latest baseline/scheduled run, excluding manual checks) and the two escape hatches (manual runId, branded=all), then prescribes the next steps in the workflow.

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.