Skip to main content
Glama
saurabhsharma2u

Search Console MCP

analytics_query

Retrieve unified search performance data from Google Search Console. Filter by queries, pages, countries, devices, or search appearances and date range for actionable insights.

Instructions

Unified search performance query replacing single-dimension tools. Supports queries, pages, countries, devices, and search appearances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineNoTarget search engine (default: all)
endDateNoEnd date YYYY-MM-DD
filtersNoFilter objects
siteUrlYesThe site property URL
rowLimitNoRow limit
startDateNoStart date YYYY-MM-DD
dimensionsNoDimensions: query, page, country, device, searchAppearance, date

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changedv2.0.2
    • removedInput schema / properties / aggregationType
      Removed value: -{
      -  "description": "How to aggregate data (default: auto)",
      -  "enum": [
      -    "auto",
      -    "byProperty",
      -    "byPage"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / dataState
      Removed value: -{
      -  "description": "Include fresh data? 'all' includes fresh (preliminary) data (default: final)",
      -  "enum": [
      -    "final",
      -    "all"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / dimensions / description
      Previous value: -"Dimensions to group by (date, query, page, country, device, searchAppearance)"New value: +"Dimensions: query, page, country, device, searchAppearance, date"
    • changedInput schema / properties / endDate / description
      Previous value: -"End date (YYYY-MM-DD)"New value: +"End date YYYY-MM-DD"
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "Target search engine (default: all)",
      +  "enum": [
      +    "google",
      +    "bing",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / filters / description
      Previous value: -"Filters (dimension: query/page/country/device, operator: equals/contains/notContains/includingRegex/excludingRegex)"New value: +"Filter objects"
    • removedInput schema / properties / filters / items / properties
      Removed value: -{
      -  "dimension": {
      -    "type": "string"
      -  },
      -  "expression": {
      -    "type": "string"
      -  },
      -  "operator": {
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / filters / items / required
      Removed value: -[
      -  "dimension",
      -  "operator",
      -  "expression"
      -]
    • removedInput schema / properties / filters / items / type
      Removed value: -"object"
    • removedInput schema / properties / format
      Removed value: -{
      -  "description": "Output format (default: json)",
      -  "enum": [
      -    "json",
      -    "csv"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "description": "Max rows to return (default: 1000)",
      -  "type": "number"
      -}
    • addedInput schema / properties / rowLimit
      Added value: +{
      +  "description": "Row limit",
      +  "type": "number"
      +}
    • changedInput schema / properties / siteUrl / description
      Previous value: -"The URL of the site"New value: +"The site property URL"
    • changedInput schema / properties / startDate / description
      Previous value: -"Start date (YYYY-MM-DD)"New value: +"Start date YYYY-MM-DD"
    • removedInput schema / properties / startRow
      Removed value: -{
      -  "description": "Starting row for pagination (0-based)",
      -  "type": "number"
      -}
    • removedInput schema / properties / type
      Removed value: -{
      -  "description": "Search type (default: web)",
      -  "enum": [
      -    "web",
      -    "image",
      -    "video",
      -    "news",
      -    "discover",
      -    "googleNews"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "siteUrl",
      -  "startDate",
      -  "endDate"
      -]New value: +[
      +  "siteUrl"
      +]
  2. First observedv1.14.2

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral transparency. It only lists supported dimensions but does not disclose return format, default date ranges, pagination, authorization requirements, or any side effects. For a read-like query tool, this is insufficient disclosure.

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 description is concise, consisting of two short sentences with no wasted words. The first sentence establishes the tool's main purpose and differentiation, and the second lists key dimensions. All information is relevant and front-loaded.

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?

Given the tool has 7 parameters and no output schema, the description is quite thin. It doesn't explain what the query returns, how filters work, default date handling, or any orchestration details. The description is inadequate for an agent to fully understand the tool's behavior in complex scenarios.

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?

The schema covers all parameters with descriptions (100% coverage), so the baseline is 3. The description adds no extra parameter semantics beyond what the schema already provides; it merely repeats the dimension values. No additional meaning or clarification is given.

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 clearly states this is a unified search performance query tool, and it differentiates itself by replacing single-dimension tools. It lists the supported dimensions (queries, pages, countries, devices, search appearances), providing a clear scope. However, it doesn't explicitly name the alternative tools it replaces, so it's not a perfect 5.

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 description implies that this tool should be used for search performance queries when multiple dimensions are needed, as it replaces single-dimension tools. However, it doesn't explicitly state when to use it versus the sibling analytics tools (e.g., analytics_compare, analytics_anomalies, analytics_advanced) or provide any exclusion criteria. The guidance is implied but not fully articulated.

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