Skip to main content
Glama

GSCPAP - Google Search Console, GA4, PageSpeed Insights & live SERPs MCP

Search the archive past 16 months

search_analytics_archive
Read-only

Query the Personal Archive (no 16-month limit).

Returns aggregated rows by the requested dimensions. Position is impression-weighted.

Anonymized queries: the archive stores query-level rows, and Google leaves anonymized queries out of those, so a total or a page/country/device breakdown summed from them is lower than Search Console's (often 30-40% fewer clicks). This tool handles that as follows:

  • With the "query" dimension, or a filter on query: served from archived rows. Google's own query-level data excludes the same queries.

  • Totals (no dimensions, or only "date", and no filters): served from archived Search Console daily totals, which include anonymized traffic.

  • Otherwise, while the range is inside Google's ~16-month window, the request is answered live by Google (source "google") so the figures are complete. Older ranges are answered from the archive with a note explaining that they exclude anonymized traffic.

Use this for historical / trend questions where freshness is not critical. For very recent data (last 3 days), use search_analytics_query (Google).

Input Schema

NameRequiredDescriptionDefault
end_dateYesISO date.
site_urlYesProperty URL.
row_limitNoMax rows. Default 100, capped at 25000.
start_rowNoPagination offset.
dimensionsNoquery, page, country, device, date. Default empty (totals).
start_dateYesISO date. NO 16-month limit (depends on your archive depth).
dimension_filter_groupsNoSame format as search_analytics_query.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare read-only, open-world, non-destructive behavior, so the description carries the substantive disclosure: anonymized queries are dropped by Google at query level causing 30-40% lower clicks, the response carries a `source` field of 'google' vs archive, and older archive ranges include a `note` about excluded anonymized traffic. This is exactly the kind of caveat an agent needs to interpret results correctly.

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 opening lines front-load purpose and return shape, and the bulleted enumeration of the three sourcing cases is well structured. It is on the long side with some connective prose ('This tool handles that as follows') that could be trimmed, but nearly every sentence carries decision-relevant information.

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?

For a tool with an output schema, seven parameters, and a subtle data-provenance problem, the definition covers the sourcing rules, the freshness tradeoff, and the alternative tool. Nothing needed to call it or to interpret its results is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description goes beyond it by explaining that the 'query' dimension or a query filter changes the data source, and that no dimensions or only 'date' yields totals including anonymized traffic. It does not add anything about row_limit/start_row pagination semantics, so it falls short of a full 5.

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?

States a specific verb and resource ('Query the Personal Archive'), names the scope beyond Google's 16-month limit, and specifies that it returns aggregated rows by requested dimensions with impression-weighted position. It is clearly differentiated from the sibling search_analytics_query, which it names directly.

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?

Explicit routing rules are given: use for historical/trend questions where freshness is not critical, and use search_analytics_query for the last 3 days. It also enumerates exactly which requests are served from archived rows, which from archived daily totals, and which are proxied live to Google.

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.