Skip to main content
Glama

Read visibility trends

read_visibility_trends
Read-onlyIdempotent

Read how visibility changed over an explicit window of at most 366 days, as points per run or per day, week or month. Each point has the visibility score, brand mention and citation rates, share of voice, average position among the tracked brands, rankings of every brand (with position and win rate), the model and whether web search was on, a comparison_key and events: what changed at that point (prompt_panel: prompts added, archived or removed; model_change: an engine's model changed; action_live: an Action went live). Points with different comparison keys were measured differently and are not comparable; name the events when you explain a change, and compare like with like. Gaps are missing runs, not zero. At most the newest 100 points are returned. Pass topic_id to follow one topic. unavailable no_measured_runs means no run fell in the window. Use read_visibility_overview for one run in depth, or with baseline_id to compare exactly two runs.

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>",
      "from_at": "<from_at>",
      "to_at": "<to_at>"
    },
    "name": "read_visibility_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_atYesEnd of the window, after from_at and at most 366 days later.
cohortNocore is the scored prompts (the default); comparison is the prompts that also name a competitor, reported separately; all is both.core
engineNoRead one engine only; omit for every engine.
from_atYesStart of the window, with a UTC offset, such as 2026-09-01T00:00:00Z.
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.
granularityNoOne point per run (the default), or per day, week or month.run
transport_modelNoKeep only runs answered by this model, as a previous point named it.
retrieval_enabledNotrue keeps only runs with web search on; false only runs without it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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"
      +]
  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. Changed10 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 / engine / description
      Added value: +"Read one engine only; omit for every engine."
    • addedInput schema / properties / from_at / description
      Added value: +"Start of the window, with a UTC offset, such as 2026-09-01T00:00:00Z."
    • addedInput schema / properties / granularity / description
      Added value: +"One point per run (the default), or per day, week or month."
    • 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."
    • addedInput schema / properties / retrieval_enabled / description
      Added value: +"true keeps only runs with web search on; false only runs without it."
    • changedInput schema / properties / retrieval_enabled / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • addedInput schema / properties / to_at / description
      Added value: +"End of the window, after from_at and at most 366 days later."
    • addedInput schema / properties / transport_model / description
      Added value: +"Keep only runs answered by this model, as a previous point named it."
  5. Changed1 schema field changed
    • changedInput schema / properties / cohort / enum
      Previous value: -[
      -  "core",
      -  "comparison"
      -]New value: +[
      +  "core",
      +  "comparison",
      +  "all"
      +]
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive behavior beyond them: the newest-100-point truncation cap, the comparison_key non-comparability rule, the 'gaps are missing runs, not zero' semantics, and the unavailable no_measured_runs meaning. These are exactly the caveats an agent needs to avoid misreading 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?

Front-loaded with purpose and window constraints, then return contents, then comparability caveats, then the alternative tool. It is dense and long, but nearly every clause carries operational meaning (no output schema exists, so the point inventory has to live here).

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?

With 10 parameters, no output schema, and a time-window analysis tool, the description covers return structure, truncation, non-comparability, gap interpretation, and sibling alternatives. Nothing an agent needs in order to call it correctly or interpret the result 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 100%, so baseline is 3; the description still adds value by explaining what topic_id filters (answers to prompts filed under it at measurement time) and its unavailable topic_not_measured case, and by tying granularity to point semantics. Most other parameters (cohort, market_id, retrieval_enabled) are left to the schema, keeping it just above baseline.

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 visibility changed) with an explicit scope (window of at most 366 days) and output shape (points per run/day/week/month). It also names the sibling it is not — read_visibility_overview — so the agent can differentiate without inspecting schemas.

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?

Explicit routing guidance: 'Use read_visibility_overview for one run in depth, or with baseline_id to compare exactly two runs,' plus the hard limit of 366 days and the instruction to pass topic_id to follow one topic. When-to-use and when-not-to-use 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