Skip to main content
Glama

Get scoped visibility score

get-visibility-score
Read-only

Get the exact visibility score for the scope you name: prompt type, topic, custom filters and engine, in one run or a date window. Every figure is scoped to the arguments given and matches the dashboard for the same selection. Each field matches a dashboard name: score = AI AuraScore (0-100), coverage = Mention Rate (a 0-1 ratio, mentions / answers), share_of_voice = Share of Voice (a 0-1 ratio), mentions = answers that mention you, mention_count = mentions and citations behind Share of Voice; answers and prompts are the counts in scope. It is NOT equivalent to averaging get-prompt-scores: per-prompt scores do not average into the scoped score, and this tool returns the scoped figure directly. Scope is run_id when given, else the latest completed run of run_date, else the latest completed run for range latest_run, else the last range days (default 15d, the same default period as the dashboard). prompt_type defaults to non_branded (prompts naming neither us nor a competitor); branded names only us, competitor_branded names a competitor with or without us, and each prompt is in exactly one. Valid filters keys and value slugs are the ones list-prompt-filters returns; an undeclared key is rejected with the valid options. Score and share_of_voice are null when the scope has nothing to score. The response scope.run_id is the run scored (null for a date window). compare-visibility-runs compares runs or slices side by side.

Input Schema

NameRequiredDescriptionDefault
rangeNoPool every run in the last N days (defaults to 15d), or latest_run for the newest completed run alone. Ignored with run_id or run_date.
engineNoNarrow to one engine. Omit for all engines.
run_idNoCompleted visibility run ID. Overrides range and run_date.
filtersNoCustom filter selection as {filterKey: valueSlug}, ANDed across keys.
run_dateNoA day (YYYY-MM-DD in time_zone): scores that day's latest completed run. Overrides range.
topic_idNoNarrow to one prompt topic of this domain
domain_idYesDomain ID
time_zoneNoIANA time zone that decides which day a run belongs to. Defaults to UTC.
prompt_typeNoPrompt Type segment. Defaults to non_branded.non_branded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, and the description adds substantial context on top: figures are backed by the same selection as the dashboard, score and share_of_voice are null when the scope has nothing to score, and scope.run_id is null for a date window. This is behavior an agent could not infer from the schema or annotations.

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?

The purpose and the get-prompt-scores exclusion are front-loaded, and the remaining sentences carry real information about return fields, defaults, and scope precedence. It is dense and long for a single paragraph, but almost nothing is filler.

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 9-parameter tool with nested filters and no output schema, the description supplies the return-field mapping (score/coverage/share_of_voice/mentions/counts) and null-case semantics, which is exactly the missing piece. An agent has enough to call it correctly and interpret the response.

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 the baseline is 3, but the description meaningfully extends it: the prompt_type taxonomy (non_branded excludes us and competitors, branded names only us, competitor_branded names a competitor) and the rule that each prompt belongs to exactly one segment are semantic content absent from the schema. Scope precedence and filters validation are partly duplicated from scheme descriptions, which keeps this short of a 5.

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 opening sentence names a specific verb and resource ('get the exact visibility score') and enumerates the scope axes (prompt type, topic, filters, engine, run or date window). It also explicitly distinguishes itself from get-prompt-scores, stating that per-prompt scores do not average into the scoped figure.

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 scope resolution precedence is spelled out in full (run_id > run_date > latest_run > last `range` days with a 15d default), and the description routes agents to list-prompt-filters for valid filter keys and to compare-visibility-runs for run/slice comparisons. It even states a negative condition: filters with undeclared keys are rejected.

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