Skip to main content
Glama
ga4-gsc-mcp

ga4-gsc-mcp

by kkvlabs

Top search queries

top_queries
Read-onlyIdempotent

Retrieve Google Search Console queries with impressions, clicks, CTR, position, and period-over-period changes; filter by page, text, or brand to find which searches bring clicks.

Instructions

Which Google searches bring clicks? Top Search Console queries with impressions, CTR, position and change. Filter by page, text, or brand vs non-brand. JSON or CSV.

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": "top_queries"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite as a domain or Search Console URL, e.g. "example.com" or "sc-domain:example.com". Optional when the credentials see one site.
brandNoall (default), brand (only searches with your brand terms) or non_brand (searches without them).
limitNoRows to return, default 25, max 1000.
formatNojson (default) or csv for a table you can paste into a spreadsheet.
periodNoNamed date range ending on the last settled day. Default last_28_days.
compareNoCompare with the previous period (default), the same dates last year, or none.
end_dateNoEnd date YYYY-MM-DD. Defaults to the last settled day (Search Console lags 2 to 3 days).
start_dateNoStart date YYYY-MM-DD. Overrides period.
brand_termsNoBrand terms and misspellings. Default: BRAND_TERMS env, else the domain name.
page_containsNoOnly queries for pages whose URL contains this.
query_containsNoOnly queries containing this text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds the returned metric set and the brand-vs-non-brand split, but says nothing about the Search Console data lag, defaults for period/compare, or row-limit behavior beyond the schema. Useful additions, but not rich behavioral disclosure.

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?

Three short sentences, front-loaded with the value question and immediately followed by the resource and metric list. The rhetorical opening is slightly promotional but does orient the agent quickly; nothing is redundant.

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 the work of naming the returned fields (impressions, CTR, position, change) and the available output formats. For an 11-parameter, zero-required tool with full schema coverage, the remaining gaps (pagination, defaults) are minor.

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 coverage is 100% with descriptions and enums on every property, so the schema carries the parameter semantics. The description only echoes filter axes (page, text, brand) and output format, adding no syntax or interaction rules such as start_date overriding period.

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?

States a specific verb and resource: 'Top Search Console queries' with impressions, CTR, position and change. That clearly separates it from a generic raw query tool and from top_pages, though the description never names a sibling explicitly.

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 framing question 'Which Google searches bring clicks?' implies the use case (query-level click analysis) and the filter axes hint at narrowing scenarios. There is no explicit when-to-use versus search_console_query or top_pages, and no stated exclusions, so guidance is implied rather than spelled out.

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