Skip to main content
Glama

Where buyers drop off

funnel_stats
Read-only

A funnel over the last N days (default 30). For a checkout: people who opened it, typed their email, paid, took the order bump and took an upsell, each step with how many dropped off. Or one of the seller's own funnels by id (pages and goals on their website, counted in order per visitor). Pass product or funnel_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "funnel_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back, 1-365. Default 30.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productNoThe checkout's id or slug, for its built-in funnel.
funnel_idNoOne of the seller's own funnels.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/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 safety needs no repetition. The description adds genuine behavioral context beyond them: the 30-day default window, that per-visitor counting is ordered ("counted in order per visitor"), and what each funnel step represents. Timezone or edge-case behavior for the day window is not covered.

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?

Front-loaded with the scope (funnel, default 30 days) before the detail, and every clause carries information. The middle sentence is grammatically loose ("each step with how many dropped off") and repeats the 30-day default already in the schema, but nothing is expendable.

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 does the necessary work of enumerating the returned funnel steps and drop-off counts, and the annotations cover the read-only profile. Remaining gaps are modest: no guidance on precedence when both product and funnel_id are supplied, and no note on aggregation or timezone for the day window.

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 four parameters are already documented, including the 1-365 range and the 30-day default. The description largely restates that and adds only the product-vs-funnel_id mode distinction, which is genuinely useful but marginal against a fully documented schema. Baseline 3 applies.

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?

"A funnel over the last N days" plus an enumeration of the exact steps (opened checkout, typed email, paid, order bump, upsell) with drop-off counts makes the resource and output explicit. It also separates the two modes: the checkout's built-in funnel vs. the seller's own pages-and-goals funnel. The only weakness is that the verb is implied rather than stated, but the scope is unmistakable.

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?

"Pass product or funnel_id" tells the agent how to select between the two funnel types, which matters because the schema marks neither as required and an agent could otherwise call with no selector. It stops short of exclusions — no statement of what happens if both are passed, and no pointer to siblings like coupon_stats or offer_stats for other stats views.

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.