analyze_query
Inspect a SQL query for dangerous operations, unindexed scans, and Cartesian join risks without executing it, helping prevent unsafe or costly database changes.
Instructions
Analyze a SQL query for dangerous operations, unindexed scans, and Cartesian join risks without executing it.
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": {
"query": "<query>"
},
"name": "analyze_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query to inspect |