get_wait_stats
Identify SQL Server performance bottlenecks by retrieving top wait statistics for CPU, I/O, locks, and more.
Instructions
Get top server wait statistics — identifies performance bottlenecks (CPU, I/O, locks, etc.)
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 wait types to return (default: 20) | |
| server | No | Target server name (uses default if omitted) |