Skip to main content
Glama
Google Search Console MCP Intel Engine

Google Search Console MCP Intel Engine

by surendranb

get_search_analytics

Read-onlyIdempotent

Retrieve Search Console clicks, impressions, CTR, and position data by query, page, country, or device. Filter and segment results to diagnose traffic drops and find ranking opportunities.

Instructions

Retrieve Google Search Console search analytics data.

Args: dimensions: List of dimensions from: country, device, page, query, searchAppearance, date, brandedClassification start_date: Start date in YYYY-MM-DD format (defaults to 30 days ago) end_date: End date in YYYY-MM-DD format (defaults to 3 days ago) filters: List of filter objects (e.g., [{"dimension": "country", "operator": "equals", "expression": "usa"}]). Filter by brandedClassification with operator "equals" and expression BRANDED or NON_BRANDED; that cannot be combined with a query filter in the same request. filter_lists: Multi-value filters, several exact values for one dimension in one request (e.g., [{"dimension": "country", "expressions": ["usa", "gbr", "deu"]}, {"dimension": "device", "expressions": ["MOBILE", "TABLET"]}]). Dimension must be country or device; a dimension cannot appear in both filters and filter_lists. search_type: Type of search ('web', 'image', 'video', 'news', 'discover', 'googleNews', 'webMultimodal'). webMultimodal covers Google Lens, Circle to Search, and image uploads, and cannot be grouped by query. row_limit: Maximum number of rows to return (max 25000) start_row: Starting row for pagination (0-based) summary_only: If True, returns only aggregated totals (Token Efficient) intent: Short plain-English description of what the user is trying to learn/accomplish. site_url: Target site URL (e.g. 'sc-domain:example.com' or 'https://example.com/'). If omitted, uses configured site. data_state: 'final' (default, verified data ~72h delay) or 'all' (includes preliminary data from last 24-48h). fresh_data: If True, shorthand for data_state='all' to inspect recent preliminary search data.

