Skip to main content
Glama
lukleh

mcp-read-only-grafana

by lukleh

list_alerts

List Grafana alert rules to monitor their status, optionally filtering by folder UID for targeted checks.

Instructions

List alert rules, optionally filtered by folder.

Args: connection_name: Name of the Grafana connection folder_uid: Optional folder UID to filter alerts

Returns: JSON string with list of alert rules and their status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_uidNo
connection_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden of disclosing behavior. It accurately implies a read-only list operation and states the return format ('JSON string with list of alert rules and their status'), but it does not mention pagination, sorting, or potential edge cases. It is adequate but not fully transparent.

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

Conciseness5/5

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

The description is extremely concise, with two short sentences and no redundant or filler content. Every phrase contributes useful information about the tool's behavior or parameters.

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

Completeness4/5

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

The description covers the core action, the optional filter, and the return type. Given that an output schema exists, it does not need to specify every output field. It lacks a small amount of context around default behavior (e.g., whether all alert rules are returned when folder_uid is omitted) but is generally complete for a simple list operation.

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?

The description explains both parameters: connection_name as 'Name of the Grafana connection' and folder_uid as 'Optional folder UID to filter alerts.' This adds meaningful context beyond the bare parameter names in the schema, though it could provide more detail on how to obtain the UID or what 'filter' means exactly.

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?

The description clearly states the tool's purpose: 'List alert rules, optionally filtered by folder.' It names the resource and the optional filtering behavior, leaving no ambiguity about what the tool does.

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

Usage Guidelines2/5

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

The description does not indicate when to prefer this tool over related siblings such as get_alert_rules_with_state, get_firing_alerts, or get_alert_rule_by_uid. It mentions filtering by folder, but gives no guidance on selection criteria or use cases.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lukleh/mcp-read-only-grafana'

If you have feedback or need assistance with the MCP directory API, please join our Discord server