Skip to main content
Glama

Read cited sources

read_visibility_sources
Read-onlyIdempotent

Rank the domains or pages AI answers cited in one run, to find the sources worth earning a place on. Each row has how many answers and prompts cited it, its citation share and rate, ownership (yours, a competitor's or third party) and category; page rows also list up to 3 brands named on the page and whether there is an Action for it. It defaults to the latest run; unavailable no_completed_run means none has finished. Rows come in pages; pass next_cursor for more. level domain lists publishers; level url, or passing domain, lists pages. Pass topic_id for the sources of one topic's answers. view near_misses lists your pages engines read but did not cite; movers, the sources whose citation share rose or fell against the comparable earlier run; series, citation share over time across runs (pass domain for one source). Use read_source_url for one page in depth, and read_visibility_results for the answers that cite it.

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": {
      "project_id": "<project_id>"
    },
    "name": "read_visibility_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoranking
levelNodomain counts publishers (the default); url counts individual pages.domain
limitNoHow many rows to return; omit for the default page size.
cohortNocore is the scored prompts (the default); comparison is the prompts that also name a competitor, reported separately; all is both.core
cursorNoThe next_cursor a previous page returned.
domainNoA cited domain such as example.com; with level url, lists its pages.
engineNoRead one engine only; omit for every engine.
audit_idNoA run id (audit_id); omit for the latest run.
topic_idNoA topic id from read_prompt_portfolio; keep only answers to prompts filed under it when their run was measured. unavailable topic_not_measured means the run asked no prompt in it.
market_idNoA market id from get_project_business_context; omit for the default market. Markets are never pooled.
project_idYesA project id that list_projects returned.
granularityNoWith view series: the length of each point.week

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "chatgpt_search",
      -  "gemini_consumer",
      -  "chatgpt",
      -  "gemini",
      -  "claude",
      -  "google_ai_overview"
      -]New value: +[
      +  "chatgpt_search",
      +  "gemini_consumer",
      +  "chatgpt",
      +  "gemini",
      +  "claude",
      +  "google_ai_overview",
      +  "google_ai_mode"
      +]
    • addedInput schema / properties / granularity
      Added value: +{
      +  "default": "week",
      +  "description": "With view series: the length of each point.",
      +  "enum": [
      +    "day",
      +    "week",
      +    "month"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "ranking",
      +  "enum": [
      +    "ranking",
      +    "near_misses",
      +    "movers",
      +    "series"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / topic_id
      Added value: +{
      +  "description": "A topic id from read_prompt_portfolio; keep only answers to prompts filed under it when their run was measured. unavailable topic_not_measured means the run asked no prompt in it.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "chatgpt",
      -  "claude",
      -  "gemini",
      -  "google_ai_overview",
      -  "chatgpt_search",
      -  "gemini_consumer"
      -]New value: +[
      +  "chatgpt_search",
      +  "gemini_consumer",
      +  "chatgpt",
      +  "gemini",
      +  "claude",
      +  "google_ai_overview"
      +]
  4. Changed7 schema fields changed
    • addedInput schema / properties / cohort / description
      Added value: +"core is the scored prompts (the default); comparison is the prompts that also name a competitor, reported separately; all is both."
    • addedInput schema / properties / domain / description
      Added value: +"A cited domain such as example.com; with level url, lists its pages."
    • addedInput schema / properties / engine / description
      Added value: +"Read one engine only; omit for every engine."
    • addedInput schema / properties / level / description
      Added value: +"domain counts publishers (the default); url counts individual pages."
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / market_id / description
      Added value: +"A market id from get_project_business_context; omit for the default market. Markets are never pooled."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
  5. Changed1 schema field changed
    • changedInput schema / properties / cohort / enum
      Previous value: -[
      -  "core",
      -  "comparison"
      -]New value: +[
      +  "core",
      +  "comparison",
      +  "all"
      +]
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses row contents (citation counts, share, rate, ownership, category, brands, Action presence), pagination via next_cursor, latest-run defaulting, and error semantics such as no_completed_run and topic_not_measured. It does not cover ordering of the ranking or how citation share is computed, leaving a small gap.

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?

Front-loaded with purpose, then a dense but information-bearing block on rows, defaults, paging, and view modes, ending with sibling routing. Nearly every clause carries distinct information, though the run-on sentence style makes it denser than necessary.

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 12-parameter read tool with no output schema, the description supplies row shape, defaults, pagination, view behaviors, and error cases, so an agent can both select and invoke it correctly without further context.

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 92% schema coverage the schema already documents most parameters, yet the description adds interaction semantics the schema does not: that passing domain with level url lists that domain's pages, that domain is required to scope series to one source, and what each view actually returns. It adds meaningful meaning on top of the enum definitions.

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?

Opens with a specific verb and resource: 'Rank the domains or pages AI answers cited in one run,' plus the intent ('find the sources worth earning a place on'). It also explicitly separates itself from read_source_url (single page in depth) and read_visibility_results (the answers that cite it).

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?

Prescribes when to use each variant: level domain for publishers vs level url/passing domain for pages, view near_misses/movers/series each with a stated purpose, topic_id for one topic's sources, and named alternatives for adjacent needs. Exclusions and alternatives are both present.

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