Three tools with basic descriptions and Zod schemas, but significant gaps in parameter documentation, output schema clarity, and error handling guidance. Tool names follow verb_noun convention (list_*, run_*), which is good. However, parameter descriptions are minimal or missing context. The run_select_query tool lacks output schema documentation. Error messages are generic ('Error executing query') rather than actionable recovery guidance. No pagination support despite potential for large result sets. Security validation (forbidden command regex) is present but not documented in the tool description.
List all databases on the ClickHouse server
List all tables in a specified database
Run a SELECT query on the ClickHouse server. Only SELECT statements are allowed for security reasons.
run_select_query lacks output schema documentation. LLMs cannot predict the structure of returned JSON (fields, types, nesting). This forces them to guess how to parse results.
Error messages are generic ('Error executing query: <message>') and do not guide recovery. Should suggest next steps: 'Query syntax error. Check ClickHouse docs for valid SELECT syntax.' or 'Connection timeout. Retry or check server status.'
list_tables parameter 'database' is optional but defaults to env.CLICKHOUSE_DATABASE. This dependency is not documented in the parameter description, forcing LLMs to infer behavior.
run_select_query performs security validation (forbidden command regex) but does not document this in the tool description. LLMs cannot predict which queries will be rejected.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
No pagination support. If a table has millions of rows, run_select_query returns all of them, exhausting context window. Should accept LIMIT/OFFSET parameters and document result limits.