es-error-lens
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ES_INDEX_PATTERN | No | The index pattern to search against. Default is logs-* | logs-* |
| ELASTICSEARCH_URL | No | The URL of the Elasticsearch cluster. Default is http://localhost:9200 | http://localhost:9200 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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