Skip to main content
Glama
TerraCo89

es-error-lens

by TerraCo89

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ES_INDEX_PATTERNNoThe index pattern to search against. Default is logs-*logs-*
ELASTICSEARCH_URLNoThe URL of the Elasticsearch cluster. Default is http://localhost:9200http://localhost:9200

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_errorsC

Search for errors in Elasticsearch logs.

get_error_patternsA

Detect recurring error patterns by aggregating similar error messages.

Groups errors by message and identifies the most common patterns — useful for separating systemic issues from one-off errors.

get_error_contextA

Get full context for an error using its trace ID (correlation ID).

Retrieves the error and all related logs sharing the same trace ID, providing complete request context for debugging.

analyze_error_trendA

Analyze error rate trends over time for a service.

Builds a time-series histogram of error counts to identify spikes, patterns, and direction of travel.

compare_errorsA

Compare two errors to find similarities and differences.

Useful for judging whether two failures are related or share a root cause.

health_checkA

Check Elasticsearch connection health.

Returns: Dictionary with: - status: "healthy" or "unhealthy" - elasticsearch_url: Configured Elasticsearch URL - cluster_info: Cluster name/version (when healthy)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/TerraCo89/es-error-lens'

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