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

grafana-blind-alerts-mcp

by softenq

audit_blind_alert_rules

Audit Grafana alert rules to find broken zero-series (blind) rules and separate intentionally silent guards from orphaned or unverified rules so you can verify alerts can actually fire.

Instructions

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).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_blind_alert_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
folderNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description bears the full burden. It usefully discloses the classification outcomes it produces and the inspection cap (default 200), but says nothing about read-only safety, whether live datasources are queried (and thus latency/cost), or failure behavior on missing folders.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose in the first line, then a single clarifying sentence on the two categories, then compact parameter notes. The 'Args:' docstring formatting is slightly awkward but every line carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and both parameters are documented. However, for a scanning tool with zero annotations, the description omits cost/latency expectations and read-only confirmation, leaving an agent without a full operational picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, yet the description compensates well: it explains that folder is a case-insensitive substring matched against folderUID, and that limit caps how many rules are inspected. This adds real semantics beyond the bare 'Folder'/'Limit' schema titles, with only minor gaps (no guidance on filter interaction with the limit).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: 'Audit Grafana alert rules to find broken zero-series (blind) rules.' It further clarifies the two output buckets (zero_by_design vs orphaned_or_unverified), so an agent can tell this is a diagnostic sweep rather than a list or per-rule classifier like its siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The diagnostic intent implies when to use it (hunting silent/broken rules), but there is no explicit routing against list_grafana_alert_rules or classify_zero_series_rule, nor any stated preconditions. Usage is inferred rather than directed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.