Skip to main content
Glama
google-seo-mcp
by Akxan

GA4 funnel report

ga_run_funnel_report
Read-onlyIdempotent

Run a GA4 funnel report to see users reaching each step and drop-off between steps, with optional breakdowns, next-action analysis, and per-date trends.

Instructions

Funnel (v1alpha): users reaching each step and drop-off between steps. Steps are event names with an optional page-path filter, e.g. [{name:'Tour page', event:'page_view', pagePathContains:'/tours/'}, {name:'Book', event:'click_book'}]. Open by default; closed=true requires entering at step 1. Optional breakdown dimension, nextAction (what abandoners did next) and TRENDED_FUNNEL (per-date) visualization.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "propertyId": "<propertyId>",
      "steps": "<steps>"
    },
    "name": "ga_run_funnel_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows returned per sub-report.
stepsYes
closedNo
endDateNoyesterday
breakdownNoDimension to break the funnel down by, e.g. 'deviceCategory' or 'sessionDefaultChannelGroup'.
startDateNo28daysAgo
nextActionNoDimension showing what users did after each step, e.g. 'eventName' or 'unifiedPagePathScreen'; comes back in the visualization block.
propertyIdYesGA4 property ID, e.g. '123456789' (see ga_list_properties).
filterLogicNoHow to join several dimensionFilters.and
visualizationNoTRENDED_FUNNEL adds a date column so the funnel can be read per day.STANDARD_FUNNEL
breakdownLimitNoValues kept for the breakdown dimension.
nextActionLimitNoNext-action values kept per step.
dimensionFiltersNoRestrict the funnel to a segment, e.g. sessionDefaultChannelGroup EXACT 'Organic Search'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed7 schema fields changedv0.10.0
    • addedInput schema / properties / breakdownLimit
      Added value: +{
      +  "default": 5,
      +  "description": "Values kept for the breakdown dimension.",
      +  "maximum": 15,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / dimensionFilters
      Added value: +{
      +  "description": "Restrict the funnel to a segment, e.g. sessionDefaultChannelGroup EXACT 'Organic Search'.",
      +  "items": {
      +    "properties": {
      +      "caseSensitive": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "field": {
      +        "description": "Dimension API name, e.g. pagePath, country.",
      +        "type": "string"
      +      },
      +      "matchType": {
      +        "default": "EXACT",
      +        "enum": [
      +          "EXACT",
      +          "BEGINS_WITH",
      +          "ENDS_WITH",
      +          "CONTAINS",
      +          "FULL_REGEXP",
      +          "PARTIAL_REGEXP"
      +        ],
      +        "type": "string"
      +      },
      +      "not": {
      +        "default": false,
      +        "description": "Negate this filter.",
      +        "type": "boolean"
      +      },
      +      "value": {
      +        "description": "Single value, matched with matchType.",
      +        "type": "string"
      +      },
      +      "values": {
      +        "description": "Match any value in this list (inListFilter), e.g. 20 page paths. Use instead of value.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "field"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filterLogic
      Added value: +{
      +  "default": "and",
      +  "description": "How to join several dimensionFilters.",
      +  "enum": [
      +    "and",
      +    "or"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 250,
      +  "description": "Rows returned per sub-report.",
      +  "maximum": 10000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / nextAction
      Added value: +{
      +  "description": "Dimension showing what users did after each step, e.g. 'eventName' or 'unifiedPagePathScreen'; comes back in the visualization block.",
      +  "type": "string"
      +}
    • addedInput schema / properties / nextActionLimit
      Added value: +{
      +  "default": 5,
      +  "description": "Next-action values kept per step.",
      +  "maximum": 15,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / visualization
      Added value: +{
      +  "default": "STANDARD_FUNNEL",
      +  "description": "TRENDED_FUNNEL adds a date column so the funnel can be read per day.",
      +  "enum": [
      +    "STANDARD_FUNNEL",
      +    "TRENDED_FUNNEL"
      +  ],
      +  "type": "string"
      +}
  3. Addedv0.5.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the description is not required to restate safety. It still adds genuine behavioral context: the tool is v1alpha, the funnel is open by default unless closed=true (which forces entry at step 1), and nextAction results are returned in the visualization block rather than the main rows, which is non-obvious output behavior.

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?

The sentence order is sensible: purpose first, then step shape, then the closed-funnel caveat, then optional features. It is dense but every clause carries information; the only minor cost is a slightly crammed final sentence listing three features at once.

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?

For a 13-parameter analytical tool with no output schema, the description covers the hard parts: step construction, open vs closed funnels, and where nextAction results appear. It omits nothing an agent would need to make a valid first call (propertyId is documented in the schema and points to ga_list_properties), though it does not describe the shape of the returned funnel table.

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 69%, and the description compensates by showing the concrete step-object shape with an example array and by explaining closed and TRENDED_FUNNEL semantics beyond the schema's one-line descriptions. It leaves startDate/endDate defaults and limit/breakdownLimit interplay to the schema, which is a reasonable division.

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?

The description names the specific analysis ('users reaching each step and drop-off between steps') and the resource (a funnel report built from an ordered event-step list), which is far more than a restatement of the title. It does not, however, contrast itself with ga_run_report or ga_run_pivot_report, so an agent must infer from sibling names alone when a funnel is the right shape.

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 definition explains the internal semantics of the funnel ('Open by default; closed=true requires entering at step 1') and flags the optional breakdown, nextAction and TRENDED_FUNNEL add-ons, which implies when those options are appropriate. It never states when to use this report versus ga_run_report, ga_compare_periods or a pivot report, and gives no prerequisites beyond the step-count constraints already in the schema.

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