Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

by ahonn

Detect Traffic Drops

detect_traffic_drops
Read-onlyIdempotent

Identify pages that lost clicks between two periods and classify the likely cause as ranking, impressions, CTR, or visibility so you can prioritize fixes.

Instructions

Find pages that lost clicks between two periods and classify the likely cause: ranking, impressions, CTR, or visibility

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": {
      "siteUrl": "<siteUrl>"
    },
    "name": "detect_traffic_drops"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLength of the range when startDate is omitted. Defaults to 28
typeNoSearch type: web (default), image, video, news, discover, googleNews, or webMultimodal. Google does not allow grouping webMultimodal by query
limitNoMaximum items to return
endDateNoEnd date in YYYY-MM-DD format, Pacific Time. Defaults to the latest day with final data
maxRowsNoMaximum rows to read from Google for the analysis. The server pages through results.
siteUrlYesA Search Console property, bare domain, or page URL. Examples: sc-domain:example.com, https://www.example.com/, example.com
startDateNoStart date in YYYY-MM-DD format, Pacific Time. Defaults from days and endDate
minDropPctNoMinimum click decline in percent
previousEndDateNoEnd of the comparison period. Set it together with previousStartDate
minPreviousClicksNoIgnore pages below this click count in the previous period
previousStartDateNoStart of the comparison period. Defaults to the period of equal length before startDate

Output Schema

NameRequiredDescriptionDefault
metaNo
dropsYes
causesYes
currentYes
previousYes
totalDropsYes
dataTruncatedYes
unknownDueToTruncationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is clear without description help. The description adds the analytical behavior (drop detection plus cause classification), but says nothing about cost/latency implications of maxRows paging through up to 100k rows, or how the previous-period default is derived — context an agent would want for a heavy read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that states the action, the scope, and the output taxonomy with no filler. Nothing is redundant with the title or with structured fields.

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 annotations, full schema coverage, and an output schema, the description supplies the essential purpose for an 11-parameter analysis tool. The remaining gap is modest: it does not explain how the cause classification is derived or the confidence basis, but the return shape is covered by the output schema.

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%, so every parameter including minDropPct, minPreviousClicks, previousStartDate, and maxRows is already documented in the schema. The description contributes no additional parameter meaning, so the baseline 3 applies.

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 specific verb and resource ('Find pages that lost clicks between two periods') and adds a distinctive capability ('classify the likely cause: ranking, impressions, CTR, or visibility') that separates it from a plain comparison tool like compare_periods. It stops short of explicitly naming or excluding a sibling, so it lands at 4 rather than 5.

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 only implied: an agent can infer it should call this when investigating a traffic decline, but there is no explicit when-to-use condition, no guidance on choosing it over compare_periods or detect_content_decay, and no prerequisite notes (e.g. that a Search Console property is needed). This is the minimum viable level of guidance.

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