Funnel conversion
get_funnelOne 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
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day. | |
| from | No | First day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'. | |
| trait | No | Only 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. | |
| project | No | Project 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_id | Yes | Funnel ID, from list_funnels. |