Skip to main content
Glama

analytics_funnel

Read-only

Funnel analysis: track where users drop off across a sequence of events (e.g. page_view → signup → purchase). Returns per-step user counts, conversion rates, and average time between steps. Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoLookback period (e.g. '30d', '90d', or ISO date)30d
stepsYesFunnel steps (2-8), each with an event name and optional filters
projectYesProject name
count_byNoCount by users or sessionsuser_id
breakdownNoProperty key to segment by (e.g. 'variant', 'country'). Extracted from step 1 events.
breakdown_limitNoMax breakdown groups (default 10, max 50)
conversion_window_hoursNoMax hours from step 1 to last step (default: 168 = 7 days)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real behavioral value beyond that: it specifies the return contents (per-step user counts, conversion rates, average time between steps) and discloses the anonymous-preview data limitation, which the annotations do not convey.

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 tight sentences: purpose first, then return contents, then access constraints. No filler, and the most important information (what it does) is front-loaded. Slightly dense but nothing wasted.

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 usefully summarizes the return shape (per-step counts, conversion rates, timing) and flags the anonymous-data limitation. Combined with 100% schema coverage, an agent has enough to invoke it correctly, though the funnel-vs-alternative decision remains implicit.

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 description coverage is 100%, so all seven parameters are already documented in the schema, including defaults, ranges, and the enum. The description adds only the illustrative event-chain example, which loosely maps to the 'steps' parameter, so baseline 3 is appropriate.

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 analysis verb and resource: 'track where users drop off across a sequence of events', with a concrete example chain (page_view → signup → purchase). This clearly separates it from siblings like analytics_paths or analytics_retention conceptually, though it never names an alternative 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?

Provides useful auth/scope guidance ('Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects'), which tells the agent about data availability. However, it gives no guidance on when to choose a funnel versus paths, retention, or breakdown for a related question.

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