get_status
Check the current operational status and cluster health of an Alertmanager instance to monitor alerting system availability.
Instructions
Get current status of an Alertmanager instance and its cluster
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The get_status tool handler, decorated with @mcp.tool for automatic registration in FastMCP. It fetches the Alertmanager status by making a GET request to /api/v2/status via the shared make_request helper.@mcp.tool(description="Get current status of an Alertmanager instance and its cluster") async def get_status(): """Get current status of an Alertmanager instance and its cluster Returns ------- dict: The response from the Alertmanager API. This is a dictionary containing the response data. """ return make_request(method="GET", route="/api/v2/status")