Skip to main content
Glama
lekt9

OpenReplay MCP Server

by lekt9

get_funnel_analysis

Analyze user funnels and conversion paths to understand behavior patterns. Input steps, dates, and filters to track event-based user journeys and improve conversion insights.

Instructions

Analyze user funnels and conversion paths

Input Schema

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

Implementation Reference

  • The handler function executing 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 (JSON Schema) for the 'get_funnel_analysis' tool, defining parameters like steps, date range, 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 ListTools response, 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 in the CallToolRequest handler that calls the getFunnelAnalysis method for this tool.
    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