Skip to main content
Glama

Site Insights by KKV Labs

Traffic drops

traffic_drops
Read-onlyIdempotent

Every page and search query that lost Search Console clicks and every landing page that lost GA4 sessions against a comparison period, largest loss first, with the day each drop started and the site totals. Paged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "traffic_drops"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns Google's response exactly as Google sent it, unchanged.
siteNoThe site's domain (example.com) or its label. Optional when the account has exactly one site switched on. An unknown name returns an error that lists the switched on sites.
offsetNoRow to start from, for the next page. Default 0.
periodNoDate range. Default last_28_days. Named ranges end when the data is complete.
compareNoWhat to compare with. Default previous_period (same length, right before).
end_dateNoCustom end date YYYY-MM-DD.
page_sizeNoRows per page, default 1000, max 5000. Every row is available through paging.
data_stateNofinal (default) = complete data only; all = include fresh, still changing data.
start_dateNoCustom start date YYYY-MM-DD. Overrides period.
search_typeNoSearch Console search type. Default web.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a safe, idempotent, read-only, closed-world read, so the bar is lower. The description adds genuine context beyond them: results are ordered largest loss first, each row includes the day the drop started, site totals are included, and output is paged. It still omits what happens when a source has no data or how ties/small drops are handled.

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 definition is front-loaded: the resource and ordering come first, and the one-word 'Paged.' efficiently signals pagination. The main sentence is long and packs list-membership, comparison basis, ordering, and payload fields into a single clause chain, which slightly hurts scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With ten optional parameters and no output schema, the description does the important work of explaining what comes back row-by-row (pages, queries, landing pages, drop start day, site totals) and how it is ordered and paged. Remaining gaps are edge-case behavior, such as partial source availability or a minimum drop threshold, which would matter for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with four enums, so the schema already carries parameter meaning and the baseline is 3. The description only loosely connects to parameters via 'against a comparison period' (the compare control) and 'Paged' (offset/page_size), adding no new per-parameter detail such as how start_date interacts with period.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a precise resource set — pages and queries losing Search Console clicks, plus landing pages losing GA4 sessions — and adds ordering and output shape. It is clearly distinct in substance from siblings like top_pages or search_console_query, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the framing ('lost ... against a comparison period'), which tells an agent this is a decline-finding tool rather than a raw listing. There is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. both GSC and GA4 connected), and no pointer to the alternative tools for a plain top-N listing.

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