explain_sql
Translate SQL statements into plain English to understand what a query does before deciding whether to run it. Supports Postgres, MySQL, and SQLite dialects.
Instructions
Explain a SQL statement in plain English. No verdict, no judgment — for understanding what a query does before deciding whether to run 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": {
"sql": "<sql>"
},
"name": "explain_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL statement to check. | |
| dialect | No | SQL dialect used to parse the statement. | postgres |