Skip to main content
Glama
Prometheus MCP Server

Prometheus MCP Server

by Elad-Health

list_alerts

List currently firing or pending Prometheus alerts, optionally filtered by state, to monitor active incidents and alert status.

Instructions

List all currently firing or pending alerts

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_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoFilter by alert stateall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 behavioral burden. It communicates that results are current alerts and not history, but says nothing about permissions, pagination, result size, or what 'all' actually includes.

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?

The description is a single front-loaded sentence with no redundant wording. Its brevity is appropriate for a simple list operation, though it leaves some ambiguity around the 'all' state.

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?

For a simple one-parameter read operation with full schema coverage, the description is adequate but not complete. It does not resolve what 'all' means in relation to 'currently firing or pending', nor does it mention result behavior such as ordering or pagination.

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?

The schema fully documents the single state parameter with an enum and default. The description indicates firing and pending states but does not clarify the schema's 'all' option, so it adds little semantic value beyond the schema.

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?

The description states a specific verb and resource: listing alerts. It also scopes the result to currently firing or pending alerts, which distinguishes it from historical or rule-management siblings such as get_alert_history and get_alert_rules.

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 phrase 'currently firing or pending' implies a use case for active alert inspection, but there is no explicit when-to-use guidance and no alternatives are named. An agent must infer that this is not for history or alert rules.

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