Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

Query Search Analytics

search_analytics
Read-only

Retrieve raw Google Search performance data—clicks, impressions, CTR, and average position—grouped by query, page, country, device, or date with filters, for custom questions other tools do not answer.

Instructions

Raw Google Search performance data (clicks, impressions, CTR, average position) grouped by any dimensions, with filters. Use for custom questions the other tools do not answer, e.g. clicks by date for one page, queries containing a word, or country breakdowns. Rows are sorted by clicks (or by date when grouped by date). Final data lags 2-3 days; with dataState "all" the default range ends today and includes fresh, still-changing data.

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": "search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLength of the period in days, ending on the latest day with final data. Default 28.
siteNoSearch Console property, e.g. "sc-domain:example.com", "https://www.example.com/", or just "example.com" (matched to your properties). Optional when you have one property or GSC_DEFAULT_SITE is set.
endDateNoEnd date (YYYY-MM-DD, Pacific Time). Defaults to the latest day with final data (usually 2-3 days ago).
filtersNoAll filters must match (AND). Country uses alpha-3 codes ("usa"); device is DESKTOP, MOBILE or TABLET.
rowLimitNoRows to return. Default 100.
startRowNoZero-based offset for paging.
dataStateNo"final" (default) or "all" to include fresh, still-changing data.
startDateNoStart date (YYYY-MM-DD, Pacific Time). Overrides days. Data goes back about 16 months.
dimensionsNoGroup by these dimensions, e.g. ["query"], ["page","query"], ["date"]. "hour" switches to hourly data (last 10 days by default). Omit for totals.
searchTypeNoDefault "web".
aggregationTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safe-read profile is covered. The description adds genuinely non-derivable behavior: default sort order (clicks, or date when grouped by date) and freshness semantics — a 2-3 day final-data lag and the fact that dataState "all" extends the default range to today with still-changing values. It does not describe response shape or pagination interaction between rowLimit and startRow, which would have pushed this higher.

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?

Three sentences, front-loaded: capability first, then routing, then output ordering and data-freshness caveats. No filler, no repetition of schema defaults, and the most decision-relevant caveat (lag plus dataState volatility) is placed last where it is easy to scan.

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?

With 11 optional parameters, no required fields, and no output schema, the definition does enough: it enumerates the returned metrics, states sort order, and warns about data recency. The main residual gap is that there is no output schema, so the row/secondary-metric fields an agent will actually receive (e.g. which metrics accompany each dimension) are only implied by the opening list.

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 coverage is 91%, so the schema already documents nearly every parameter precisely, and the baseline of 3 applies. The description contributes one real interaction beyond the schema: dataState "all" changes the default range to end today and returns volatile data. Otherwise it restates grouping and filtering at a high level without adding syntax or defaults.

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 opening sentence names a specific resource — raw Google Search performance data — plus the metrics returned (clicks, impressions, CTR, average position) and the grouping/filtering capability. It also positions itself against siblings by declaring it is for 'custom questions the other tools do not answer,' so an agent can distinguish it from performance_summary or find_quick_wins without opening schemas.

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?

It gives a clear routing rule ('custom questions the other tools do not answer') backed by three concrete use cases: clicks by date for one page, queries containing a word, and country breakdowns. It stops short of naming which specific sibling handles the standard/fixed questions, so the agent must still infer the boundary from those siblings' own definitions.

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