Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

Compare two periods (winners and losers)

compare_periods
Read-only

Compare pages or queries between two periods to surface the biggest declines, gains, new and lost entries. Use it to investigate traffic drops, find decaying content to refresh, and verify the impact of changes.

Instructions

Compares pages or queries between the current period and the previous period (or the same period last year) and lists the biggest declines, gains, new entries and lost entries. Use it to investigate traffic drops, find decaying content to refresh, and confirm the effect of changes.

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": "compare_periods"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLength of the period in days, ending on the latest day with final data. Default 28.
siteNoSearch Console property, e.g. "sc-domain:example.com", "https://www.example.com/", or just "example.com" (matched to your properties). Optional when you have one property or GSC_DEFAULT_SITE is set.
limitNoMaximum rows to return. Default 15.
deviceNo
metricNoRank changes by this metric. Default "clicks".
countryNoISO 3166-1 alpha-3 country code, e.g. "USA", "GBR".
endDateNoEnd date (YYYY-MM-DD, Pacific Time). Defaults to the latest day with final data (usually 2-3 days ago).
compareToNoDefault "previous".
dimensionNoDefault "page".
pageRegexNoOnly pages whose URL matches this RE2 regex, e.g. "/landing/".
startDateNoStart date (YYYY-MM-DD, Pacific Time). Overrides days. Data goes back about 16 months.
queryRegexNoOnly queries matching this RE2 regex, e.g. "(?i)pricing|cost".
searchTypeNoResult type. Default "web".
excludePageRegexNoDrop pages whose URL matches this RE2 regex.
excludeQueryRegexNoDrop queries matching this RE2 regex. Use it to exclude branded queries, e.g. "(?i)acme|acmecorp".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine behavioral value beyond that by disclosing the shape of the output — biggest declines, gains, new entries and lost entries — which is the only source of return-value information since no output schema exists. It omits operational traits such as rate limits or how ties/sparse data are handled, keeping it from a 5.

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?

Two sentences: the first defines the operation and its output categories, the second gives usage scenarios. Nothing is redundant and the core operation is front-loaded before the guidance.

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 15-parameter, zero-required tool with 93% schema coverage, the description supplies the missing piece — what the comparison returns — plus usage framing. It is largely complete, with only minor gaps around defaults and data-freshness behavior that the schema already covers for dates.

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 93%, so parameters such as days, startDate/endDate, compareTo, dimension, metric, and the regex filters are already well documented in the schema. The description only implicitly maps 'pages or queries' to the dimension parameter and 'previous period / same period last year' to compareTo, adding little syntax or semantics beyond the structured fields. Baseline 3 is appropriate when the schema carries this much weight.

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 ('Compares pages or queries') and explains the comparison basis (current vs. previous period, or same period last year). It also states what the result contains (declines, gains, new entries, lost entries), so an agent knows what it gets back. It does not distinguish itself from siblings like find_quick_wins or performance_summary, which is why it stops short of a 5.

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

Usage Guidelines4/5

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

Three concrete use cases are given: investigating traffic drops, finding decaying content to refresh, and confirming the effect of changes. That is a clear context for selecting the tool. There are no explicit exclusions or named alternatives (e.g., when to prefer a quick-wins or cannibalization tool instead), so it is not a full when/when-not guide.

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