Skip to main content
Glama
Prometheus MCP Server

Prometheus MCP Server

by Elad-Health

get_recording_rules

Retrieve all recording rules and their current states, with optional filtering by rule group, to inspect pre-computed Prometheus queries.

Instructions

Get all recording rules (pre-computed queries) and their current states

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

Input Schema

NameRequiredDescriptionDefault
groupNoFilter by rule group name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 of behavioral disclosure. "Get" implies a safe read, and "their current states" hints at the return content, but nothing is said about permissions, pagination, rate limits, or result size — all of which matter for a list endpoint.

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 parenthetical gloss is the only elaboration and it earns its place by defining a domain term.

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 read-only list tool with one optional, fully documented parameter and no output schema, the description covers the core purpose. However, with no annotations and no output schema, the description should have said more about what "states" means in the response and whether results are filtered or complete.

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?

There is a single optional parameter (group) whose schema has 100% description coverage, so the schema already explains the filter. The description adds no extra meaning about filter syntax, matching semantics, or what happens when the filter is omitted.

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 ("Get all recording rules") and adds a gloss explaining what recording rules are ("pre-computed queries"). It does not distinguish itself from the sibling get_alert_rules, which is a near-identical parallel tool, so it falls short of a 5.

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 phrase "Get all" implies a full-list retrieval, and the optional group filter is implied by the schema rather than the text. There is no explicit when-to-use guidance and no mention of when a different tool (e.g. get_alert_rules for alerts) would be the better choice.

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