sql_readonly_review
Review MySQL and PostgreSQL SQL for read-only safety and anti-patterns, then issue a SHA-256 verifiable receipt. Avoids false flags for REPLACE() and comments.
Instructions
Static readonly safety gate & anti-pattern reviewer for MySQL/PostgreSQL SQL with SHA-256 verifiable receipt. Does not falsely flag REPLACE() or comments.
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": "sql_readonly_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL statement(s) to review. | |
| dialect | No | postgresql |