Skip to main content
Glama

Query Search Analytics

gsc_search_analytics
Read-onlyIdempotent

Query Google Search Console performance data such as clicks, impressions, CTR, and position by query, page, country, device, or date to analyze search visibility.

Instructions

Queries Google Search Console performance data (clicks, impressions, CTR, position) by dimensions such as query, page, country, device, searchAppearance, or date.

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_search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortByNoMetric to sort by (clicks, impressions, ctr, position).clicks
endDateNoEnd date in YYYY-MM-DD format. Defaults to today minus 3 days (GSC data lag).
filtersNoOptional AND-combined dimension filters.
siteUrlYesProperty URL, e.g. "sc-domain:example.com" or "https://example.com/".
rowLimitNoMax rows to return (1-25000).
startRowNoZero-based offset for pagination.
dataStateNoSet "all" to include fresh/unfinalized data.
sortOrderNoSort direction (desc or asc).desc
startDateNoStart date in YYYY-MM-DD format. Defaults to 28 days ending at endDate.
dimensionsNoDimensions to group by (query, page, country, device, searchAppearance, date).
searchTypeNoSearch type (default: web).web

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 fully covered structurally. The description adds nothing behavioral beyond that: no mention of the GSC data lag, quota/rate limits, or aggregation semantics — all quirks an agent would want surfaced for this data source.

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 with the resource stated first and details after; nothing is wasted. Minor deduction because the trailing list of dimensions and metrics duplicates enum values the schema already documents.

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?

For an 11-parameter tool, the rich schema carries most of the burden, including pagination, row limits, and date defaults. However, the description omits anything about result caps, the shared 25,000-row ceiling across pagination, or data-freshness caveats, leaving the behavioral picture only partially complete.

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% with 11 well-documented parameters including defaults, enums, and the data-lag note on endDate. The description merely restates the dimension enum values already present in the schema, so it adds no meaning beyond the structured fields and the 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?

The description names a specific verb ("Queries") and resource ("Google Search Console performance data") and enumerates the metrics returned (clicks, impressions, CTR, position) plus the dimension set. It does not explicitly contrast with siblings like gsc_compare_periods, but the scope is unambiguous enough that an agent can identify it as the general performance-query tool.

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?

The description is a pure statement of capability with no when-to-use guidance, no prerequisites, and no pointer to alternatives. An agent is left to infer on its own that gsc_compare_periods should be preferred for period comparisons, and nothing explains when to choose this over gsc_inspect_url.

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