Skip to main content
Glama

Search analytics report

run_search_analytics_report
Read-only

Organic search performance for a property: clicks, impressions, CTR, and average position, broken down by the dimensions you choose (query, page, country, device, date, searchAppearance). Filter to a search type (web/image/video/news/discover/googleNews) - discover and googleNews cover Google's Discover feed and Google News; searchAppearance as a dimension is the closest proxy the API currently offers for isolating AI Overview / rich-result rows, since there is no dedicated AI Overview search type yet. Defaults to the last 28 days (Search Console's own default). Use pageFilters to narrow to (or exclude) a URL pattern server-side - e.g. notContains on /dashboard/ and /authenticate/ to drop internal traffic that would otherwise crowd out marketing pages - rather than requesting the maximum rowLimit and filtering client-side. For an exact-URL allowlist ("only these known-good pages"), use the in operator instead of a hand-written regex - it avoids the notContains-as-denylist mismatch and chunks itself automatically to stay under Google's undocumented filter-size ceiling (may take more than one upstream call for a large list). Large requests are paged internally in batches of up to 5000 rows and will stop early with nextStartRow set if they run long, rather than risk a request timeout - pass that back as startRow to continue. collapseVariants merges query-string/scheme duplicates of the same page; brandKeywords adds a derived branded/non-branded field per query row.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoweb
endDateNoYYYY-MM-DD.
siteUrlNo
rowLimitNo
startRowNoOffset for paging beyond rowLimit.
startDateNoYYYY-MM-DD. Omit with endDate for the last 28 days.
dimensionsNo
pageFiltersNoFilters applied to the `page` dimension server-side, before rowLimit truncates the result. Multiple filters are ANDed together, e.g. [{operator: 'notContains', expression: '/dashboard/'}, {operator: 'notContains', expression: '/authenticate/'}] excludes both paths in one request. At most one filter may use operator `in` (a values array) - matches if the page is any one of them, expanded internally into chunked regex-alternation queries (Google's filter API has no native set-membership or OR operator).
brandKeywordsNoCaller-supplied brand-name substrings/variants (e.g. ['legitfit', 'legit fit', 'legitfit login']) - plain substrings, not regex. When set and `query` is among `dimensions`, adds a derived `brandedVsNonbranded` field per row via case-insensitive substring match. Caybl does not store or infer these keywords - you decide what counts as this tenant's brand and supply the list each call.
collapseVariantsNoMerge rows that are the same logical page but differ only by tracking query-string or http/https/www scheme - sums clicks/impressions and recomputes ctr/position across the merged rows. Only applies when `page` is among `dimensions`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the read-only/non-destructive profile, but the description adds substantial behavior: internal 5000-row batching, early stop with nextStartRow for continuation, filter chunking under Google's undocumented filter-size ceiling possibly requiring multiple upstream calls, and collapseVariants recomputing ctr/position across merged rows.

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?

Purpose is front-loaded before the option-by-option detail, and the dense sentences each carry distinct guidance about filtering, paging, or derived fields. It is long and near the upper bound of what is useful, but almost 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?

No output schema exists, so the description must carry the return-value burden; it names the metric fields, the nextStartRow continuation mechanism, and the brandedVsNonbranded derived field. It never details a full row shape or how dimensions map to row keys, leaving a small gap for a 10-parameter reporting tool.

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?

With 60% schema coverage, the description supplies meaning beyond the schema for the hardest parameters: `discover`/`googleNews` semantics, searchAppearance as the AI-Overview proxy, the `in` versus regex tradeoff, and the derived brandedVsNonbranded field. A few parameters (siteUrl, rowLimit, endDate) remain unelaborated, but the complex ones are well covered.

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 and resource — organic search performance for a property — and enumerates the exact metrics (clicks, impressions, CTR, average position) and dimensions. An agent can distinguish this from GA4-oriented siblings like run_report or get_search_terms without opening the schema.

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?

Gives clear operational context: default 28-day window, server-side filtering via pageFilters instead of client-side filtering on a maxed rowLimit, and `in` for allowlists vs regex. It does not explicitly compare against sibling tools (e.g. get_search_terms), so it stops short of full when/when-not routing.

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