Skip to main content
Glama

search_console_analytics_compare_periods

Compare Search Console search analytics across two date periods. Returns clicks, impressions, CTR, and position for each period side-by-side, enabling analysis of performance changes without merging or diffing the data.

Instructions

Query Search Console search analytics twice and return both periods side-by-side. Returns {period_1: [rows], period_2: [rows]} where each rows list has the same shape as search_console_analytics_query (keys, clicks, impressions, ctr, position). The tool does NOT diff or merge the periods — the agent must align by the first key in each row. Read-only. Two REST calls are issued per invocation. Defaults: dimensions=['query'], row_limit=100 per period. For a single-period query use search_console_analytics_query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYesProperty identifier as registered in Search Console. For URL-prefix properties use the full URL including trailing slash (e.g. 'https://example.com/'). For Domain properties use the 'sc-domain:' prefix (e.g. 'sc-domain:example.com'). The property must be verified and accessible to the authenticated Google account.
start_date_1YesPeriod 1 inclusive start date ('YYYY-MM-DD'). Convention: period 1 is the older / baseline window.
end_date_1YesPeriod 1 inclusive end date ('YYYY-MM-DD'). Must be >= start_date_1.
start_date_2YesPeriod 2 inclusive start date ('YYYY-MM-DD'). Convention: period 2 is the newer / comparison window.
end_date_2YesPeriod 2 inclusive end date ('YYYY-MM-DD'). Must be >= start_date_2.
dimensionsNoDimensions shared across both periods. Default ['query']. Use ['page'] to compare URL-level changes, ['device'] for device shifts.
row_limitNoMaximum rows per period (default 100, cap 25000). Applied independently to period 1 and period 2.
Behavior5/5

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

Despite no annotations, the description discloses key behavioral traits: it is read-only, issues two REST calls per invocation, and does not perform diffing or merging. This fully compensates for the missing annotations, providing the agent necessary safety and performance context.

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 with front-loaded purpose, followed by return shape, behavior, defaults, and sibling reference. It is efficient but slightly verbose; still every sentence earns its place. A minor improvement could be merging the default and sibling sentences.

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

Completeness5/5

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

Given no output schema, the description fully documents the return format (object with period_1 and period_2 arrays shaped like search_console_analytics_query results). It covers all essential context: defaults, behavioral aspects, and parameter hints. No gaps remain for agent decision-making.

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

Parameters4/5

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

All parameters have descriptions in the schema (100% coverage), so the baseline is 3. The description adds value by specifying defaults (dimensions=['query'], row_limit=100) and offering usage examples (e.g., 'Use ['page'] to compare URL-level changes'), which enriches the schema information slightly.

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 the tool's action: 'Query Search Console search analytics twice and return both periods side-by-side.' It identifies the specific verb (query) and resource (Search Console search analytics), and explicitly distinguishes from the sibling tool search_console_analytics_query by noting that tool is for single-period queries.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool vs alternatives: 'For a single-period query use search_console_analytics_query.' It also clarifies that the tool does not diff or merge periods and that the agent must align by the first key, setting clear expectations for post-processing.

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/logly/mureo'

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