Skip to main content
Glama
diegomm27
by diegomm27

search_analytics

Query Google Search Console search analytics data for one property. Retrieve clicks, impressions, CTR, and position by query, page, country, device, or date with filters and pagination.

Instructions

Query search analytics for one property.

site_url: property from list_sites. start_date/end_date: YYYY-MM-DD (default: last 28 days ending 3 days ago). dimensions: subset of query, page, country, device, date, searchAppearance. filters: list of {dimension, operator, expression} with operators equals, notEquals, contains, notContains, includingRegex, excludingRegex. search_type: web, image, video, news, discover, googleNews. data_state: final or all. row_limit: 1..25000; start_row: pagination offset.

Returns TSV rows plus a metadata block (date range, rows returned, more_may_exist: true when rows == row_limit, so paginate with start_row).

Input Schema

NameRequiredDescriptionDefault
filtersNo
end_dateNo
site_urlYes
row_limitNo
start_rowNo
data_stateNofinal
dimensionsNo
start_dateNo
search_typeNoweb

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it discloses default date window, valid enum values, the 1..25000 row_limit bound, and — most valuable — the pagination contract ('more_may_exist: true when rows == row_limit, so paginate with start_row'). It omits auth/permission requirements and any quota or rate-limit behavior.

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?

The purpose leads, parameter semantics follow in a compact labeled list, and the return/pagination contract closes it out. Given nine parameters and a zero-description schema, no sentence is filler and nothing important is buried.

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, yet the description still usefully supplements it with the more_may_exist/start_row pagination rule, which is the piece an agent most needs to iterate correctly. Combined with full parameter documentation, nothing essential for calling this complex tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, so the description must compensate, and it does: it documents site_url provenance, date formats and defaults, allowed dimension values, the full filter object shape and operator list, search_type and data_state enumerations, and row_limit/start_row semantics. Nearly every parameter gains meaning absent from 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 search analytics') plus the scope constraint ('for one property'), which immediately separates it from the sibling inventory tools. It also names list_sites as the source of site_url, giving an agent a concrete anchor for what this tool operates on.

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?

The prerequisite for the required parameter is stated ('site_url: property from list_sites'), which is useful routing guidance, and defaults for date range and data_state are given. However, there is no explicit when-to-use versus when-not-to-use guidance, and the sibling inspect_url is never contrasted with this tool.

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