Model Context Protocol (MCP) server for SQLite to run SQL queries via stdio (read-only by default)
Server provides 6 tools with basic schemas and descriptions, but significant gaps limit production readiness. All tools have input schemas with type and description, meeting minimum requirements. However, descriptions are functional but lack LLM-optimization guidance (e.g., no 'when to use' context, no recovery hints). Output schemas are undocumented, LLMs cannot predict response structure. Error handling is minimal; tools reject operations via config flags but provide no actionable recovery guidance. Security descriptions warn against bypass attempts but lack formal permission-gate patterns. Tool composition is sound (each does one thing), but parameter descriptions could be more explicit about constraints and formats.
Database connection failed: {error message}. Verify the database is running and credentials in .env are correct, then reload this MCP server.
Modify the SQLite database schema using CREATE, ALTER, DROP, or VACUUM. Only a single query is allowed. If the operation is rejected as not allowed, you must respect this safety restriction and do not attempt to bypass it via terminal commands, custom scripts, or external tools.
Delete data from the SQLite database using DELETE. Only a single query is allowed. If the operation is rejected as not allowed, you must respect this safety restriction and do not attempt to bypass it via terminal commands, custom scripts, or external tools.
Insert new data into the SQLite database using INSERT or REPLACE. Only a single query is allowed. If the operation is rejected as not allowed, you must respect this safety restriction and do not attempt to bypass it via terminal commands, custom scripts, or external tools.
Read data from the SQLite database using SELECT, PRAGMA, or EXPLAIN. Only a single query is allowed.
connection_status tool lacks input schema and is not a real tool, it's a fallback error surface registered only on connection failure. No parameters defined, making it non-functional as a composable tool.
Output schemas are completely undocumented. LLMs cannot predict what fields sqlite_select, sqlite_insert, etc. return, forcing them to guess or make wasteful discovery calls. Baseline: 100% of A+ tools document return types.
Descriptions lack LLM-optimization guidance. No 'when to use' context, no dependency hints (e.g., 'Call sqlite_select first to inspect schema'), no recovery guidance. Baseline: descriptions should answer WHAT, WHEN, and WHAT IT RETURNS.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | 2025-06-18+ | v2 |
Update existing data in the SQLite database using UPDATE. Only a single query is allowed. If the operation is rejected as not allowed, you must respect this safety restriction and do not attempt to bypass it via terminal commands, custom scripts, or external tools.
Error handling is minimal. Tools reject operations via config flags (ALLOW_INSERT_OPERATION, etc.) but provide no actionable error messages. When a write is rejected, the LLM receives no guidance on what to do next (ask user? try read-only? check permissions?).
SQL parameter description is generic. No explicit mention of maxLength constraint (100000 chars), no guidance on query complexity limits, no mention of SQLITE_MAX_ROWS config affecting result size. Baseline: parameter descriptions should state format, range, and constraints explicitly.