MCP server for Jaeger distributed tracing — search traces, inspect spans, compare traces, compute span statistics, map service dependencies, predict performance issues, forecast capacity needs, and correlate/diff/profile test runs by tag.
jaeger-mcp demonstrates solid definition quality with comprehensive descriptions, proper parameter typing, and structured output annotations. All 15 tools have substantive descriptions (100 - 250+ characters) that explain purpose, inputs, and when to use them. Parameter schemas are present and mostly well-typed with constraints (minLength, maxLength, pattern, min/max for numbers). Tool annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) are correctly applied. However, several tools lack clear enum constraints where they would improve LLM decision-making, and some newer predictive/QA tools (tools 11 - 15) have placeholder implementations that weaken reliability claims. Output schemas are not explicitly documented in code, the rubric requires visible schema definitions, and while the tool descriptions hint at structure, absence of visible JSON Schema output documentation limits scoring.
Structural diff between two Jaeger traces. Use this when you have two trace IDs (baseline and current) and want to understand what changed: which spans appeared, disappeared, or slowed down. Outputs a list of ``SpanChange`` objects sorted by latency delta descending. Each ``SpanChange`` includes operation name, service, parent span, latency in both traces, and a change classification (``appeared`` | ``removed`` | ``slower`` | ``faster`` | ``similar``).
Aggregate diff between two time windows. Compares per-operation latency and error rates between a baseline window and a comparison window (usually now). Each operation is classified as ``regressed``, ``recovered``, ``appeared``, or ``removed``. Results are sorted by severity score (0–100) descending. Useful for spotting performance regressions after a deploy or config change. Pass ``start`` and ``end`` in microseconds UTC.
Find the longest-duration chain of spans (critical path) for a trace. Returns the path from root to leaf with the highest cumulative latency, plus a ranked list of bottleneck spans (sorted by latency descending). Useful for identifying which parts of a trace are slowing it down most. Input is a trace ID; output is a list of spans (critical path) plus bottleneck rankings.
Detect latency and error anomalies using z-score analysis. Compares recent trace metrics (latency, error rate) against a baseline using z-score thresholding. Returns a list of operations classified as ``latency_anomaly``, ``error_anomaly``, or ``normal``, sorted by severity descending. Useful for unsupervised outlier detection without having to manually specify thresholds. Pass ``baseline_hours`` (how far back to compute stats) and ``recent_hours`` (window to analyze).
Output schemas not explicitly documented. Tool descriptions mention what is returned (e.g., 'SpanChange objects', 'trace summaries'), but JSON Schema definitions for responses are not visible in source code. Rubric requires visible output schema documentation so LLMs can parse and chain results correctly.
Predictive tools (jaeger_predict_degradation, jaeger_forecast_capacity) have placeholder implementations. Source code shows critical functions ('predict_performance_degradation', 'forecast_service_capacity') called but not defined; parameters are passed to unimplemented forecasting modules. These tools will fail at runtime, breaking user trust and agent planning.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Find Jaeger traces matching the supplied tag query. Accepts any tag key-value schema (Allure, pytest, custom) without normalization. When service is omitted, searches all known services concurrently (capped at 20). Results are sorted newest-first.
Forecast future throughput demands and resource requirements for a service. Provides predictions for the next 7-30 days with confidence intervals to enable infrastructure scaling decisions.
Retrieve the service-to-service dependency graph (call graph). Wraps ``GET /api/dependencies``. Returns edges with metric aggregates (call count, error count, latency percentiles) over a time window. Use ``start`` and ``end`` (microseconds UTC) to set the window; defaults to last 24 hours. Results are keyed by ``(parent, child)`` service pair and sorted by call count descending. Useful for understanding the critical path and spotting error hotspots.
Retrieve a single Jaeger trace by ID. Wraps ``GET /api/traces/{traceID}``. Returns the full trace with all spans in a hierarchical tree keyed by ``spanID``. Spans are decorated with parsed tags (JSON values decoded), error markers, and duration. Use ``jaeger_search_traces`` to find trace IDs first. Note: large traces (100+ spans) may be slow to render. See ``limit`` to cap span output.
List all operation names Jaeger has seen for a given service. Wraps ``GET /api/services/{service}/operations``. Useful for discovering which operation names to pass as filters to ``jaeger_search_traces``. Output is capped at 500 operations.
List all services that Jaeger has observed traces for. Wraps ``GET /api/services``. Jaeger returns all services at once — no pagination. Output is capped at 500 services with a truncation hint. Use this first to discover valid service names before calling ``jaeger_list_operations`` or ``jaeger_search_traces``.
Predict potential performance degradation events for a service. Analyzes historical trace data patterns, critical path trends, and anomaly detection results to forecast likely performance issues 2-24 hours in advance.
Compare two Jaeger time windows and classify per-operation regressions. Fetches traces from the baseline and comparison windows, then classifies each operation as regressed, recovered, appeared, or removed. Results are sorted by severity score (0-100) descending for easy triage.
Search Jaeger traces with rich filters and return summaries. Wraps ``GET /api/traces``. Supports filtering by service, operation, tags (JSON format), time range (microseconds UTC), and duration bounds (e.g. '100ms', '1.5s'). Sorted newest-first by default; set ``sort_descending=false`` to reverse. Limit is 1–5000 traces per call. Returns trace summaries (ID, root operation, duration, span/error counts) with an optional text tree of root-to-leaf spans for context. Note: tags is a JSON string (e.g. '{"error": "true"}'). Use ``jaeger_list_operations`` to discover valid operation names.
Per-operation latency and error statistics. Wraps ``GET /api/services/{service}/operations`` statistics. Aggregates latency (p50/p95/p99/max/avg), error rate, and call count for each operation within a service over a given time window. Results are sorted by call count descending. Use this to identify slow or error-prone operations without inspecting individual traces.
Aggregate per-operation latency hotspots across all traces matching the supplied tag query. Operations are ranked by total wall time descending so the most expensive appear first.
QA tools (jaeger_find_test_traces, jaeger_regression_diff, jaeger_test_profile) source code is truncated ('from __future__ import annotat...'). Cannot verify full implementation, schema completeness, or error handling.
Missing enum constraints. Parameters like 'sort_descending' (jaeger_search_traces) is a boolean with default, clear. But tools like jaeger_compare_traces with 'min_delta_us' and z_score_threshold (jaeger_detect_anomalies) lack guidance on typical/safe ranges. Adding enums or explicit validation ranges (e.g., 'z_score_threshold: 1.0 - 5.0 recommended, default 2.0') would help LLMs avoid invalid values.
Error handling descriptions are minimal. Tools state they wrap Jaeger APIs but do not document failure modes: What if Jaeger is unreachable? What if a trace ID does not exist? How should agents retry? Only jaeger_search_traces mentions a note about large traces being slow, others lack recovery guidance.