Skip to main content
Glama

Funnel

get_funnel
Read-onlyIdempotent

A funnel of 2 to 8 signal types in order: how many sessions (or users) reached each step within the window. Plans without funnels answer with an error.

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": {
      "app_id": "<app_id>",
      "steps": "<steps>"
    },
    "name": "get_funnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional end (exclusive), RFC 3339 instant with offset; use with from.
fromNoOptional start, RFC 3339 instant with offset (for example 2026-11-01T00:00:00Z); use with to.
scopeNosession (default) or user.session
stepsYesSignal types in order, 2 to 8.
app_idYesApp id from list_apps.
periodNotoday, yesterday, 7d, 30d or 90d (UTC days, today included). Ignored when from and to are given.30d
test_modeNotrue reads test (debug) signals only; false (default) reads real signals only.
window_hoursNoHours to complete the funnel, 1 to 8760 (default 24).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent read, but the description adds two traits not in the structured fields: the required 2-8 step ordering and the plan-entitlement failure mode that returns an error rather than partial data. Return shape (per-step counts vs. drop-off) is not described, keeping it below a 5.

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, front-loaded with the core computation, with the entitlement caveat last. No filler and nothing redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter aggregation tool with no output schema, the description covers the computation and the main failure mode, but does not sketch what the response contains per step. An agent knows what to ask for but not what it will receive.

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 coverage is 100%, so every parameter is already documented, and the description largely restates it. It does add the meaningful framing that steps are ordered and measured within the window, but adds nothing about how window_hours interacts with period/from/to beyond what the schema already says.

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 a specific computation: a funnel of 2-8 ordered signal types reporting how many sessions or users reached each step within a window. That is a concrete verb+resource distinct from get_retention or signal_breakdown, though it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose get_funnel over get_retention or signal_breakdown. The only conditional statement is an availability constraint ('Plans without funnels answer with an error'), which is a prerequisite, not usage direction.

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