Skip to main content
Glama
Klartika

gsc-mcp-server

by Klartika

compare_search_periods

Compare search analytics data between two date ranges to identify changes in queries, pages, and performance. Pinpoint ranking shifts and traffic trends in Google Search Console.

Instructions

Compare search analytics data between two time periods.

Args:
    site_url: Exact GSC property URL from list_properties (e.g. "https://example.com/" or
              "sc-domain:example.com"). Domain properties cover all subdomains — use the
              domain property as site_url and filter by page to analyze a specific subdomain.
    period1_start: Start date for period 1 (YYYY-MM-DD)
    period1_end: End date for period 1 (YYYY-MM-DD)
    period2_start: Start date for period 2 (YYYY-MM-DD)
    period2_end: End date for period 2 (YYYY-MM-DD)
    dimensions: Dimensions to group by (default: query)
    limit: Number of top results to compare (default: 10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
site_urlYes
dimensionsNoquery
period1_endYes
period2_endYes
period1_startYes
period2_startYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden. It reveals some context about site_url formats and domain properties, but it does not disclose the nature of the operation (e.g., read-only), error handling, period overlap behavior, or what the comparison output represents. It focuses almost entirely on parameters rather than behavior.

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?

The description is structured as a docstring with a one-sentence summary followed by an Args list. Every line provides useful information without fluff. It is slightly long due to the number of parameters, but the structure is clean and front-loaded.

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?

The description thoroughly documents parameters, but it lacks usage guidance and behavioral transparency. An output schema exists, so return values may be covered there, but the missing when-to-use and operational context leave the description incomplete for a 7-parameter comparison tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% descriptive coverage, but the description's Args section fully compensates. It explains each parameter, including the exact format for site_url (with examples), date format, defaults for dimensions and limit, and the subdomain filtering nuance. This is exemplary parameter documentation.

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 clearly states the tool's function: 'Compare search analytics data between two time periods.' This is a specific verb ('compare') with a clear resource (search analytics data) and scope (two periods). However, it does not explicitly differentiate from sibling tools like get_search_analytics or get_advanced_search_analytics, so it misses the top score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. There is no mention of 'use this when comparing two periods' or 'for single-period data, use get_search_analytics.' The context is implied by the tool name and description but not articulated.

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

Install Server

Other Tools

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/Klartika/gsc-mcp-server'

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