Skip to main content
Glama
grafana-blind-alerts-mcp

grafana-blind-alerts-mcp

by softenq

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAFANA_URLYesThe base URL of your Grafana instance, e.g. https://grafana.example.com.
LAZY_METRICSNoComma-separated counter names that only appear on first failure/run (target labels such as job/instance are still verified when present).
GRAFANA_TOKENYesA 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 (zero_by_design, e.g. absent() guards or live threshold filters) from broken rules whose underlying metric or target no longer exists (orphaned_or_unverified).

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues