Skip to main content
Glama
lekt9

OpenReplay MCP Server

by lekt9

get_funnel_analysis

Analyze user funnels and conversion paths to understand user behavior patterns and identify drop-off points in user journeys.

Instructions

Analyze user funnels and conversion paths

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYesFunnel steps in order
startDateNoStart date in ISO format
endDateNoEnd date in ISO format
filtersNoAdditional filters

Implementation Reference

  • The private async getFunnelAnalysis method that executes the tool logic for get_funnel_analysis. It currently returns a message stating that full implementation requires JWT authentication.
    private async getFunnelAnalysis(args: any) { // Funnel analysis requires JWT authentication return { content: [ { type: "text", text: "Funnel analysis is not available via API key authentication. JWT authentication is required for this feature.", }, ], };
  • Input schema defining the parameters for the get_funnel_analysis tool: steps (array of funnel steps), optional startDate, endDate, and filters.
    inputSchema: { type: "object", properties: { steps: { type: "array", description: "Funnel steps in order", items: { type: "object", properties: { name: { type: "string", description: "Step name" }, eventType: { type: "string", description: "Event type (LOCATION, CLICK, CUSTOM)" }, eventValue: { type: "string", description: "Event value to match" } } } }, startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, filters: { type: "array", description: "Additional filters" } }, required: ["steps"]
  • src/index.ts:200-224 (registration)
    Registration of the get_funnel_analysis tool in the list_tools handler, including name, description, and input schema.
    { name: "get_funnel_analysis", description: "Analyze user funnels and conversion paths", inputSchema: { type: "object", properties: { steps: { type: "array", description: "Funnel steps in order", items: { type: "object", properties: { name: { type: "string", description: "Step name" }, eventType: { type: "string", description: "Event type (LOCATION, CLICK, CUSTOM)" }, eventValue: { type: "string", description: "Event value to match" } } } }, startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, filters: { type: "array", description: "Additional filters" } }, required: ["steps"] } },
  • src/index.ts:290-291 (registration)
    Dispatch case in the CallToolRequest handler that routes calls to the getFunnelAnalysis method.
    case "get_funnel_analysis": return await this.getFunnelAnalysis(args);

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/lekt9/openreplay-mcp'

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