Skip to main content
Glama
Akxan
by Akxan

Compare two periods in Search Console

gsc_compare_periods
Read-onlyIdempotent

Compare search performance between two date ranges for a query or page dimension, returning rows with delta metrics sorted by click change to identify top winners and losers.

Instructions

Compare search performance between a current and a previous period for a single dimension (query or page). Returns rows with deltas, sorted by biggest click change, so you can spot winners and losers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoHow many winners and losers to return.
filtersNo
siteUrlYesProperty URL exactly as shown in Search Console, e.g. 'https://example.com/' or 'sc-domain:example.com'. Use gsc_list_sites to discover it.
rowLimitNoRows fetched per period before joining.
dimensionNopage
currentEndYesCurrent period end date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days.
searchTypeNoweb
previousEndYesPrevious period end date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days.
currentStartYesCurrent period start date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days.
previousStartYesPrevious period start date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior. The description adds output behavior ('returns rows with deltas, sorted by biggest click change'), providing transparency without contradicting the annotations.

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?

The description is a single, tightly worded sentence with no redundancy. It efficiently conveys the core function and output, making it easy for an agent to parse and act on.

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 tool with 10 parameters, the description plus parameter-specific notes (e.g., date formats, data lag) provide sufficient context. The lack of an output schema is acceptable, but the dimension mismatch between the description and schema slightly reduces completeness.

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 descriptions cover 70% of parameters with helpful notes like data lag and example values for siteUrl and expression. However, the description misleadingly limits dimension to 'query or page' while the schema permits country/device, and dimension/searchType lack descriptive text, reducing semantic clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Compare search performance between a current and a previous period' with a specific action and resource. It distinguishes from sibling tools by focusing on period-over-period deltas for a single dimension, making it uniquely identifiable among similar GSC tools.

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 description implies usage when comparing two date ranges but does not explicitly mention alternatives or conditions. It lacks guidance on when to use this tool versus other GSC tools like gsc_search_analytics or gsc_opportunities, leaving the choice to the agent.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akxan/google-seo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server