get_wait_stats
Retrieve aggregated SQL Server wait statistics to identify performance bottlenecks, with options to limit top waits and exclude idle or benign waits.
Instructions
Get aggregated wait statistics to identify performance bottlenecks
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": "get_wait_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of top waits to return | |
| server | No | SQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified. | |
| excludeIdle | No | Exclude idle and benign waits |