Skip to main content
Glama

Funnel conversion

get_funnel
Read-onlyIdempotent

One funnel's steps for a date range: visitors reaching each step, how many dropped from the previous step, conversion from the previous and from the first step, and median time between steps. worst_step_order: the lowest conversion from the previous step. trait_scope says how trait counts (see trait). is_goal, goal_value: as in list_funnels. Dates are the project's calendar days, YYYY-MM-DD (timezone: get_project); timestamps are UTC. Omit from/to for the last 28 complete days, ending yesterday. Today is still in progress: a range including it reads as a drop against complete days. unique_sessions (visitors) is approximate: counted per day from a daily-rotating hash and summed over days, so a returning visitor counts once per day, and shared or changing networks merge or split people. Quote counts with every percentage; a big change on a small count is noise, not a finding.

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

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day.
fromNoFirst day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'.
traitNoOnly count visitors carrying this session trait value, the way the funnel's trait_scope says: visitor counts every step of a visitor who carried it that day, step counts a step only when the event that met it carried it.
projectNoProject ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project).
funnel_idYesFunnel ID, from list_funnels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only supply readOnly/idempotent hints, and the description goes well beyond them: it discloses that unique_sessions are approximate due to daily-rotating hashing and summed day-by-day, that returning visitors count once per day, that networks can merge or split people, and that date ranges include partial days. It also defines worst_step_order and instructs quoting counts with every percentage, which is genuinely behavioral guidance not present in structured fields.

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?

The description is dense and largely telegraphic, with the returned metrics front-loaded and caveats following. Most sentences carry information, but the colon-style fragments and the trailing statistical warning about small counts, while useful, are slightly buried rather than structured into clear blocks.

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?

For a read-only analytics tool with no output schema, the description does a solid job enumerating the returned metrics, timezone rules, default range, and approximation caveats. It is missing only a concrete sketch of the response shape (e.g., how steps are identified in the output), which would fully close the gap.

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 the baseline is 3, but the description adds real meaning: it explains the complete-days default range and clarifies that trait filtering behaves according to the funnel's trait_scope field. It does not add much beyond the schema for project or funnel_id, but the trait and date semantics are enriched.

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 resource (one funnel) and enumerates exactly what it returns: per-step visitors, drop counts, conversion from previous and first step, and median times. It distinguishes itself from list_funnels by cross-referencing it for is_goal/goal_value semantics, but it does not differentiate from close siblings like preview_funnel or get_funnel_trend, which an agent could plausibly confuse it with.

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?

It gives useful usage context in the form of defaults (omit from/to for the last 28 complete days ending yesterday) and a warning that today is in progress and reads as a drop. However, there is no explicit statement of when to choose this over preview_funnel or get_funnel_trend, so the agent must infer the boundary from the return-value description.

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