Skip to main content
Glama

gsc_performance

Read-onlyIdempotent

Query Google Search Console performance for a verified property to analyze clicks, impressions, CTR, and position by date, query, page, country, device, or search appearance, with filters and totals.

Instructions

Query Google Search Console performance data (clicks, impressions, CTR, position) for a verified property. Supports date range filtering, dimension breakdowns (query, page, country, device, searchAppearance), and row-level filters. Returns individual rows plus aggregate totals. Requires GSC_CLIENT_ID, GSC_CLIENT_SECRET, and GSC_REFRESH_TOKEN environment variables.

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>"
    },
    "name": "gsc_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date in YYYY-MM-DD format. Defaults to today.
filtersNoOptional filters to narrow the data.
siteUrlYesThe GSC property URL (e.g. "https://example.com/" or "sc-domain:example.com").
rowLimitNoMaximum number of rows to return (1-25000). Defaults to 1000.
startDateNoStart date in YYYY-MM-DD format. Defaults to 28 days ago.
dimensionsNoDimensions to group results by. Defaults to ["query"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world, so the safety profile is covered; the description adds genuinely new behavioral context by naming the required auth environment variables (GSC_CLIENT_ID, GSC_CLIENT_SECRET, GSC_REFRESH_TOKEN) and stating the response contains individual rows plus aggregate totals. It does not disclose quota/rate-limit behavior or the GSC 16-month data window, which is a notable omission for an API with strict quotas.

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?

Four front-loaded sentences that move from purpose to capabilities to return shape to prerequisites, which is a sensible ordering. The second sentence largely re-enumerates values already in the schema's enums, so it is slightly redundant but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the necessary work of explaining that rows plus aggregate totals are returned, and it covers auth prerequisites. However, for a six-parameter analytics query against a rate-limited external API, it omits quota limits, maximum date-window restrictions, and how empty or partial results behave, leaving real gaps.

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 100%, so the schema already documents siteUrl, startDate, endDate, dimensions, filters, and rowLimit with formats and defaults. The description restates dimension options and filter support without adding syntax, constraints, or interaction rules beyond what the schema provides, so 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 Google Search Console performance data') and enumerates the exact metrics returned (clicks, impressions, CTR, position), which separates it from sibling GSC tools like gsc_index_coverage and gsc_sitemaps. It stops short of naming an alternative tool or declaring what this one is not, so it is clear but not fully differentiated.

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 by 'for a verified property' and the required credential variables, which tells the agent prerequisites but not when to prefer this tool over, say, gsc_index_coverage for a different question. No explicit when-not-to-use or alternative routing is provided.

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