Skip to main content
Glama

ADS MCP

Compare Search Console Periods

search_console_compare
Read-only

Compare Google Search Console performance between two periods: the last N days vs the same dates last year (default) or vs the previous period. Returns site totals plus top queries or pages with clicks, impressions, CTR and position for both periods and the change. Use for year-over-year or period-over-period analysis, e.g. last 28 days vs last year. Search Console keeps about 16 months of data. Call list_search_console_sites first.

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": {
      "user_intent": "<user_intent>",
      "site_url": "<site_url>"
    },
    "name": "search_console_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows of the chosen dimension. Default 25, max 100.
end_dateNoOptional exact end of the current period YYYY-MM-DD. Default: 3 days ago.
site_urlYesExact Search Console property URL e.g. https://example.com/ or sc-domain:example.com
dimensionNoquery (default), page, or none for site totals only.
compare_toNoprevious_year (default, same dates one year earlier) or previous_period (the equally long period right before).
start_dateNoOptional exact start of the current period YYYY-MM-DD (overrides date_range_days).
user_intentYes
date_range_daysNoLength of the current period in days, ending 3 days ago. Default 28.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. Beyond that the description adds genuinely useful context: the ~16-month data retention window, the prerequisite lookup call, and the shape of the result (site totals plus per-row metrics for both periods and the delta). It does not mention row caps or rate limits, though the limit parameter's max is in the schema.

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?

Four sentences, front-loaded with the purpose, then usage, then the retention caveat and prerequisite. Dense and free of filler; the only slight redundancy is repeating the default comparison behavior already present in the schema.

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 an 8-parameter read-only analytics tool with no output schema, the description covers what is returned (clicks, impressions, CTR, position for both periods plus change) and the key precondition. Minor gaps: it does not clarify behavior when dimension is 'none' or how the comparison baseline interacts with explicit start/end dates.

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 88%, so the baseline is 3 and the schema already explains every parameter including the compare_to and dimension modes. The description's only real added meaning for parameters is the 16-month retention bound on date_range_days/start_date; the rest (defaults of 28 days and previous_year) merely restates schema content.

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 Google Search Console performance between two periods') and immediately pins down the two comparison modes and the returned metrics. An agent can tell this is the comparative tool rather than a single-period listing, though it never names the single-period siblings (search_console_top_queries, search_console_pages) it overlaps with.

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

Usage Guidelines4/5

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

Gives concrete usage framing ('Use for year-over-year or period-over-period analysis, e.g. last 28 days vs last year') and a hard prerequisite ('Call list_search_console_sites first'). It also warns that Search Console retains only about 16 months of data, which prevents invalid date requests. No explicit when-not guidance, e.g. that it is not the right tool for a single-period query.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.