Skip to main content
Glama
gsc-mcp
by xevrion

Analyze search intent and topics

analyze_queries
Read-only

Classify search queries by intent, surface long conversational AI-style searches, and group them into topics to plan content and reveal what users ask.

Instructions

Breaks the site's queries into intents (question, comparison, commercial, transactional, local, branded, informational), shows long conversational AI-style searches, and clusters queries into topics. Use it to plan content or to see what people really ask.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_queries"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoe.g. "example.com" or any URL on it. Optional if there is one property.
brandNoRegex for branded queries. Defaults to the domain name.
rangeNolast7d, last28d (default), last3m, last6m, last12m, last16m, or "2026-01-01..2026-01-31"
filterNoe.g. "page contains /blog/; country equals usa". Ops: equals, notEquals, contains, notContains, includingRegex, excludingRegex
examplesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description need not restate safety. It adds value by describing the shape of the output (intent buckets, topic clusters), but says nothing about cost, latency, sampling, or limits of the clustering analysis, which matter for a classification tool.

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 sentences, with output content front-loaded and the use case trailing; every clause carries information about what is produced or when it is useful. No redundancy with the title or schema.

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?

With no output schema, the description does a good job of naming the three return components, and all five optional parameters are covered by the schema. What is missing is how the analysis behaves at scale (query limits, latency) and whether results are sampled or exhaustive.

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 description coverage is 80%, so the schema already explains site, brand, range, filter, and examples; the description correctly does not repeat them. It also adds that intents span seven fixed categories and that "branded" is one of them, which clarifies how the brand parameter is used.

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 (breaks down, clusters) and resource (the site's queries) and enumerates the exact output categories: intent buckets, long conversational AI-style searches, and topic clusters. That enumeration makes it clearly distinct from a plain query-listing sibling such as search_analytics.

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?

"Use it to plan content or to see what people really ask" gives a stated use case, which implies when the tool is appropriate. However, it names no alternative tool and gives no when-not conditions, so an agent must infer that per-query metrics belong in search_analytics/most other siblings.

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