Skip to main content
Glama
SEO Advisor

SEO Advisor

by andriantam

Search Console performance

gsc_search_analytics
Read-onlyIdempotent

Retrieve Search Console clicks, impressions, CTR and average position, grouped by query, page, country, device, date or search appearance, to diagnose SEO performance.

Instructions

Search Console performance data: clicks, impressions, CTR and average position. Group by query, page, country, device, date or searchAppearance. Data lags about 2-3 days.

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": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "gsc_search_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYes
siteUrlNoSearch Console property: 'sc-domain:example.com' (Domain) or 'https://example.com/' (URL prefix). Defaults to GSC_SITE_URL.
rowLimitNo
startDateYes
dimensionsNo
searchTypeNoweb
pageContainsNoOnly rows whose page URL contains this text.
queryContainsNoOnly rows whose query contains this text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description's one real behavioral addition is the 'data lags about 2-3 days' freshness caveat, which is genuinely useful. It says nothing about result pagination, row limits, or quota/rate-limit behavior that an agent would need for large pulls.

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?

Three compact sentences, front-loaded with the payload (metrics) followed by grouping options and the freshness caveat. No filler or redundancy.

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?

For an 8-parameter, no-output-schema retrieval tool, the description covers the core purpose, return metrics, and grouping dimensions well. It leaves gaps on the filter parameters (pageContains, queryContains), searchType, and how to page through large result sets, which an agent must infer from the schema alone.

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 low (38%) and three parameters (startDate, endDate, searchType, rowLimit) carry no schema descriptions, so the description must compensate. It does add meaning by enumerating the six legal dimension values and their grouping role, but it omits date-range format, rowLimit semantics, and the pageContains/queryContains filters.

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?

Names the specific resource (Search Console performance data) and enumerates the returned metrics (clicks, impressions, CTR, average position) plus the available grouping dimensions. This clearly distinguishes it from gsc_inspect_url or gsc_list_sitemaps, though it never explicitly says so.

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?

The description implies its use case by listing metrics and valid grouping dimensions, giving an agent enough to know this is the analytics/reporting tool. However, it offers no explicit when-to-use vs. when-not guidance and never names an alternative (e.g., bing_query_stats) for cross-engine comparisons.

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