Skip to main content
Glama
lekt9

OpenReplay MCP Server

by lekt9

get_session_details

Retrieve comprehensive session data including events, errors, network requests, console logs, custom events, and performance metrics using a session ID for detailed analysis.

Instructions

Get detailed information about a specific session including all events, errors, network requests, console logs, custom events, and performance metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe session ID to retrieve

Implementation Reference

  • The core handler function executing the tool's logic: extracts sessionId from input arguments and returns content indicating current API limitations for full session details.
    private async getSessionDetails(args: any) { const { sessionId } = args; // Session replay details not available via v1 API // Only events are available return { content: [ { type: "text", text: "Session replay details are not available via API key authentication. Use get_session_events instead or use JWT authentication for full access.", }, ], }; }
  • Input schema validation for the tool, defining sessionId as a required string parameter.
    inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "The session ID to retrieve" } }, required: ["sessionId"] }
  • src/index.ts:110-120 (registration)
    Tool metadata registration in the ListTools handler, providing name, description, and schema advertised to clients.
    { name: "get_session_details", description: "Get detailed information about a specific session including all events, errors, network requests, console logs, custom events, and performance metrics", inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "The session ID to retrieve" } }, required: ["sessionId"] } },
  • src/index.ts:280-281 (registration)
    Dispatch registration in the CallToolRequestHandler switch statement, routing calls to the handler method.
    case "get_session_details": return await this.getSessionDetails(args);

Other Tools

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

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