check_performance_patterns
Analyze SQL text to detect performance anti-patterns and BSG standard violations, returning categorized results sorted by severity from CRITICAL to LOW.
Instructions
Detects SQL anti-patterns and performance bad practices against BSG standards. Returns categorized violations sorted by severity (CRITICAL > HIGH > MEDIUM > LOW).
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": {
"sql": "<sql>"
},
"name": "check_performance_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL text to analyze for performance anti-patterns | |
| context | No | Context filter: run only patterns applicable to this object type. ALL runs every pattern. | ALL |