Skip to main content
Glama
AIops-tools

observability-aiops

alert_noise_and_flap_analysis

Read-only

Identify noisy, duplicate, and flapping alerts by instance count, then recommend deduplication and rollup rules to reduce alert fatigue.

Instructions

[READ][analysis] Find noisy/duplicate alerts → dedup/rollup recommendation.

Args: noise_threshold: Instance count at/above which an alertname is "noisy". target: Prometheus target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
noise_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read. The '[READ]' prefix merely repeats that annotation. The description adds only that the tool produces a recommendation, without disclosing return shape, thresholds applied, or any cost/limits. Modest added value over the annotation.

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?

Front-loaded one-line purpose followed by a compact Args block; no filler sentences. The bracketed '[READ][analysis]' tag is slightly noisy but harmless.

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?

A read-only two-parameter analysis tool with no output schema needs only to explain purpose and params, which it largely does. The gap is that the advertised 'flap' dimension is never described, so an agent cannot tell whether flapping is covered by this tool or expected elsewhere.

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 description coverage is 0%, so the description carries the burden and does so: it defines noise_threshold ('instance count at/above which an alertname is noisy') and target ('Prometheus target name from config; omit for the default'). Both parameters are given clear meaning not present in the bare 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?

States a specific verb ('Find noisy/duplicate alerts') and a concrete outcome ('dedup/rollup recommendation'), which distinguishes it from generic alert tools like firing_alerts. However, the tool name advertises 'flap' analysis while the description never mentions flapping, so the stated scope is narrower than the name implies.

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?

No guidance on when to reach for this versus siblings such as firing_alert_rca or alert_log_context. The agent must infer from the name alone that this is the post-noise triage/dedup tool, and there is no statement of prerequisites or when it is inappropriate.

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