Skip to main content
Glama
AIops-tools

observability-aiops

expire_silence

Destructive

Delete an Alertmanager silence by ID to stop suppressed alerts from staying muted. Supports dry-run previews and optional target selection for specific Prometheus Alertmanager instances.

Instructions

[WRITE][risk=medium] Expire (delete) an Alertmanager silence by id.

Args: silence_id: The silence id (from list_silences / create_silence). dry_run: If True, preview without expiring. target: Prometheus target (its Alertmanager); omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
dry_runNo
silence_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the safety profile is partly covered. The description adds meaningful context beyond that: the [WRITE][risk=medium] rating and the dry_run preview capability, which is an important safety behavior an agent should know before deleting.

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 with the write/risk tags and the core action, followed by a compact Args block. Every line earns its place with no redundancy or filler.

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 destructive write tool with no output schema and three params, the description covers purpose and args but says nothing about the return value, failure behavior, or permissions requirements. Adequate but with a clear gap for an irreversible-style operation.

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 must carry parameter meaning and it does: silence_id (source), dry_run (preview without expiring), and target (which Alertmanager, omit for default). This covers all three parameters adequately, though it gives no id format detail.

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: 'Expire (delete) an Alertmanager silence by id', with the [WRITE][risk=medium] tag signaling the category immediately. It is clearly distinguishable from create_silence and list_silences (which it even cites as the id source), though it does not explicitly name those siblings.

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?

Tells the agent where the silence_id comes from (list_silences / create_silence) and offers dry_run as a preview path, which implies when to use it. But there is no explicit when-not guidance or statement of alternatives for a destructive operation.

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