Skip to main content
Glama
AIops-tools

observability-aiops

rule_health

Read-only

Summarize Prometheus rule-evaluation health and list erroring rules for the default or a specified target.

Instructions

[READ] Rule-evaluation health summary + the list of erroring rules.

Args: target: Prometheus target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds value by disclosing what the call returns (a health summary and the erroring rules), but it says nothing about auth, scope of evaluation, or limits beyond that.

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?

Two tight lines: the [READ] marker and purpose are front-loaded, followed by a single documented argument. Every sentence earns its place with no padding.

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?

For a one-optional-parameter read tool with no output schema, the description covers purpose, the single argument, and the shape of the return value. Minor gaps remain around scope and error behavior, but nothing essential to invoking it correctly is missing.

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 carry the parameter meaning, and it does: 'target: Prometheus target name from config; omit for the default.' The implicit default behavior is clarified, though no format or example values are provided.

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: 'Rule-evaluation health summary' plus 'the list of erroring rules.' This distinguishes it from the plain list_rules and datasource_health siblings. It does not, however, explicitly name a sibling to route against, keeping it just 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 Guidelines2/5

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

The [READ] tag implies a read-only operation, but there is no explicit when-to-use versus alternatives such as list_rules or prometheus_config_status. No prerequisites or conditions for calling it are given.

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