Skip to main content
Glama

OpenReplay MCP Server

by lekt9

aggregate_sessions

Analyze user session data by specifying metrics like count, avg_duration, error_rate, and grouping by hour, day, browser, or country. Use filters and date ranges to extract insights from session analytics.

Instructions

Aggregate session data with various metrics and groupings

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date in ISO format
filtersNoSame filter format as search_sessions
groupByNoFields to group by
metricsYesMetrics to calculate
startDateNoStart date in ISO format

Input Schema (JSON Schema)

{ "properties": { "endDate": { "description": "End date in ISO format", "type": "string" }, "filters": { "description": "Same filter format as search_sessions", "type": "array" }, "groupBy": { "description": "Fields to group by", "items": { "enum": [ "hour", "day", "week", "browser", "device", "country", "page", "error_type" ], "type": "string" }, "type": "array" }, "metrics": { "description": "Metrics to calculate", "items": { "enum": [ "count", "avg_duration", "error_rate", "bounce_rate", "unique_users", "page_views" ], "type": "string" }, "type": "array" }, "startDate": { "description": "Start date in ISO format", "type": "string" } }, "required": [ "metrics" ], "type": "object" }

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