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

grafana-blind-alerts-mcp

by softenq

list_grafana_alert_rules

Lists Grafana-managed alert rules with datasource UIDs and primary queries, optionally filtered by folder, to audit alerting coverage and spot silent blind spots.

Instructions

List Grafana-managed alert rules with datasource UIDs and primary queries.

Args: folder: Optional case-insensitive substring to filter by folderUID.

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": "list_grafana_alert_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations, so the description carries the full load. 'List' implies a safe read and the description usefully discloses the payload contents (datasource UIDs, primary queries), but says nothing about pagination, result caps, or whether evaluation state is included.

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?

One front-loaded sentence establishing what is listed and what is returned, followed by a short Args block for the single parameter. No redundant restatement of the tool name or filler.

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?

With an output schema present, return-value detail is unnecessary, and the description covers scope and the one parameter. Gaps remain around result size, ordering, and how the folder filter interacts with nested folder paths for a list tool of this kind.

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%, so the description must compensate, and it does: it clarifies that 'folder' is actually matched as a case-insensitive substring against folderUID — meaning not carried by the bare schema property name. It stops short of stating behavior when omitted (any folder) or whether it matches display name too.

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

Purpose4/5

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

States a specific verb and resource ('List Grafana-managed alert rules') and adds what the records carry ('datasource UIDs and primary queries'). The 'Grafana-managed' qualifier scopes it against other alert-rule types, though it never names a sibling tool as an alternative.

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?

Implied usage only: the 'Grafana-managed' qualifier signals that other alert rule types are not returned, and the folder arg hints at scoping, but there is no explicit when-to-use/when-not or pointer to the audit/classify siblings.

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