Skip to main content
Glama

Search Console: search analytics

gsc_search_analytics
Read-onlyIdempotent

Query Google Search Console performance data to retrieve clicks, impressions, CTR, and average position grouped by queries, pages, countries, or devices, with optional filters.

Instructions

Query Search Console performance data: clicks, impressions, CTR and average position.

Returns rows grouped by the requested dimensions (top queries, pages, countries...). Requires Search Console credentials; returns setup instructions otherwise.

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": {
      "site_url": "<site_url>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "gsc_search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersNoOptional AND filters: [{"dimension": "page", "operator": "contains", "expression": "/blog/"}]. Operators: equals, notEquals, contains, notContains, includingRegex, excludingRegex.
end_dateYesYYYY-MM-DD
site_urlYesProperty, e.g. 'https://www.example.com/' or 'sc-domain:example.com'.
row_limitNoRows to return (1-25000).
dimensionsNoAny of query, page, country, device, date, searchAppearance. Default ['query'].
start_dateYesYYYY-MM-DD
search_typeNoweb, image, video, news, discover or googleNews.web

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the credential requirement and the fallback behavior of returning setup instructions, plus that output is grouped by the requested dimensions. It says nothing about rate limits, quotas, or data freshness/lag, which matter for a Search Console query.

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?

Two short sentences, front-loaded with the verb and the metrics, followed by the return shape and the credential caveat. No filler or redundant restatement of the tool name.

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?

An output schema exists, so return values need not be spelled out, and annotations carry the safety profile. The description covers the key operational surprise (missing credentials yield setup instructions) for a 7-parameter tool. Only quota/rate-limit and data-lag context is absent, which is a minor gap.

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 description coverage is 100%, so dimensions, filters, row_limit, search_type and date formats are already fully documented in the schema. The description only restates that rows are grouped by dimensions and gives example dimension values, adding no syntax or constraint detail beyond the schema. Baseline 3 applies.

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 verb and resource ('Query Search Console performance data') and enumerates the metrics returned (clicks, impressions, CTR, average position), which clearly separates it from inspection or listing siblings. It stops short of explicitly naming an alternative tool, so it is clear but not maximally differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no routing to alternatives such as gsc_inspect_url for per-URL diagnostics. The only conditional statement concerns missing credentials, which is a prerequisite, not usage guidance.

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