Skip to main content
Glama

grafana_alerts

Retrieve firing and resolved alert instances from a Grafana instance's alerting API to monitor infrastructure and troubleshoot issues.

Instructions

List currently firing or resolved alert instances from a Grafana instance's alerting API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceYesthe inventory grafana instance name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertsYes
instanceYes
timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It notes the alert states covered (firing/resolved), which is mildly useful, but says nothing about read-only safety, authentication requirements, pagination, or result limits. For a list tool with zero annotation coverage this is a notable gap.

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?

A single front-loaded sentence with no filler; the action and resource lead and the scope qualifier follows. Every clause earns its place.

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-value explanation is not required, and the lone parameter is fully documented. However, the absence of any usage guidance or behavioral caveats leaves the definition only minimally complete for an alert-retrieval tool.

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

Parameters3/5

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

Schema description coverage is 100% for the single 'instance' parameter, so the schema already documents it fully. The description adds no format, naming convention, or valid-value guidance beyond what the schema provides, making the baseline 3 appropriate.

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 ('List') and resource ('alert instances') scoped to a Grafana instance's alerting API, with the additional qualifier 'firing or resolved'. This clearly distinguishes it from siblings like grafana_dashboards, grafana_query, and grafana_annotations, though it does not explicitly name 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 Guidelines2/5

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

The description gives no indication of when to reach for this tool versus grafana_annotations or grafana_query, nor any prerequisites or filtering options. Usage is only implied by the resource name, leaving the agent to infer the context.

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