Skip to main content
Glama

Read AI traffic insights

read_ai_traffic_insights
Read-onlyIdempotent

Read the patterns CiteLadder found by joining AI crawler, referral and citation data for one saved window: pages crawled but never visited from AI, pages getting AI referrals but not crawled recently, crawler errors on valuable pages, and key events concentrated on few pages. Each pattern has a short explanation, the numbers behind it, the paths of up to 10 pages involved (pages_omitted counts the rest) and coverage. These are co-occurrence, not cause. It reads the newest saved 30-day window by default; custom dates must match a saved window exactly. unavailable means no insight snapshot exists yet, and coverage.notice says why, such as GA4 not being connected. Use read_ai_traffic_pages for the per-page numbers.

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_ai_traffic_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoA preset window ending today; or pass start_date and end_date instead.
end_dateNoLast day of a custom window, inclusive.
project_idYesA project id that list_projects returned.
start_dateNoFirst day of a custom window, inclusive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / end_date / description
      Added value: +"Last day of a custom window, inclusive."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / range / description
      Added value: +"A preset window ending today; or pass start_date and end_date instead."
    • addedInput schema / properties / start_date / description
      Added value: +"First day of a custom window, inclusive."
  2. 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 safety (readOnly, idempotent, non-destructive, closed-world), but the description adds what the annotations cannot: the return payload structure (explanation, numbers, up to 10 paths, pages_omitted for the remainder, coverage), the co-occurrence-not-causation caveat, and the empty-state semantics. That is real behavioral context an agent needs to interpret results rather than just invoke the tool.

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 the purpose and pattern taxonomy, then operational constraints, then the sibling redirect; every sentence carries information and nothing is filler. The middle sentences are dense with parenthetical detail (pages_omitted, coverage.notice) that packs a lot into one paragraph, costing a little readability.

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 no output schema, the description fully carries the burden of describing the return shape, page truncation at 10 with omission counts, and the empty/failure state. For a single-window analytical read with four parameters, nothing an agent needs to call or interpret it correctly 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 the schema documents the enum and date formats; the description still adds the non-obvious rule that custom start_date/end_date must align to an existing saved window, which the schema text does not state. It does not explain the difference in granularity between range presets and custom dates beyond that, so it is strong but not exhaustive.

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?

Specific verb plus resource plus mechanism: it reads the patterns CiteLadder found by joining AI crawler, referral and citation data for one saved window, and enumerates the four pattern types (crawled-but-never-visited, referral-but-not-recently-crawled, crawler errors on valuable pages, key events concentrated on few pages). It explicitly distinguishes itself from the sibling read_ai_traffic_pages, so an agent can route without opening either schema.

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?

States the default selection rule (newest saved 30-day window) and the constraint that custom dates must match a saved window exactly, which is the main failure mode for this call. It names the alternative for per-page numbers, and explains the unavailable case plus coverage.notice for the GA4-not-connected scenario.

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