Skip to main content
Glama
ga4-gsc-mcp

ga4-gsc-mcp

by kkvlabs

Traffic drops

traffic_drops
Read-onlyIdempotent

Identify pages or queries that lost the most Search Console clicks or GA4 landing-page sessions versus the previous period or last year, ranked worst first with position change.

Instructions

What lost traffic? Pages or queries that lost the most Search Console clicks (or GA4 landing-page sessions) against the previous period or last year, worst first, with position change.

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
byNoGroup by page (default) or query.
siteNoSite as a domain or Search Console URL, e.g. "example.com" or "sc-domain:example.com". Optional when the credentials see one site.
limitNoRows to return, default 20, max 200.
periodNoNamed date range ending on the last settled day. Default last_28_days.
sourceNosearch_console clicks (default) or ga4 sessions by landing page.
compareNoDefault previous_period.
end_dateNoEnd date YYYY-MM-DD. Defaults to the last settled day (Search Console lags 2 to 3 days).
start_dateNoStart date YYYY-MM-DD. Overrides period.
ga4_propertyNoGA4 property ID (numbers only). Optional: found from the site's web stream when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already carry the safety profile (readOnlyHint, destructiveHint false, idempotentHint true, openWorldHint true), so the bar is lower. The description does add genuinely new output behavior: results are ordered worst first and include a position change column, which matters since there is no output schema. It says nothing about response size, pagination, or how a tie or missing comparison period is 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?

One tightly packed sentence with the subject front-loaded and no filler. The parentheses make it dense but every clause carries meaning; a slightly cleaner breakdown of the ordering and comparison points would read better.

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?

For a nine-parameter, zero-required, read-only reporting tool where the schema fully documents inputs, this is close to sufficient: it conveys the metric, grouping, and comparison dimension, plus result ordering. What is missing is a note on credential/site requirements when multiple sites are visible, which the schema mentions only for the site parameter.

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 coverage is 100 percent, so every parameter including defaults, enums, and the GA4 property lookup is already documented in the schema. The description only restates the natural-language mapping of a few parameters (pages versus queries, previous period versus last year, Search Console versus GA4) without adding syntax or edge-case guidance, which is the expected baseline.

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 leads with a question but immediately answers it with a specific verb and resource: pages or queries that lost the most Search Console clicks or GA4 landing-page sessions. It implies the inverse relationship to top_movers without naming a sibling, so the agent must infer the boundary itself.

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?

The opening question "What lost traffic?" implies the use case and the compare/source options hint at variants, but the description never states when to prefer a diagnostic sibling like why_did_it_drop or when the tool is the wrong choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.