Skip to main content
Glama
gsc-mcp
by xevrion

Query search analytics

search_analytics
Read-only

Retrieve and group Google Search Console performance data by query, page, country, device, date, or hour with filters. Paginate past the 25,000-row limit and flag truncated results.

Instructions

Raw Search Console performance data grouped by any dimensions, with filters. Pages past Google's 25,000-row limit automatically and says when results were cut off. Use dimensions ["hour"] for hourly data from the last 10 days, or ["date"] for a daily trend.

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
siteNoe.g. "example.com" or any URL on it. Optional if there is one property.
typeNoDefault web
freshNoInclude fresh, not yet final data from the last ~2 days
rangeNolast7d, last28d (default), last3m, last6m, last12m, last16m, or "2026-01-01..2026-01-31"
filterNoe.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex
formatNotable (default, compact), json or csv
devicesNoMatch any of these devices
maxRowsNoDefault 100. Keep it small unless you need everything; 1,000 rows is about 30k tokens.
orderByNoSort descending by this metric (position sorts best first). Default clicks; date and hour sort by time.
countriesNoMatch any of these countries (ISO alpha-3), e.g. ["usa","gbr"]
dimensionsNoGroup by, e.g. ["query"], ["page","query"], ["date"], ["hour"]. Empty gives totals.
aggregationTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely useful behavior beyond them: automatic paging past Google's 25,000-row limit and an explicit signal when results were truncated. That truncation notice is the kind of context an agent needs to interpret a result set. It stops short of covering auth requirements or any rate/quota behavior, which keeps it from a 5.

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?

Three sentences, front-loaded with what the tool returns and the most surprising behavior (pagination and truncation), followed by the dimension-specific usage note. The phrasing 'Pages past Google's 25,000-row limit automatically' is slightly elliptical but still recoverable. No filler sentences.

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 a 12-parameter, zero-required read tool with no output schema, the description covers the highest-risk behaviors: result-set size limits, truncation signaling, and a dimension-specific date constraint. It does not explain the returned structure or how aggregationType/format interact, but those are documented in the schema, so the agent has enough to call it correctly.

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 92%, so the schema already carries most parameter meaning and the baseline is 3. The description earns a bump by adding a constraint not present in the schema: that the "hour" dimension only yields data for the last 10 days, which materially shapes how an agent should call it. The daily-trend hint for ["date"] reinforces existing schema guidance rather than adding new meaning.

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?

The description states a concrete operation on a concrete resource: raw Search Console performance data, grouped by arbitrary dimensions and filtered. The word 'Raw' implicitly separates it from analysis-oriented siblings such as analyze_queries or site_overview, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

There is some practical guidance, but it is scoped to parameter choices (use ["hour"] for hourly data over the last 10 days, ["date"] for a daily trend) rather than to when this tool should be chosen over siblings like analyze_queries or compare_periods. The agent can infer this is the escape hatch for unfiltered raw data, but no explicit when-not-to-use statement or alternative is given.

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