OwlMetry
MCP

Funnels

Create, query, and manage funnel definitions and analytics via MCP tools.

Funnels track user progression through a sequence of steps, like onboarding or checkout. Definitions are scoped to projects. Each step has a name and an event filter that matches on step_name and/or screen_name. See Funnels concepts for details.

list-funnels

List all funnel definitions for a project.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID

get-funnel

Get a funnel definition by slug, including its steps.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID
slugstringYesFunnel slug

create-funnel

Create a funnel definition with ordered steps. Max 20 steps. Requires funnels:write permission.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID
namestringYesFunnel name
slugstringYesFunnel slug (lowercase, numbers, hyphens only)
descriptionstringNoFunnel description
stepsarrayYesOrdered list of funnel steps

Each step in the steps array:

FieldTypeDescription
namestringStep display name
event_filter.step_namestringMatch events with this step_name (what devs pass to track())
event_filter.screen_namestringMatch events on this screen
{
  "project_id": "550e8400-...",
  "name": "Onboarding",
  "slug": "onboarding",
  "steps": [
    { "name": "Sign Up", "event_filter": { "step_name": "sign-up" } },
    { "name": "Profile Setup", "event_filter": { "step_name": "profile-setup" } },
    { "name": "First Action", "event_filter": { "step_name": "first-action" } }
  ]
}

update-funnel

Update a funnel definition. Requires funnels:write permission.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID
slugstringYesFunnel slug
namestringNoNew funnel name
descriptionstringNoNew description
stepsarrayNoNew step list (replaces all existing steps)

delete-funnel

Soft-delete a funnel definition. Existing funnel events are not removed. Requires funnels:write permission.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID
slugstringYesFunnel slug to delete

query-funnel

Query funnel analytics: step-by-step conversion rates, drop-off percentages, and unique users. Supports open and closed modes and grouping.

ParameterTypeRequiredDescription
project_idUUIDYesThe project ID
slugstringYesFunnel slug
sincestringNoStart time (default: 30 days)
untilstringNoEnd time
app_idUUIDNoFilter by app
app_versionstringNoFilter by app version
environmentstringNoFilter by environment
experimentstringNoFilter by experiment (format: name:variant)
modestringNoopen (default) or closed
group_bystringNoSegment results (see below)
data_modestringNoproduction (default), development, or all

Funnel modes

  • Open (default) — each step is evaluated independently. Users can appear at any step regardless of earlier steps.
  • Closed — sequential. Users must complete each step in order with strict timestamp ordering. Events with no user_id are excluded.

Group-by options

ValueDescription
environmentSegment by environment
app_versionSegment by app version
experiment:<name>Segment by experiment variant assignment

Ready to get started?

Connect your agent via MCP or CLI and start tracking.