Skip to main content
Glama
lekt9

OpenReplay MCP Server

by lekt9

get_errors_issues

Retrieve and analyze application errors and issues with impact metrics and affected sessions to identify and prioritize debugging tasks.

Instructions

Get errors and issues with their impact and affected sessions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startDateNoStart date in ISO format
endDateNoEnd date in ISO format
errorTypesNoFilter by error types (js_exception, missing_resource, etc.)
minOccurrencesNoMinimum number of occurrences
groupByNoHow to group errors

Implementation Reference

  • The handler function that implements the core logic for the 'get_errors_issues' tool. Currently, it informs that JWT authentication is required.
    private async getErrorsIssues(args: any) { // Error analysis requires JWT authentication return { content: [ { type: "text", text: "Error analysis is not available via API key authentication. JWT authentication is required for this feature.", }, ], }; }
  • The input schema defining parameters for the 'get_errors_issues' tool, including date ranges, error types, occurrence thresholds, and grouping options.
    inputSchema: { type: "object", properties: { startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, errorTypes: { type: "array", items: { type: "string" }, description: "Filter by error types (js_exception, missing_resource, etc.)" }, minOccurrences: { type: "number", description: "Minimum number of occurrences" }, groupBy: { type: "string", enum: ["message", "stack", "url"], description: "How to group errors" } } }
  • src/index.ts:182-199 (registration)
    The tool registration entry in the listTools response, including name, description, and input schema.
    { name: "get_errors_issues", description: "Get errors and issues with their impact and affected sessions", inputSchema: { type: "object", properties: { startDate: { type: "string", description: "Start date in ISO format" }, endDate: { type: "string", description: "End date in ISO format" }, errorTypes: { type: "array", items: { type: "string" }, description: "Filter by error types (js_exception, missing_resource, etc.)" }, minOccurrences: { type: "number", description: "Minimum number of occurrences" }, groupBy: { type: "string", enum: ["message", "stack", "url"], description: "How to group errors" } } } },
  • The dispatcher case in the CallToolRequest handler that routes calls to the getErrorsIssues method.
    case "get_errors_issues": return await this.getErrorsIssues(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