Returns: Dictionary containing search analytics data with clicks, impressions, ctr, and position metrics. A 'caveat' string accompanies an empty brandedClassification result: branded data is served only to eligible properties, and the caveat says whether the property is eligible.

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": "get_search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNo
filtersNo
end_dateNo
site_urlNo
row_limitNo
start_rowNo
data_stateNofinal
dimensionsNo
fresh_dataNo
start_dateNo
search_typeNoweb
filter_listsNo
summary_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.12.1
    • changedInput schema / properties / dimensions / items / enum
      Previous value: -[
      -  "country",
      -  "device",
      -  "page",
      -  "query",
      -  "searchAppearance",
      -  "date",
      -  "search_appearance",
      -  "searchappearance"
      -]New value: +[
      +  "country",
      +  "device",
      +  "page",
      +  "query",
      +  "searchAppearance",
      +  "date",
      +  "brandedClassification",
      +  "search_appearance",
      +  "searchappearance"
      +]
    • addedInput schema / properties / filter_lists
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Filter Lists"
      +}
    • addedOutput schema / $defs / SearchAnalyticsResult / properties / caveat
      Added value: +{
      +  "title": "Caveat",
      +  "type": "string"
      +}
  2. Changed4 schema fields changedv0.11.2
    • addedInput schema / properties / data_state
      Added value: +{
      +  "default": "final",
      +  "title": "Data State",
      +  "type": "string"
      +}
    • addedInput schema / properties / dimensions / items / enum
      Added value: +[
      +  "country",
      +  "device",
      +  "page",
      +  "query",
      +  "searchAppearance",
      +  "date",
      +  "search_appearance",
      +  "searchappearance"
      +]
    • addedInput schema / properties / fresh_data
      Added value: +{
      +  "default": false,
      +  "title": "Fresh Data",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / site_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Site Url"
      +}
  3. Changed21 schema fields changedv0.10.1
    • addedInput schema / properties / dimensions / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / dimensions / title
      Previous value: -"dimensions"New value: +"Dimensions"
    • changedInput schema / properties / dimensions / type
      Previous value: -"string"New value: +"array"
    • addedInput schema / properties / end_date / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / end_date / title
      Previous value: -"end_date"New value: +"End Date"
    • removedInput schema / properties / end_date / type
      Removed value: -"string"
    • addedInput schema / properties / filters / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / filters / title
      Previous value: -"filters"New value: +"Filters"
    • removedInput schema / properties / filters / type
      Removed value: -"string"
    • addedInput schema / properties / intent
      Added value: +{
      +  "default": null,
      +  "title": "Intent",
      +  "type": "string"
      +}
    • changedInput schema / properties / row_limit / title
      Previous value: -"row_limit"New value: +"Row Limit"
    • changedInput schema / properties / row_limit / type
      Previous value: -"string"New value: +"integer"
    • changedInput schema / properties / search_type / title
      Previous value: -"search_type"New value: +"Search Type"
    • addedInput schema / properties / start_date / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / start_date / title
      Previous value: -"start_date"New value: +"Start Date"
    • removedInput schema / properties / start_date / type
      Removed value: -"string"
    • changedInput schema / properties / start_row / title
      Previous value: -"start_row"New value: +"Start Row"
    • changedInput schema / properties / start_row / type
      Previous value: -"string"New value: +"integer"
    • changedInput schema / properties / summary_only / title
      Previous value: -"summary_only"New value: +"Summary Only"
    • changedInput schema / properties / summary_only / type
      Previous value: -"string"New value: +"boolean"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "SearchAnalyticsResult": {
      +      "properties": {
      +        "data": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "title": "Data",
      +          "type": "array"
      +        },
      +        "error": {
      +          "title": "Error",
      +          "type": "string"
      +        },
      +        "metadata": {
      +          "additionalProperties": true,
      +          "title": "Metadata",
      +          "type": "object"
      +        },
      +        "summary": {
      +          "additionalProperties": true,
      +          "title": "Summary",
      +          "type": "object"
      +        }
      +      },
      +      "title": "SearchAnalyticsResult",
      +      "type": "object"
      +    }
      +  },
      +  "properties": {
      +    "result": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/SearchAnalyticsResult"
      +        },
      +        {
      +          "type": "string"
      +        }
      +      ],
      +      "title": "Result"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "get_search_analyticsOutput",
      +  "type": "object"
      +}
  4. First observedv0.6.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description still adds real behavioral context beyond them: the ~72h delay on final vs preliminary data, the brandedClassification eligibility caveat returned on empty results, the rule that webMultimodal cannot be grouped by query, and several mutually exclusive filter constraints. It does not address rate limits or pagination boundaries, so not 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?

Front-loaded with a one-line purpose, then a tight Args block and a Returns block; the density is justified for a 13-parameter tool and examples are inlined rather than expanded into prose. Slight verbosity in the Returns section, which repeats information an existing output schema already conveys.

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 13-parameter, all-optional, read-only analytics tool with an output schema, the description is nearly sufficient: it covers parameter formats, defaults, exclusivity rules, data freshness, and result caveats. Remaining gaps are the relationship to sibling comparison tools and any mention of result-size or quota limits when row_limit is set high.

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%, so the description must carry the full burden, and it does: every notable parameter gets format, default, allowed values, and worked examples (filter object shapes, filter_lists expressions, dimension enum list, row_limit max of 25000, 0-based start_row, site_url formats). It also explains non-obvious interactions, e.g. that brandedClassification cannot be combined with a query filter and that a dimension cannot appear in both filters and filter_lists.

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?

Opens with a specific verb and resource: "Retrieve Google Search Console search analytics data." An agent can immediately tell this is the raw query/fetch tool, distinct from siblings like compare_performance or get_data_status, though the description never names those alternatives to make the distinction explicit.

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?

Usage context is present but only implicitly: fresh_data is described as a shorthand for data_state='all', and summary_only is flagged as token efficient, which hints at when to pick them. There is no explicit statement of when to use this tool versus compare_performance or the status/site listing tools, leaving that routing to inference.

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