Intelligent log analysis for LLMs - extract patterns, redact secrets, compress 50%+
log-essence has 11 tools with consistent naming (verb_noun pattern) and present descriptions, but significant gaps in schema completeness, parameter validation guidance, and error handling documentation. All tools are READ_ONLY risk classification, reducing security concerns. However, most parameter descriptions lack format constraints, range limits, or validation guidance, forcing LLMs to guess valid input shapes. Output schemas are not documented. The server implements meaningful log analysis functionality but falls short of production-grade tool design.
Detect and analyze chains of related errors with root cause analysis
Analyze log lines with template extraction, semantic clustering, and secret redaction
Count the number of tokens in a text string using tiktoken
Detect the format of a log line or set of log lines
Extract log patterns and templates using the Drain algorithm
Extract and parse stack traces from error logs
Filter log entries by severity level
Filter log entries to only include those after a given timestamp
Missing or incomplete output schema documentation. Tools like analyze_logs, detect_log_format, and extract_patterns do not document their return structure. LLMs cannot predict downstream field names or types, forcing them to reason about unstructured responses.
Parameter validation constraints not documented in descriptions. For example, drain_sim_th (similarity threshold) lacks min/max bounds, drain_depth lacks range guidance, num_clusters lacks bounds. LLMs will hallucinate values outside valid ranges (e.g., num_clusters=10000).
redaction_mode and redact parameters accept free-form strings ('strict', 'moderate', 'minimal', 'disabled') but descriptions do not enumerate valid values as an enum. LLMs may pass invalid modes like 'aggressive' or 'light'.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 50 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 45 | - | v1 |
Redact secrets, API keys, credentials, and PII from log lines
Resolve a glob pattern to a list of file paths
Cluster log templates using semantic similarity with FastEmbed embeddings
resolve_glob_pattern has high security risk (path traversal, symlink traversal) but no input validation guidance or error handling documentation. LLMs may pass patterns like '/etc/passwd' or '../../etc/shadow' without awareness of consequences.
filter_by_time accepts 'since' parameter with flexible format ('1h', '30m', '2025-01-01T10:00:00') but parameter description does not document all accepted formats. LLMs must infer valid patterns from vague guidance.
No error handling guidance documented. Tools like extract_stack_traces, analyze_error_chains lack recovery hints (e.g., 'If no stack traces found, try analyze_logs with severity_filter=[ERROR, CRITICAL]'). LLMs cannot self-correct on empty results.