An MCP server that provides tools to execute SQL queries against a MySQL database and retrieve schema information
Single tool with minimal schema and generic description. Tool description is 56 chars, below the 194-char baseline and lacks WHEN/WHY context. No output schema documented. No error recovery guidance. Resource (schemaInfo) present but similarly underdocumented. Security concern: write operations gated only by env flags, no per-call permission checks or audit trail.
Execute a SQL query against the MySQL database
Parameter 'query' lacks description in schema. Rubric requires every parameter to have a description explaining what it controls. LLMs cannot infer that this accepts raw SQL or understand constraints (e.g., no DDL, no GRANT).
Tool description (56 chars) is generic and lacks WHEN/WHY context. Baseline is 194 chars. Does not state: What queries are safe? What does it return? When should the LLM call this vs. schemaInfo? Does not warn that write operations are restricted.
No output schema documented. LLMs cannot plan downstream calls or extract fields. Response is raw JSON rows, unstructured and potentially huge. No pagination, no result limit, no field filtering.
Error handling does not guide recovery. Generic 'Query failed: ...' message gives LLM no actionable next step. Does not distinguish retryable vs. fatal errors, does not suggest alternatives (e.g., 'Try schemaInfo to discover table names').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | 2026-07-28+ | v2 |
Write operation restrictions (INSERT/UPDATE/DELETE) enforced only via env flags, not per-call permission checks. No audit trail, no user attribution, no scope declarations. Violates least-privilege and compliance patterns.