Skip to main content
Glama

Google Analytics (unofficial)

Get marketing funnel data

marketing_get_funnel
Read-only

Use for ordered conversion-step analysis: GA4 ordered_steps step funnels (e.g. session_start → add_to_cart → purchase) and cross-source holistic_bundle landing-page funnels joining GA4, Google Search Console, and Bing Webmaster. Covers funnel drop-off between steps (e.g. from landing on the site to adding to cart to purchasing), conversion paths, and acquisition-to-conversion context. Pass one date range for a single window or two date ranges for period-over-period comparison.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoOptional app or web stream selector. Use this when the user identifies the GA4 source by stream ID, measurement ID, Firebase app ID, or stream name.
typeYes
limitNo
funnelNoMulti-step funnel definition. Use this only for ordered step analysis, not for general website analytics reporting.
propertyNoGoogle Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915.
surfaceIdNodefault
dateRangesYesOne or more GA4 date ranges. Use two date ranges for period-over-period comparisons or significance checks.
propertyIdNoNumeric GA4 property ID for the funnel report.
appStreamIdNoOptional data stream ID when the funnel should run against a specific app or website stream.
bingSiteUrlNo
ga4PropertyIdNoGoogle Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915.
funnelBreakdownNo
funnelNextActionNo
returnPropertyQuotaNo
searchConsoleSiteUrlNo
funnelVisualizationTypeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
chartNo
scopeNo
warningsNo
comparisonNo
sourceStateNo
reportSummaryNo
analyticsLinksNo

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description need not repeat safety traits. It adds valuable behavioral context beyond the schema: it explains the tool joins GA4, Search Console, and Bing Webmaster for holistic_bundle funnels, and that two date ranges enable period-over-period comparison. This is meaningful operational guidance not present in the structured annotations.

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?

The description is three sentences long, yet every sentence carries specific, non-redundant information: the primary use case, the two funnel modes with examples, coverage areas, and date range options. It is front-loaded with the key phrase 'Use for ordered conversion-step analysis' and contains no filler or repetition.

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?

Given the tool's complexity (16 parameters, nested objects, output schema), the description provides a solid high-level overview: it covers both funnel types, gives example steps, and explains the date range comparison feature. It does not delve into filter expression construction or when to choose one funnel type over the other, but the output schema and property-level schema descriptions cover some of those gaps. Overall it is sufficient for an agent to understand the tool's role and basic usage.

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 only 44%, but the description compensates by giving semantic meaning to the type parameter (ordered_steps vs holistic_bundle) with concrete examples, and clarifies dateRanges usage (one window vs. two for comparison). It does not explain all 16 parameters, but the schema itself provides descriptions for several key ones (app, property, dateRanges, funnel), and the description adds examples that make the core parameters more actionable.

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 the tool's purpose with a specific verb ('get') and resource ('marketing funnel data'), and distinguishes it from siblings by detailing two funnel analysis modes (ordered_steps and holistic_bundle) with concrete examples like session_start → add_to_cart → purchase. It covers funnel drop-off, conversion paths, and acquisition-to-conversion context, making the scope unmistakable versus catalog, report, sources, or surface management tools.

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?

The description provides explicit context: 'Use for ordered conversion-step analysis' and lists the specific funnel types it supports. It also explains when to use one date range vs. two for period-over-period comparisons. However, it does not name alternate tools or explicitly state when not to use this tool, leaving the exclusion implicit.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: catalog for schema discovery, report for standard reporting, funnel for conversion analysis, sources for account/property discovery, and manage_surface for selector management. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent marketing_verb_noun pattern: get_catalog, get_funnel, get_report, get_sources, and manage_surface. The verb and noun structure is uniform and predictable.

Tool Count5/5

Five tools is well-scoped for an analytics server, covering discovery, reporting, funnel analysis, source/account listing, and surface configuration without being bloated or too thin.

Completeness5/5

The tool surface covers the core analytics lifecycle: discover schema (catalog), connect to sources (sources), manage settings (manage_surface), and retrieve data (report and funnel). No obvious gaps exist; even advanced needs like pass-through dimensions are handled within get_report.

Resources