Skip to main content
Glama
clamp-sh

Clamp Analytics MCP Server

Official

funnels.list

Read-only

List all saved funnels or retrieve a specific funnel with step-by-step counts and conversion rates recomputed for the current period. Apply cohort filters to compare segments.

Instructions

Retrieve and re-evaluate a previously created funnel against current data for the specified period. Without a name, lists all funnels saved for the project. With a name, returns the same step-by-step counts and conversion rates as funnels.create, recomputed for the requested period and any cohort filters. Cohort filters (channel, country, device_type, utm_*) let you compare conversion across segments — e.g. mobile users from the US who came via organic search.

Examples:

  • list all funnels → no params

  • "how is pricing-to-signup converting this month" → name="pricing-to-signup", period="30d"

  • "mobile conversion for onboarding" → name="onboarding", device_type="mobile"

  • "paid traffic vs organic conversion" → call twice with channel="paid" then channel="organic_search"

Limitations: returns 404 if no funnel exists by that name — call funnels.list with no name first to enumerate. Cohort filters apply at the session level, not retroactively per step. Funnel definitions are immutable after creation (re-create with a new name to change steps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoTarget project ID (e.g. "proj_abc123"). Required when the credential has access to multiple projects. If omitted and only one project is accessible, that project is used automatically. Call `projects.list` to discover available project IDs.
nameNoThe funnel name to retrieve. Omit to list all funnels for the project.
periodNoTime period. Use "today", "yesterday", "7d", "30d", "90d", or a custom range as "YYYY-MM-DD:YYYY-MM-DD" (e.g. "2026-01-01:2026-03-31"). Defaults to "30d".
pathnameNoFilter to a specific page path (e.g. "/pricing", "/blog/my-post"). Must start with /.
utm_sourceNoFilter by UTM source (e.g. "google", "twitter", "newsletter"). Case-sensitive, must match the value in the tracking URL.
utm_mediumNoFilter by UTM medium (e.g. "cpc", "email", "social"). Case-sensitive.
utm_campaignNoFilter by UTM campaign name (e.g. "spring-launch", "product-hunt"). Case-sensitive.
utm_contentNoFilter by UTM content (e.g. "hero-cta", "sidebar-banner"). Case-sensitive.
utm_termNoFilter by UTM term (e.g. "running+shoes"). Case-sensitive.
referrer_hostNoFilter by referrer hostname (e.g. "news.ycombinator.com", "twitter.com", "github.com"). Use this to see what traffic from a specific source did. Must match the value returned by `traffic.breakdown(dimension="referrer_host")` exactly (lowercase, no protocol or path).
countryNoISO 3166-1 alpha-2 country code, uppercase (e.g. "US", "GB", "DE", "NL", "JP"). Filter results to visitors from this country.
device_typeNoDevice category. One of: "desktop", "mobile", "tablet".
channelNoTraffic channel. One of: "direct", "organic_search", "organic_social", "paid", "email", "referral".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
funnelsYes
Behavior5/5

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

Annotations only provide readOnlyHint: true. The description adds significant behavioral context: that the funnel is re-evaluated against current data, that cohort filters apply at session level (not retroactively per step), that definitions are immutable, and that a 404 is returned for non-existent names. It also clarifies that recomputation occurs for the requested period, which is not obvious from annotations alone.

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?

The description is well-structured with a clear purpose statement, examples, and a limitations section. It is not overly verbose; every sentence serves a purpose. Examples are compact and illustrative. The front-loaded main functionality ensures quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (13 parameters, no required params, output schema exists), the description covers all essential aspects: main behavior with and without name, filtering capabilities, error condition (404), and immutability caveat. Since an output schema is present, the description need not detail return values. It provides enough context for an AI agent to correctly invoke the tool.

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 description coverage is 100% with detailed parameter descriptions. The description adds value by demonstrating how parameters combine in examples (e.g., pairing name with period, using device_type and channel). It also clarifies that cohort filters are optional segmentation tools. While the schema already documents each parameter, the description provides usage patterns that enhance understanding beyond isolated definitions.

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?

The description clearly states that the tool retrieves and re-evaluates funnels, distinguishing between listing all funnels (without name) and retrieving a specific funnel (with name). It explicitly differentiates from funnels.create by noting that counts and conversion rates are recomputed. The verb 'retrieve and re-evaluate' is specific and the resource is clearly 'funnel'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides detailed when-to-use guidance: omitting name lists all funnels, providing name retrieves specific funnel. It explains cohort filters for segment comparison and gives concrete examples (e.g., 'paid traffic vs organic conversion – call twice'). It also lists limitations (404 if name not found, how to enumerate, immutability of definitions). This covers both when to use and when not to use alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clamp-sh/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server