Skip to main content
Glama
clamp-sh

Clamp Analytics MCP Server

Official
by clamp-sh

search.queries

Read-only

Get the search terms that drive clicks to your site, with clicks, impressions, CTR, and average position. Use it to see what you're ranking for and which queries deliver the most clicks.

Instructions

Google Search Console query metrics — the pre-click side of search. Returns the search terms that drove clicks to the site, with clicks, impressions, CTR (0–1), and average position (1 = top of results), over the period. Sourced from the project's connected Search Console property, synced daily; data lags ~2 days, same as Search Console itself.

Use for "what are we ranking for", "which queries drive the most clicks", "where do we sit on [term]".

Examples:

  • "top search queries this month" → period="28d", read queries (already sorted by clicks)

  • "what position are we for 'X'" → scan queries for X, read position

Limitations: only queries with at least one click in the period appear — Search Console omits zero-click impressions and anonymized rare queries, so totals won't match site-wide impressions. Requires a connected Search Console property (returns an empty list if none is connected). For what those clicks did AFTER landing — sessions and conversions — use search.landing_pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows to return (1-50). Defaults to 10.
periodNoTime period. Use "today", "yesterday", "7d", "30d", "90d", or a custom range as "YYYY-MM-DD:YYYY-MM-DD" (e.g. "2026-01-01:2026-03-31"). Defaults to "30d".
project_idNoTarget project ID (e.g. "proj_abc123"). Required when the credential has access to multiple projects. If omitted and only one project is accessible, that project is used automatically. Call `projects.list` to discover available project IDs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, ensuring safety. The description adds useful behavioral context: data lags ~2 days, synced daily, and requires a connected Search Console property (returns empty list if none). This goes beyond what annotations provide.

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?

Well-structured, front-loaded with core definition, then use cases, examples, and limitations. Every sentence adds value, no fluff.

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?

Given the presence of an output schema (not shown but exists), return values are covered. The description covers purpose, limitations, prerequisites, and alternatives to other tools. Complete for the complexity.

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?

Input schema has 100% description coverage, but the description adds practical usage context (e.g., period examples, hint to call projects.list for project_id, default limit). This adds value beyond the schema.

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?

The description clearly states it returns Google Search Console query metrics (clicks, impressions, CTR, position) for search terms that drove clicks. It explicitly distinguishes from sibling tool 'search.landing_pages' by noting that the latter covers post-click activity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use examples ('what are we ranking for', 'which queries drive the most clicks', 'where do we sit on [term]') and includes limitations (only queries with at least one click, no zero-click impressions). Also directs to a sibling tool for post-click data.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clamp-sh/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server