Skip to main content
Glama
google-seo-mcp
by Akxan

Search Console performance report

gsc_search_analytics
Read-onlyIdempotent

Retrieve Google Search Console performance metrics—clicks, impressions, CTR, and position—grouped by query, page, country, device, or date, with filters and pagination.

Instructions

Search performance (clicks, impressions, CTR, position) grouped by query, page, country, device, date or searchAppearance, with filters and pagination.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteUrl": "<siteUrl>",
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "gsc_search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYesEnd: YYYY-MM-DD, today, yesterday or NdaysAgo (data lags 2-3 days).
filtersNoAll filters are AND-ed.
siteUrlYesSearch Console property, e.g. 'sc-domain:example.com' (see gsc_list_sites).
rowLimitNo
startRowNoPagination offset.
dataStateNo'all' includes fresh, not yet final, data. 'hourly_all' is required for (and only works with) the 'hour' dimension, which returns up to the last 10 days broken down by hour: use it to confirm within hours that a republished page or a fixed canonical is being picked up, instead of waiting out the usual 2-3 day lag.final
startDateYesStart: YYYY-MM-DD, today, yesterday or NdaysAgo (data lags 2-3 days).
dimensionsNoGroup-by; [] for totals, ['date'] for a trend.
searchTypeNoweb
aggregationTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / startRow / maximum
      Removed value: -9007199254740991
  2. Changed5 schema fields changedv0.10.0
    • changedInput schema / properties / dataState / description
      Previous value: -"'all' includes fresh, not yet final, data."New value: +"'all' includes fresh, not yet final, data. 'hourly_all' is required for (and only works with) the 'hour' dimension, which returns up to the last 10 days broken down by hour: use it to confirm within hours that a republished page or a fixed canonical is being picked up, instead of waiting out the usual 2-3 day lag."
    • changedInput schema / properties / dataState / enum
      Previous value: -[
      -  "final",
      -  "all"
      -]New value: +[
      +  "final",
      +  "all",
      +  "hourly_all"
      +]
    • changedInput schema / properties / dimensions / items / enum
      Previous value: -[
      -  "query",
      -  "page",
      -  "country",
      -  "device",
      -  "date",
      -  "searchAppearance"
      -]New value: +[
      +  "query",
      +  "page",
      +  "country",
      +  "device",
      +  "date",
      +  "hour",
      +  "searchAppearance"
      +]
    • changedInput schema / properties / filters / items / properties / dimension / enum
      Previous value: -[
      -  "query",
      -  "page",
      -  "country",
      -  "device",
      -  "date",
      -  "searchAppearance"
      -]New value: +[
      +  "query",
      +  "page",
      +  "country",
      +  "device",
      +  "searchAppearance"
      +]
    • changedInput schema / properties / siteUrl / description
      Previous value: -"Search Console property, e.g. 'sc-domain:example.com' or 'https://example.com/' (see gsc_list_sites)."New value: +"Search Console property, e.g. 'sc-domain:example.com' (see gsc_list_sites)."
  3. Changed9 schema fields changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / dataState / description
      Previous value: -"'all' includes fresh (not yet finalized) data of the last days."New value: +"'all' includes fresh, not yet final, data."
    • changedInput schema / properties / dimensions / description
      Previous value: -"Group-by dimensions. Omit for site totals; use ['date'] for a daily trend."New value: +"Group-by; [] for totals, ['date'] for a trend."
    • changedInput schema / properties / endDate / description
      Previous value: -"End date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days."New value: +"End: YYYY-MM-DD, today, yesterday or NdaysAgo (data lags 2-3 days)."
    • removedInput schema / properties / filters / items / additionalProperties
      Removed value: -false
    • changedInput schema / properties / filters / items / properties / expression / description
      Previous value: -"Value to match. For device use DESKTOP/MOBILE/TABLET; for country use 3-letter ISO code like 'usa', 'chn'."New value: +"Value; device: DESKTOP/MOBILE/TABLET, country: 3-letter code like 'usa'."
    • changedInput schema / properties / siteUrl / description
      Previous value: -"Property URL exactly as shown in Search Console, e.g. 'https://example.com/' or 'sc-domain:example.com'. Use gsc_list_sites to discover it."New value: +"Search Console property, e.g. 'sc-domain:example.com' or 'https://example.com/' (see gsc_list_sites)."
    • changedInput schema / properties / startDate / description
      Previous value: -"Start date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo' (e.g. '28daysAgo'). Search Console data lags ~2-3 days."New value: +"Start: YYYY-MM-DD, today, yesterday or NdaysAgo (data lags 2-3 days)."
    • addedInput schema / properties / startRow / maximum
      Added value: +9007199254740991
  4. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the AND-ed filter semantics and pagination behavior, but says nothing about result size limits, the 2-3 day data lag, or freshness trade-offs — all of which live only in the schema.

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?

A single front-loaded sentence that leads with the resource and metrics and then stacks the controllable axes. Dense but waste-free; the comma-separated dimension list is slightly harder to scan than prose would be, keeping it below a 5.

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?

For a 10-parameter analytics tool with no output schema, a one-line description is thin: it does not explain result row shape, the meaning of aggregationType, how dimensions affect row granularity, or which parameters interact (e.g. dataState with the hour dimension). The reader must open the schema to call this correctly.

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 70%, so baseline is 3. The description lists the group-by dimensions and mentions filters and pagination, mirroring what the schema already says, and notably omits the 'hour' dimension and gives no meaning for parameters like aggregationType, searchType or dataState, so it adds little beyond structured fields.

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?

States a specific resource and metrics (clicks, impressions, CTR, position) plus the supported group-by dimensions, filters and pagination, so an agent immediately knows this is the raw Search Console performance query tool. It does not contrast itself with siblings such as gsc_compare_periods or gsc_site_snapshot, so it stops short of a 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?

Usage is implied rather than stated: the enumeration of dimensions and filter support suggests when this report-shaped tool is appropriate, but there is no explicit when-to-use, when-not, or named alternative (e.g. when a comparison or indexing audit tool would be better). No exclusions or prerequisites appear in the description itself.

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