Skip to main content
Glama

Update a funnel

update_funnel
DestructiveIdempotent

Renames a saved funnel or replaces its steps. Send only what changes. Reports use the new steps at once. Requires the write 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": {
      "funnel_id": "<funnel_id>"
    },
    "name": "update_funnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
stepsNo1–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
funnel_idYesID from list_funnels.
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

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is provided structurally. The description adds real context beyond that: 'Reports use the new steps at once' discloses the immediate downstream effect, and 'Requires the write scope' discloses an auth prerequisite. What it does not say is what happens to historical funnel data when steps are replaced, which is the main remaining behavioral gap for a destructive mutation.

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?

Four short sentences, front-loaded with the action, then the calling convention, then the side effect, then the auth requirement. No filler and nothing repeated from the title.

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 four-parameter destructive mutation with no output schema, the definition covers purpose, partial-update semantics, immediate side effect and auth scope. It is slightly short on the consequences of replacing steps and on the role of website_id, but an agent has enough to invoke it correctly.

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 coverage is 75%, so the schema already documents funnel_id, name and the detailed step syntax. The description maps its verbs to the name and steps fields at a high level but adds no format or constraint detail, and website_id is entirely unmentioned in the description. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

States a specific verb pair and resource: 'Renames a saved funnel or replaces its steps', which makes clear it is a partial-update tool on an existing funnel. It separates itself reasonably from create_funnel by the word 'saved', though it never names the creation sibling explicitly.

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?

'Send only what changes' implies this is a partial update and that omitted fields are left alone, which is genuine usage guidance for the caller. However, there is no explicit when-to-use vs. when-not-to-use, no statement of prerequisites beyond the scope, and no guidance on when to reach for create_funnel or a delete path instead.

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