LogLens
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGLENS_LOG_DIR | Yes | Directory containing the JSON Lines (.jsonl) log files that LogLens may read. Paths that leave this directory are rejected. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for troubleshooting from service logs (test runner, driver, game build, telemetry). Start with list_runs, use error_summary for one run, find_regressions to compare a candidate run with a known-good baseline, and correlate_errors to see what happens around a specific error. Quote the numbers the tools return; do not estimate counts yourself.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_runsB | List the test runs in the logs with line, warning and error counts. |
| search_logsB | Find log lines by run, service, minimum level, text and time range (ISO 8601). |
| error_summaryB | Group errors by message signature (numbers and ids removed), most frequent first. |
| find_regressionsC | Compare a candidate run with a baseline: new, more frequent and resolved problems. |
| correlate_errorsB | Show which warnings and errors of other services appear around an error. before_share close to 1 means the problem usually comes first: a candidate cause. Close to 0 means it follows: more likely a consequence. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct log-analysis action: listing runs, searching lines, grouping errors, comparing runs, and correlating errors across services. The boundaries are clear, and even the potential overlap between search_logs and error_summary is resolved by their different aggregation levels.
Four of the five tools follow a clear verb_noun pattern (list_runs, search_logs, find_regressions, correlate_errors). error_summary is a noun phrase rather than verb_noun, but it remains readable and predictable.
Five tools is well-scoped for a log diagnostics server, covering discovery, search, aggregation, regression comparison, and correlation. Each tool earns its place without redundancy.
The surface covers the main log-analysis workflows: run listing, filtered search, error grouping, regression comparison, and cross-service correlation. Minor gaps like a dedicated service inventory or run-detail endpoint exist, but agents can work around them with the provided filters.