Skip to main content
Glama

SEO GSC Wizard MCP

Query shape analysis (AI Mode fingerprints)

analyze_query_shapes
Read-only

Classifies a property's queries by SHAPE to surface the fingerprints of AI Overviews / AI Mode fan-out traffic (the app's Query Analysis report). Buckets: reply artefacts ("yes", "show me"), pivot follow-ups ("what about gemini"), conversational questions, LLM tracker probes, agent harnesses, pasted strings, long uncategorised, and conventional keywords. Returns per-bucket query/click/impression counts and shares, zero-click counts, average position, and top example queries, plus an aiShaped roll-up of the conversational buckets. Heuristic pattern matching in 27 languages: it judges how a query LOOKS, not what the searcher meant, so treat single rows as evidence rather than proof. Reads the ClickHouse warehouse when available, else the live Search Console API. Date range is optional: omit startDate/endDate to analyze the last 28 settled days (data lags ~2-3 days).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketsNoOptional. Only return these buckets, e.g. ["reply_artefact","pivot_follow_up","conversational_question"] for the AI-conversation shapes. Omit for all buckets.
endDateNoOptional. Window end as YYYY-MM-DD (e.g. 2026-05-31). You do NOT need to know today's date or the latest available date: omit this and the server uses the latest settled Search Console date (data lags ~2-3 days behind today). Never pass null or the string "null".
siteUrlYes
startDateNoOptional. Window start as YYYY-MM-DD (e.g. 2026-05-03). You do NOT need to know today's date. Omit BOTH startDate and endDate to analyze the last 28 settled days automatically (Search Console data lags ~2-3 days). Never pass null or the string "null".
searchTypeNoweb
examplesPerBucketNoHow many top example queries (by impressions) to return per bucket. 0 returns counts only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
rangeNo
totalsNo
bucketsNo
siteUrlNo
aiShapedNo
languagesNo
truncatedNo
dataSourceNo
searchTypeNo
candidateFilteredNo
candidatesScannedNo
questionFormQueriesNo

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 cover only safety (readOnly/openWorld), and the description adds real behavioral depth beyond them: the data-source fallback (ClickHouse warehouse else live Search Console API), the heuristic limitation ('judges how a query LOOKS, not what the searcher meant'), the single-row caveat, and the ~2-3 day settling lag.

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?

The purpose is front-loaded in the first clause, followed by the taxonomy, then returns, then caveats and defaults. It is long, but every sentence carries information; the bucket parenthetical examples slightly pad the length.

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 6-parameter analytical tool with an output schema, an agent has everything needed: what it computes, the allowed buckets, the date defaults and lag, the data-source fallback, and the interpretation caveat. Return values are covered by the output schema and additionally summarized.

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 67% and the description compensates: it enumerates the conceptual bucket groups with example queries, restates the optional date-range default behavior, and explains the aiShaped roll-up. It does not describe siteUrl or searchType, but the remaining schema descriptions are adequate.

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 (classifies by SHAPE) and resource (a property's queries) with a clearly named goal (surfacing AI Overviews / AI Mode fan-out fingerprints). The bucket taxonomy and the aiShaped roll-up make it unmistakably distinct from siblings like get_query_shape_trend or query_top_queries.

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?

Explains the context of use (the app's Query Analysis report) and gives concrete operating instructions — omit dates for last 28 settled days, data lags 2-3 days. It does not explicitly name a sibling alternative or state when NOT to use it, so it falls short of 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