Get SQL Agent Alerts Health
mssql_agent_alertsChecks SQL Agent alerts for corruption errors and high severities, verifies enabled operators receive them, and lists alerts and operators; flags missing corruption alerts as critical.
Instructions
SQL Agent alerts: checks alerts for corruption errors 823/824/825 and severities 19-25 and whether an enabled operator gets them, and lists all alerts and operators. Missing corruption alerts become CRITICAL when msdb.dbo.suspect_pages has rows. Not available on Azure SQL Database.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mssql_agent_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||