A Model Context Protocol server for SQLite databases
Server has 6 tools with basic schemas and descriptions, but significant gaps limit production readiness. All tools have descriptions (10-60 chars, mostly short), and input schemas are present with type definitions. However, descriptions lack depth, they state WHAT but not WHEN or WHY to use each tool. Parameter descriptions are minimal (e.g., 'SQL query to execute' for execute_query). Output schemas are not documented, LLMs cannot predict response structure. Error handling returns generic error dicts without recovery guidance. No tool annotations (readOnlyHint, destructiveHint). SQL injection validation exists but is basic (keyword blacklist, not parameterized queries). Overall, the server is functional for simple use but lacks the polish and guidance expected of production tools.
Count the number of rows in a table
Get the schema of a specific table
Execute a SQL query on the SQLite database
Insert sample data into a specified table (for demo purposes)
List all tables in the SQLite database
Submit user feedback to the feedback table
Output schemas not documented. LLMs cannot predict response structure (columns, rows, error fields). Responses are unstructured dicts with inconsistent keys (e.g., 'error' vs 'row_count').
Descriptions are too short (10 - 60 chars) and lack context. They state WHAT but not WHEN to use or what the LLM should expect. E.g., 'Execute a SQL query' does not explain when to call it vs describe_table, or that it returns columns and rows.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). LLMs cannot distinguish safe reads from destructive writes without explicit hints. insert_sample_data and submit_feedback should be marked destructiveHint=true.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | <=2025-11-25 | v2 |
SQL injection validation uses keyword blacklist, not parameterized queries. Blacklist can be bypassed (e.g., 'seLeCt', comments, UNION). execute_query should use parameterized queries or reject dynamic SQL entirely.
Error responses lack recovery guidance. E.g., 'Invalid query. The query contains forbidden operations or keywords.' does not tell the LLM what to do next or which keywords are forbidden. Should return 'Invalid query: contains forbidden keyword DROP. Allowed: SELECT, WHERE, JOIN.'