get_status
Retrieve the current status of an Alertmanager instance and its cluster to monitor health and operational state.
Instructions
Get current status of an Alertmanager instance and its cluster
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'get_status' tool. It is decorated with @mcp.tool, indicating registration, and implements the tool by calling make_request to retrieve the status from the Alertmanager API endpoint '/api/v2/status'.@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")