MCP: expose time to convert on get_funnel
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- analytics
Línea de trabajo
Start with packages/core/src/modules/mcp/src/tools/analytics/funnel.ts and trace how get_funnel defines its inputs and calls getFunnelCore; compare this with the report setting and funnel service mentioned in the issue. Check the existing funnel tool tests and add coverage for the optional setting and per-step durations. Done when all listed aggregation choices work, while omitting the input preserves today's output.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Funnel reports can show time to convert per step since #619 (options.timeToConvert), but the MCP tool get_funnel does not offer it. An agent or other MCP client therefore cannot answer "how long do people take from add-to-cart to checkout?".
Current behavior
packages/core/src/modules/mcp/src/tools/analytics/funnel.ts has no timeToConvert input and calls getFunnelCore without it, as of v3.26.0. The setting exists only in the report builder and the funnel service.
Proposal
Add an optional timeToConvert input to get_funnel with the same values as the report setting (off by default, average, median, min, max, 25th, 75th, 90th, 99th percentile), and return the per-step duration in the tool result. Omitting the input keeps today's output unchanged.
Why
We read OpenPanel only through MCP from our own dashboard, on the self-hosted supporter build. Going around the tool with direct ClickHouse queries would duplicate your funnel logic, so the tool is the right place for this.
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.3k
- Forks
- 552
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Openpanel-dev/openpanel
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Openpanel-dev/openpanel#694 ·
Los mantenedores suelen responder en 1 día
-
Free trial banner overlaps the AI Chat sidebarPosiblemente ocupada @VasuS609 la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Openpanel-dev/openpanel#690 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Openpanel-dev/openpanel#653 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Openpanel-dev/openpanel#610 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Updating OP without data lossAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Openpanel-dev/openpanel#682 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Openpanel-dev/openpanel
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nicobailon/pi-subagents#3425 ·
Los mantenedores suelen responder en 1 día
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea-a2a bug port python
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
strands-agents/harness-sdk#6697 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
api technical-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
opencollective/opencollective#9235 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
openwatersio/slackwater#603 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día