Skip to main content
Glama

GSCPAP - Google Search Console, GA4, Bing Webmaster Tools & PageSpeed 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).

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": {
      "site_url": "<site_url>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "search_analytics_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNoOptional: the user's goal in a few words. No site names or URLs.
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. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional: the user's goal in a few words. No site names or URLs.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Well beyond the readOnly/openWorld/non-destructive annotations, it discloses the anonymized-query gap (30-40% fewer clicks in some rollups), the per-dimension serving rules, and the presence of a `note` field on older archive ranges. The only thing not covered is pagination or rate-limit behavior, and row_limit/start_row already imply pagination 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?

Front-loaded with the core distinction, then a structured three-bullet breakdown of data sourcing. Dense but every sentence carries routing or caveat information; slightly long for a tool definition but not padded.

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?

An output schema exists so return values need not be described, and the description instead spends its budget on the exact caveats an agent needs: anonymization skew, source field, and the `note` on old ranges. Nothing needed to call it correctly 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 baseline is 3. The description nonetheless adds real semantics: it explains that including the 'query' dimension or a query filter changes the data source and the anonymization impact, and that no dimensions or only 'date' yields totals from daily Search Console totals. That meaning is not visible in the schema.

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') plus the defining scope ('no 16-month limit') and that results are aggregated rows weighted by impressions. It is immediately distinguishable from search_analytics_query which is named as the recent-data counterpart.

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: 'Use this for historical / trend questions where freshness is not critical' and 'For very recent data (last 3 days), use search_analytics_query (Google).' It also states when data is served live versus from the archive based on the 16-month window, which is guidance an agent cannot infer otherwise.

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.