Skip to main content
Glama

Tracwell

Create a funnel

funnel_create
Idempotent

Saves a funnel of ordered steps, built from observed events or page paths, with a conversion window. requestId is a UUID; repeating a request with the same requestId does not create a second funnel.

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": {
      "name": "<name>",
      "windowHours": "<windowHours>",
      "steps": "<steps>",
      "requestId": "<requestId>",
      "projectId": "<projectId>"
    },
    "name": "funnel_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
stepsYes
projectIdYes
requestIdYes
windowHoursYes

Output Schema

NameRequiredDescriptionDefault
appUrlYes
funnelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered; the description's requestId sentence mostly restates idempotency but usefully pins it to a concrete mechanism. It omits meaningful behavior an agent would want: whether the funnel is computed retroactively against historical data, whether it goes live immediately, and whether steps can be edited later.

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?

Two tight sentences with the core purpose front-loaded and the requestId mechanics second — no filler or redundancy. The only inefficiency is that the second sentence spends its length on idempotency already implied by annotations while the more expensive gaps (step limits, preview alternative) go unmentioned.

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?

An output schema exists, so return values need no explanation, and annotations cover the mutation/idempotency profile. But for a create tool with five required parameters and a nested, constrained steps array at 0% schema coverage, the description leaves an agent guessing at structural constraints and the preview-then-create workflow.

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 0%, so the description carries the burden, and it compensates only partially: it explains requestId (UUID, dedupe) and gestures at steps ('ordered steps ... events or page paths') and windowHours ('conversion window'). It says nothing about the name constraint, that steps must number 2–10, that each step is either an event or a pageview, or the filters sub-structure with a 5-filter cap.

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?

"Saves a funnel of ordered steps, built from observed events or page paths, with a conversion window" states a specific verb (saves/creates) and resource (funnel) plus its constituent parts, so an agent knows this persists a multi-step definition rather than analyzing one. It does not name the nearest siblings (analytics_funnel_preview, funnel_update) to sharpen the boundary, so it stops short of 5.

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?

Usage is only implied: the description makes clear this is the write path for a funnel definition, which contrasts implicitly with read tools like analytics_funnels. It never says when not to use it — notably that analytics_funnel_preview exists for testing a definition before committing — and gives no prerequisite/context for choosing between them.

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