Skip to main content
Glama

Site Insights by KKV Labs

Search Console query

search_console_query
Read-onlyIdempotent

Search Console Search Analytics API query (searchanalytics.query) with every option: any search type (web, image, video, news, discover, googleNews), any dimensions (query, page, country, device, date, searchAppearance), dimension filter groups including regex, aggregation type, data state, and up to 25,000 rows per call with start_row paging. Rows are ranked by clicks, then impressions (date order when date is the first dimension). Returns every row and field Google sends.

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_console_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns Google's response exactly as Google sent it, unchanged.
siteNoThe site's domain (example.com) or its label. Optional when the account has exactly one site switched on. An unknown name returns an error that lists the switched on sites.
periodNoDate range. Default last_28_days. Named ranges end when the data is complete.
sort_byNoDefault clicks, ties broken by impressions (date when date is the first dimension).
end_dateNoCustom end date YYYY-MM-DD.
row_limitNoRows per call, default 1000, max 25000.
start_rowNoZero based row to start from, for paging.
data_stateNo
dimensionsNo
sort_orderNoDefault desc for clicks, impressions and ctr; asc for position and dimensions.
start_dateNoCustom start date YYYY-MM-DD. Overrides period.
search_typeNoSearch Console search type. Default web.
aggregation_typeNo
dimension_filter_groupsNoSearch Console dimensionFilterGroups, for example [{ "groupType": "and", "filters": [{ "dimension": "query", "operator": "includingRegex", "expression": "price|cost" }] }]. Operators: equals, notEquals, contains, notContains, includingRegex, excludingRegex.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world, so the safety profile is settled. The description adds real behavioral context beyond that: a 25,000-row cap per call with start_row paging, the default ranking (clicks then impressions, date-first when date leads), and that the full unfiltered Google payload is returned.

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-loads the tool identity first and then enumerates capabilities efficiently; no filler sentences. The capability list is dense but every clause carries information, so it stays appropriate in size.

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?

With 14 params, rich annotations, and no output schema, the description does the needed extra work by covering paging behavior, result ordering, and return fidelity. Minor gaps around paging loop mechanics and error/empty-result behavior remain, but nothing an agent needs 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.

Parameters3/5

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

Schema coverage is 79%, so the schema already documents nearly all parameters. The description largely restates what the schema says in sort_by, row_limit, start_row, and dimension_filter_groups (the regex example mirrors the schema example), adding little new per-parameter meaning.

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 (Search Console Search Analytics API query / searchanalytics.query) and signals the tool's identity as the fully general, all-options variant, which implicitly contrasts with the many curated report siblings like top_queries and site_overview. An agent can tell what it does without opening the schema.

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 phrase 'with every option' implies this is the tool for arbitrary/custom queries, which helps orient against curated siblings. But it never explicitly says when to prefer this over top_queries, top_pages, or site_overview, and offers no exclusions or prerequisites.

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.

Resources