grafana-blind-alerts-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GRAFANA_URL | Yes | The base URL of your Grafana instance, e.g. https://grafana.example.com. | |
| LAZY_METRICS | No | Comma-separated counter names that only appear on first failure/run (target labels such as job/instance are still verified when present). | |
| GRAFANA_TOKEN | Yes | A Grafana Viewer / read-only Service Account token. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_grafana_alert_rulesA | List Grafana-managed alert rules with datasource UIDs and primary queries. Args: folder: Optional case-insensitive substring to filter by folderUID. |
| audit_blind_alert_rulesA | Audit Grafana alert rules to find broken zero-series (blind) rules. Separates rules that are intentionally silent ( Args: folder: Optional case-insensitive substring to filter by folderUID. limit: Maximum number of rules to inspect (default 200). |
| classify_zero_series_ruleB | Classify a single PromQL or LogQL alert expression without threshold filters. Args: expr: Full PromQL or LogQL expression returning zero series. datasource_uid: Grafana datasource UID bound to the rule. datasource_type: Either 'prometheus' or 'loki'. |
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 3 tools
The three tools have clearly distinct scopes: listing alert rules, auditing rules in bulk, and classifying a single alert expression. The boundary between bulk auditing and single-rule classification is explicit through their arguments and descriptions.
All tools use consistent snake_case with a leading action verb: list_, audit_, and classify_. The noun phrases are readable and follow the same general verb_noun convention.
Three tools is well-scoped for a focused Grafana blind-alert auditing server. Each tool serves a distinct part of the workflow: discovery, bulk analysis, and single-expression classification.
The surface covers the core lifecycle of listing rules, auditing them for zero-series issues, and classifying individual expressions. Minor gaps exist, such as no dedicated tool for fetching a specific rule's details or datasource metadata, but these are not blocking for the stated purpose.