Skip to main content
Glama

Get Google Search Console performance

get_search_console_performance
Read-onlyIdempotent

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. Reads only the Search Console property already connected to a NameIO project the caller is authorized to access. The server selects the Google account and property from that project's saved connection. 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 NameIO 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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, but the description adds substantial context beyond them: Google sorts by clicks and cannot filter by position, so filters apply server-side over only the top 1000 rows of the window; CTR is a 0-1 fraction; position is a 1-based average omitted for discover/googleNews; dates are Pacific Time; the last ~3 days may be incomplete; the account/property are auto-selected from the saved project connection and no credits are used.

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 what is returned and why to use it, then the important caveats; nearly every clause carries operational information. It is dense and long-ish, with the account/property-selection sentence being the least essential, but no filler or repetition.

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 analytical tool with an output schema, the description covers the non-obvious failure modes an agent would otherwise misread as errors (missing position for discover/news, incomplete recent days, 1000-row filter ceiling, date lag in dateRange). Nothing needed to call it correctly appears to be absent.

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 description coverage is 100%, so the baseline is 3, but the description adds a semantic the schema does not state: that minPosition/maxPosition/minImpressions are evaluated server-side against only the top 1000 clicks-sorted rows, which materially changes how an agent should interpret filter results. The ctr/position/date semantics reinforce parameters that would otherwise be ambiguous.

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 (query Search Console Search Analytics) and enumerates the exact metrics returned (clicks, impressions, CTR, average position) and the dimensions available for grouping. It also frames the tool's niche as "first-party data" for what already ranks, which separates it from third-party/keyword-difficulty siblings without needing to name them.

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?

Gives concrete use cases (what already ranks, near-ranking queries, pages with real demand) and a directive to use the server-side position/impression filters "instead of fetching everything." What's missing is any explicit when-not or a named alternative for adjacent needs (e.g. opportunity-finding), which keeps it from a 5.

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