Skip to main content
Glama
zhangluka

grain-seo-mcp

by zhangluka

analytics_query

Query search analytics data from Google Search Console with optional pagination, dimensions, filters, and multiple output formats. Retrieve performance metrics for a specified site and date range.

Instructions

Query search analytics data with optional pagination

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYesThe URL of the site
startDateYesStart date (YYYY-MM-DD)
endDateYesEnd date (YYYY-MM-DD)
dimensionsNoDimensions to group by (date, query, page, country, device, searchAppearance)
typeNoSearch type (default: web)
aggregationTypeNoHow to aggregate data (default: auto)
dataStateNoInclude fresh data? 'all' includes fresh (preliminary) data (default: final)
limitNoMax rows to return (default: 1000)
startRowNoStarting row for pagination (0-based)
filtersNoFilters (dimension: query/page/country/device, operator: equals/contains/notContains/includingRegex/excludingRegex)
formatNoOutput format (default: json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description bears full burden for behavioral disclosure. It only mentions pagination but does not disclose whether this is a read-only operation, any destructive aspects, authentication needs, or rate limits.

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 description is a single efficient sentence with no wasted words. Front-loaded with the verb and relevant scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters, complex nested filters, and no output schema, the description is severely under-specified. It does not explain return values, filter syntax, or how different parameter combinations affect results.

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 100%, so the baseline is 3. The description adds minimal value beyond the schema, only hinting at pagination (startRow and limit) which are already documented in the schema.

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 'Query search analytics data with optional pagination' clearly states a specific verb-resource pair (query analytics data) and mentions pagination. However, it does not distinguish from numerous sibling analytics tools that also query analytics data, such as analytics_top_queries or analytics_by_country.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this generic query tool versus more specific siblings. With over 20 analytics-related sibling tools, explicit usage context is needed but absent.

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

Deploy Server

Other Tools