Skip to main content
Glama

analyze_funnel

Build conversion funnels from product events: specify ordered event steps to view distinct users, conversion, and drop-off. Omit steps to retrieve available event names.

Instructions

Build a conversion funnel from the product's own events and reason over it on your model. Pass steps as an ordered list of event names (2+) to compute the funnel: distinct users per step, conversion, and drop-off. Omit steps to get the menu of available event names first. Optional product_id (defaults to the primary product) and window_days (default 30).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsNoOrdered event names (2+); omit to get the menu of event names first.
product_idNoProduct id, from whoami (optional; primary by default).
window_daysNoWindow in days (default 30).
Behavior3/5

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

Discloses that the tool computes distinct users per step, conversion, and drop-off, and explains the effect of omitting steps. However, with no annotations and no output schema, the description fails to specify the return format or any authorization/rate limit concerns. The behavioral details provided are useful but incomplete.

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?

Two sentences effectively convey purpose and usage. No unnecessary words; information is front-loaded and well-structured.

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 no output schema, the description adequately covers purpose, usage, and parameters. However, it lacks details about the return value structure and does not mention prerequisites or limitations, leaving some gaps for a complete understanding.

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 100%, so baseline is 3. The description adds value by explaining that omitting steps yields a menu, default product ID is primary, and default window is 30 days. This enhances understanding beyond the schema alone.

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 builds a conversion funnel from product events, specifying the verb 'build' and the resource 'conversion funnel'. It distinguishes from sibling tools like analyze_paths by focusing on funnel computation with ordered event steps.

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?

Explicitly describes when to pass steps (to compute funnel) and when to omit them (to get available event names). Also mentions optional parameters and defaults. However, it does not explicitly differentiate from alternative tools like analyze_paths, leaving some ambiguity for similar analysis tasks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIOProductOS/claude-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server