An MCP server that provides database analysis tools for PostgreSQL, enabling schema introspection and custom SQL query execution
Three tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. All tools have descriptions (10-50 chars, below the 50-200 char baseline for LLM optimization). Input schemas present but parameters lack detailed constraints and format guidance. No error handling guidance, no output schema documentation, and no tool annotations. Naming is clear and verb-based (get_, execute_), but descriptions are too terse to guide LLM selection effectively.
Execute a custom SQL query with optional parameters (SELECT queries only).
Get the schema information for a specific table.
Get a list of all tables in the specified schema.
Descriptions are too short (10-50 chars vs. baseline 50-200 chars). 'Get a list of all tables in the specified schema' lacks context on WHEN to use this tool vs. alternatives, what it returns, and prerequisites.
No output schema documented. LLMs cannot plan downstream calls or extract fields without knowing the response structure. E.g., get_tables returns {schema, tables, count} but this is not declared in tool metadata.
execute_query parameter 'params' lacks format guidance. Description says 'Query parameters. Defaults to None.' but does not explain: array of what type? How are they bound to the query? What format (positional %s or named %(name)s)?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | 2026-07-28+ | v2 |
No error handling guidance. If a query fails, the tool returns {error: msg} but does not tell the LLM whether to retry, ask the user, or abandon. No recovery hints.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All three tools are read-only, but this is not declared in the tool metadata, LLMs must infer it from descriptions.