Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

by ahonn

Compare Periods

compare_periods
Read-onlyIdempotent

Compare two date ranges by query, page, country, or device to spot performance changes, totals, and top movers in Search Console data.

Instructions

Compare two date ranges by query, page, country, or device, with totals and top movers

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

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
dimensionNoDimension to comparepage
startDateNoStart date in YYYY-MM-DD format, Pacific Time. Defaults from days and endDate
previousEndDateNoEnd of the comparison period. Set it together with previousStartDate
previousStartDateNoStart of the comparison period. Defaults to the period of equal length before startDate

Output Schema

NameRequiredDescriptionDefault
metaNo
currentYes
summaryYes
previousYes
dimensionYes
topLosersYes
topGainersYes
dataTruncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety behavior is covered. The description adds that results include totals and top movers, but says nothing about comparison-period defaults, paging through Google rows, or cost/latency, which matter for a 10-parameter analysis 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?

A single front-loaded sentence with no filler; the key scope and outputs come first. It could be slightly more informative without bloat, but nothing is wasted.

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

Completeness3/5

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

With a full schema, an output schema and read-only/idempotent annotations, the description covers enough for correct invocation. It is thin on routing guidance relative to the many analysis-oriented siblings, which leaves the largest completeness gap.

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 the previousStartDate/previousEndDate pairing and dimension enum is already documented in the schema. The description only echoes the dimension choices already enumerated, adding no new semantics.

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?

States a specific verb and resource ('Compare two date ranges') plus the dimensions compared (query, page, country, device) and the shape of the result (totals and top movers). It is clearly distinct from siblings like search_analytics or detect_traffic_drops, though it doesn't name a sibling 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 only implied: the phrasing signals 'use this when you need a period-over-period comparison across a chosen dimension.' There is no explicit when-to-use, when-not-to-use, or pointer to overlapping tools such as detect_traffic_drops, so an agent must infer the boundary itself.

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