Skip to main content
Glama
gsc-mcp
by xevrion

Compare two periods

compare_periods
Read-only

Find gaining and declining queries, pages, countries, devices, or search appearances by comparing a selected period with the previous period or same period last year.

Instructions

Biggest winners and losers between this period and the previous one (or the same period last year), by query, page, country, device or search appearance.

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
siteNoe.g. "example.com" or any URL on it. Optional if there is one property.
typeNoDefault web
limitNoMaximum rows to return
rangeNolast7d, last28d (default), last3m, last6m, last12m, last16m, or "2026-01-01..2026-01-31"
filterNoe.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex
againstNoprevious
dimensionNopage

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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=true and openWorldHint=true, so the safety profile is covered. The description adds that results are ranked directional changes (winners/losers) across a chosen dimension, but says nothing about which metric is compared, how many rows come back by default, or whether the comparison requires historical data availability.

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 that identifies the output (winners/losers) first and the variation axes second, with no filler. It could be tightened slightly by making the baseline options more explicit, 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 no output schema and seven parameters, the description carries real burden and only partially meets it: it conveys the shape of the result (ranked winners/losers) but not the metric basis, default row count, or what happens when comparison data is missing. Adequate but with clear gaps for a multi-parameter analytical tool.

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?

With 71% schema coverage, the schema already documents most parameters including enums and defaults. The description duplicates those meanings (dimension values, the yearAgo alternative for 'against') rather than adding new information such as interaction constraints or how range and against pair together. 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?

States a specific outcome ('Biggest winners and losers between this period and the previous one') and enumerates the supported breakdown dimensions, so an agent knows this is a period-over-period comparison tool. It doesn't name any sibling to contrast with, but the purpose is unmistakable against list/report-style siblings like page_report or site_overview.

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 parenthetical '(or the same period last year)' implies the two comparison modes and thus when to pick each, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. diagnose_traffic_drop, find_anomalies) for investigating change. Usage is inferable rather than stated.

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