Skip to main content
Glama

list_alertmanager_silences

Read-only

List the silences configured in the cluster's Prometheus Alertmanager (the alert-muting rules, not Ankra's own alert list - use list_alerts for those). Auto-discovers the in-cluster Alertmanager service by its operator labels; pass namespace (and service/port) only for non-standard installs. Each silence carries its id, state (active/pending/expired), matchers, time window, creator and comment. Use this before creating a silence (to avoid duplicates) and to find the id to expire. Read-only.

Input Schema

NameRequiredDescriptionDefault
portNoAlertmanager port (default 9093).
stateNoFilter by silence state (default 'active').
serviceNoAlertmanager Service name override (requires namespace). Default: auto-discover, preferring 'alertmanager-operated'.
namespaceNoNamespace to look for Alertmanager in (default: auto-discover across the cluster).
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the closing 'Read-only' is redundant. However the description adds genuine behavioral detail beyond the annotations: auto-discovery of the in-cluster Alertmanager by operator labels, preferring 'alertmanager-operated', and the exact fields each silence carries (id, state, matchers, window, creator, comment). It doesn't mention pagination or failure modes, keeping it below a 5.

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?

Four sentences, all front-loaded and purposeful, with the disambiguation placed early where it matters most. Minor waste in restating 'Read-only' against an existing readOnlyHint annotation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by enumerating the returned silence fields and the state values. Combined with the discovery behavior and the create/expire workflow pointer, an agent has enough to call this correctly without further context.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: the auto-discovery default and the rule that namespace/service/port are only needed for non-standard installs, plus the allowed state values. This is real guidance beyond the schema's field-level descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('List the silences configured in the cluster's Prometheus Alertmanager') and explicitly distinguishes itself from the similarly named sibling by name ('not Ankra's own alert list - use list_alerts for those'). Also clarifies what a silence is (alert-muting rules), removing ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use ('before creating a silence to avoid duplicates', 'to find the id to expire') and names the alternative (list_alerts). It also conditions the optional parameters: 'pass namespace (and service/port) only for non-standard installs'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources