Send Structured Ops Alert (Slack)
send_ops_alertDispatches structured Slack operational alerts with severity badges, KPI fields, runbook links, and retry handling to notify teams about incidents and pipeline issues.
Instructions
Dispatches structured Slack Block Kit operational alerts with severity badges, KPI fields, runbook links, and exponential-backoff retry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"message": "<message>"
},
"name": "send_ops_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short alert headline. | |
| dryRun | No | When true, returns the formatted Slack Block Kit payload without sending. | |
| message | Yes | Detailed diagnostic or operational summary. | |
| metrics | No | Optional compact key-value metrics displayed as structured Slack fields. | |
| service | No | Originating service, workflow, or pipeline name. | mcp-ops-toolkit |
| severity | No | Operational severity level mapped to Slack Block Kit visual cues. | info |
| actionUrl | No | Optional runbook, dashboard, or workflow execution URL. | |
| dedupeKey | No | Optional deduplication/correlation key shown in the alert footer. | |
| environment | No | Target runtime environment. | production |
| webhookEnvVar | No | Environment variable storing the Slack Incoming Webhook URL. | SLACK_WEBHOOK_URL |