Skip to main content
Glama
ntk148v

alertmanager-mcp-server

delete_silence

Remove a specific alert silence by its ID to restore notifications in Alertmanager.

Instructions

Delete a silence by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
silence_idYes

Implementation Reference

  • The delete_silence tool handler: an async function that deletes a silence by ID via DELETE request to Alertmanager API /api/v2/silences/{silence_id}, using make_request helper.
    @mcp.tool(description="Delete a silence by its ID") async def delete_silence(silence_id: str): """Delete a silence by its ID Parameters ---------- silence_id : str The ID of the silence to be deleted. Returns ------- dict: The response from the Alertmanager API. """ return make_request( method="DELETE", route=url_join("/api/v2/silences/", silence_id) )
  • MCP tool registration decorator for delete_silence.
    @mcp.tool(description="Delete a silence by its ID")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ntk148v/alertmanager-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server