Skip to main content
Glama

Get Google Search Console performance

get_search_console_performance
Read-only

Query the connected Search Console property's Search Analytics: clicks, impressions, CTR, and average position by query/page/country/device/date. First-party data — use it for what already ranks, near-ranking queries, and pages with real demand. Google sorts by clicks and can't filter by position, so minPosition/maxPosition/minImpressions are applied server-side over the top 1000 rows of the window — use them instead of fetching everything. ctr is a 0-1 fraction; position is a 1-based average and is omitted from rows when type is 'discover' or 'googleNews' (Google does not report it there — treat it as unavailable, not a failure); dates are Pacific Time; the last ~3 days may be incomplete. Read-only; uses no credits.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_search_console_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoSearch type (default web).
endDateNoExplicit end (YYYY-MM-DD, Pacific Time). Use with startDate.
filtersNoAND-combined filters. To get the queries for one page: [{dimension:'page',operator:'equals',expression:'https://example.com/post'}] with dimensions ['query'].
rowLimitNoRows per call (default 250, max 1000). GSC sorts by clicks desc; paginate with startRow when hasMore is true.
startRowNoPagination offset.
dataStateNo'all' (default) includes fresh/incomplete recent data.
dateRangeNoConvenience window (default last_28_days). End is set ~3 days back for GSC data lag. Ignored if startDate+endDate are given. Max lookback is 16 months.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
startDateNoExplicit start (YYYY-MM-DD, Pacific Time). Use with endDate.
dimensionsNoGroup rows by these dimensions. Default ['query']. Use ['page'] for top pages, ['query','page'] to map queries to pages / spot cannibalization, ['date'] for a time series.
maxPositionNoKeep rows with average position <= this.
minPositionNoKeep rows with average position >= this. For 'striking distance' queries use minPosition 5, maxPosition 20, minImpressions 50.
minImpressionsNoKeep rows with at least this many impressions.

Output Schema

NameRequiredDescriptionDefault
okYes
metaNo
rowsNo
reasonNo
endDateNo
hasMoreNo
siteUrlNo
rowCountNo
startDateNo
connectUrlNo
dimensionsNo
nextStartRowNo
setupDocsUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / dimensions / items / enum
      Previous value: -[
      -  "query",
      -  "page",
      -  "country",
      -  "device",
      -  "date",
      -  "searchAppearance"
      -]New value: +[
      +  "query",
      +  "page",
      +  "country",
      +  "device",
      +  "date",
      +  "searchAppearance",
      +  "brandedClassification"
      +]
    • changedInput schema / properties / filters / items / properties / dimension / enum
      Previous value: -[
      -  "query",
      -  "page",
      -  "country",
      -  "device",
      -  "date",
      -  "searchAppearance"
      -]New value: +[
      +  "query",
      +  "page",
      +  "country",
      +  "device",
      +  "date",
      +  "searchAppearance",
      +  "brandedClassification"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses several non-obvious behaviors: Google's default clicks-desc sort, that position filters are applied server-side only over the top 1000 rows of the window, that position is omitted for discover/googleNews and should be treated as unavailable rather than an error, Pacific Time dates, ~3 days of lag, and zero credit cost. These are exactly the operational caveats an agent cannot infer from structured fields.

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?

It is front-loaded with capability, then caveats, with no filler sentences, though the single dense paragraph packs many caveats together and duplicates the schema's striking-distance example. Slightly long for the format but every clause carries information.

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?

For a 13-parameter analytics query with an output schema, the definition covers the remaining gaps an agent needs: data lag, timezone, filter-window limits, type-specific missing metrics, and cost. Return values are correctly left to the output schema rather than restated.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds real meaning by explaining that minPosition/maxPosition/minImpressions are server-side filters over a capped 1000-row window (so they are not lossless), that ctr is a 0-1 fraction, and that position is 1-based and absent for certain types. The 'striking distance' example is repeated verbatim from the schema, which slightly reduces the added value.

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 opening sentence names a specific verb (Query) and resource (Search Console Search Analytics) and enumerates the returned metrics and available dimensions, so an agent knows exactly what data comes back. It implicitly separates first-party GSC data from other sources but never names a sibling tool, so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete usage contexts: 'use it for what already ranks, near-ranking queries, and pages with real demand', and directs the agent to push position/impression thresholds server-side 'instead of fetching everything'. There are no explicit when-not-to-use conditions or named alternatives (e.g. opportunity-finding tools), so it stops short of full routing guidance.

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.