Skip to main content
Glama

Funnel drop-off people

get_funnel_people
Read-onlyIdempotent

Visitors who left a funnel after a step (outcome dropped, the default) or went on to the next step (continued), newest first, with source, channel, country, when they reached the step and what they spent in the period. Use it to see who abandons before paying. Pass a saved funnel ID from list_funnels as funnel_id, or steps. step is 1-based (1 = the first step; the last step has no next step). Requires the visitors scope.

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": {
      "step": "<step>"
    },
    "name": "get_funnel_people"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoName, email or visitor ID contains (max 100 chars).
toNoLast day, YYYY-MM-DD (inclusive).
fromNoFirst day, YYYY-MM-DD (inclusive). Use with to.
stepYes1-based step: people who reached it, and (dropped) not the next one.
limitNoRows to return (1–100).
stepsNoSteps for an unsaved funnel: 1–8 comma-separated steps, counted in order: visit, page:/path (path prefix), page:=/path (exact page), page:host/path (one hostname), event:goal_name, identify, payment. Example: visit,page:/pricing,event:signup,payment. Ignored with funnel_id. Default: visit,page:/pricing,identify,event:checkout_started,payment.
fieldsNoOptional: only these parts of the answer, as comma-separated dot paths (e.g. overview.current,series.date,series.visitors). Through a list a path applies to every item; period is always kept. An unknown top-level name fails with the list of valid ones. Leave out for the full answer.
offsetNo
periodNoPreset period, default 30d. today/yesterday/wtd/mtd follow the timezone. Ignored when from and to are set.
compareNoWhat change figures compare against: previous (default, the equal-length window right before), weekdays (the same length, starting whole weeks earlier on the same weekday, so Mondays compare with Mondays), year (same period last year), or a YYYY-MM-DD start (window keeps the period's length). Ignored for period all.
filtersNoUp to six visitor filters, all of which must match. op: is, is_not (exact); contains, not_contains, starts_with, ends_with (literal text, letter case ignored); regex, not_regex (case-insensitive regular expressions up to 200 characters, without lookarounds, backreferences or repeated groups like (a+)+); is_empty, is_not_empty (no values: send []; e.g. utmCampaign is_empty = visitors who never had a campaign); gt, lt and is for visits. dim urlParam also needs key, the URL parameter name (one of the site's kept parameters): {"dim":"urlParam","key":"plan","op":"is","values":["pro"]}. dim prop (event property) needs key, the property name, and optionally goal to look only at that goal's events; values match as text (numbers and true/false too), and a visitor matches with at least one such event: {"dim":"prop","key":"plan","goal":"signup","op":"is","values":["growth"]} (list_event_properties lists names and values). dim trait needs key, a person's identify trait (get_visitor_traits lists them): {"dim":"trait","key":"role","op":"is","values":["founder"]}. Other dimensions take no key or goal. A 400 filter_too_slow means the regex was too slow: simplify it.
outcomeNodropped (default): reached step but not the next; continued: reached the next step too.
timezoneNoIANA time zone for day boundaries and grouping, e.g. Europe/Madrid. Default UTC.
funnel_idNoA saved funnel's ID from list_funnels; its steps replace the default funnel.
website_idNoWebsite ID from list_websites (the data-site-id value in the tracking script).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely useful behavior: ordering, returned dimensions (source, channel, country, step time, spend), the default outcome=dropped, and the 1-based last-step edge case where no next step exists. It also discloses the required visitors scope, which is auth context not present in annotations. No rate-limit or pagination-cursor detail, keeping it at 4.

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?

Single front-loaded paragraph: resource definition first, then use case, then parameter guidance, then scope requirement. No filler sentences and no repetition of schema text.

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 15-parameter tool with no output schema, the description supplies the essential shape of the result and the key param relationships, while the rich schema fills in the rest. Minor gaps remain around pagination semantics (limit/offset behavior) but nothing blocks correct invocation.

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 93%, so the 3-baseline is already met; the description goes further by tying funnel_id to list_funnels, explaining that steps defines an unsaved funnel and overrides the default, and clarifying that step is 1-based with no next step at the end. It leaves filters/compare/fields to the schema, which is reasonable given their detail level.

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?

States a specific verb and resource: visitors who dropped after a funnel step or continued to the next, with outcome semantics and ordering ("newest first"). The parenthetical defining dropped/continued disambiguates the two modes without opening the schema.

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?

Gives a clear use case ("see who abandons before paying") and routes to list_funnels for a saved funnel_id vs supplying steps inline. It does not name a competing sibling (e.g. get_path_visitors) or state when not to use it, so it stops short of full alternative routing.

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