A lean MCP server that provides LLM agents with transparent access to multiple Prometheus instances for metrics analysis and SRE operations.
The server implements 4 well-named, read-only Prometheus query tools with clear verb-starting names (query_*, list_*). All tools have descriptions and input schemas are visible and properly typed. However, there are significant gaps: output schemas are not documented, parameter descriptions lack detail about format/constraints, and error handling guidance is absent. The tools follow the single-responsibility principle (query instant vs range vs listing metrics vs listing datasources), but descriptions are terse and don't explain when to use each tool or what format values should have.
Find metrics matching a pattern or regex
Get all values for a specific label across metrics
Get all label names for a specific metric
Get metadata about a specific metric from Prometheus
List all configured Prometheus datasources
List all metrics available in a Prometheus datasource
Execute an instant PromQL query against a Prometheus datasource
No output schemas documented for any tool. LLMs cannot plan downstream tool calls or extract specific fields without knowing response structure.
Parameter format specifications are vague or embedded in prose. 'time' parameter lacks specification (seconds vs milliseconds), 'start'/'end' allow 'RFC3339 or Unix timestamp' without clarifying which to prefer, 'step' uses example text ('e.g., 30s, 1m') instead of format/pattern constraint.
Descriptions lack depth on tool selection and usage context. No guidance on when to use query_prometheus vs query_prometheus_range, what PromQL syntax is expected, or error scenarios. Descriptions are 52-105 chars, below the 194-char production baseline for similar tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 14 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 53 | - | v1 |
Execute a range PromQL query against a Prometheus datasource
No error handling or recovery guidance. When a query fails or datasource doesn't exist, LLM has no direction on what to do next (retry? check datasource name? adjust query syntax?).
No pagination or result-limit parameters on list_* tools. If a Prometheus instance has thousands of metrics, list_metrics could return massive responses with no way to constrain or paginate results.