MCP server for KDB-X that enables interaction with KDB-X using natural language. Provides tools for SQL queries, vector similarity search, hybrid search, and access to database resources and prompts.
The server provides 3 tools with reasonable structure but significant gaps in schema completeness, parameter documentation, and error handling. Tool naming follows verb_noun convention (good). Descriptions are present but vary in quality and lack depth about when/why to use each tool. Input schemas are defined but lack proper typing on some parameters and miss critical validation constraints. Output schemas are not documented. Error handling is minimal, no guidance on recovery strategies or error categorization. The server demonstrates basic functionality but falls short of production-grade quality expected for agent-facing tools.
Performs hybrid search on a KDB-X table by combining both vector and text(sparse) search.
Execute a SQL query and return structured results only to be used on kdb and not on kdbai. This function processes SQL SELECT statements to retrieve data from the underlying database. It parses the query, executes it against the data source, and returns the results in a structured format suitable for further analysis or display. Use the kdbx_sql_query_guidance resource when creating queries Supported query types: - SELECT statements with column specifications - WHERE clauses for filtering - ORDER BY for result sorting - LIMIT for result pagination - Basic aggregation functions (COUNT, SUM, AVG, etc.) For query syntax and examples, see: file://guidance/kdbx-sql-queries
Perform vector similarity search on a KDB-X table.
Missing output schema documentation for all tools. LLMs cannot plan downstream calls or extract structured data without knowing return types and fields.
kdbx_similarity_search and kdbx_hybrid_search have incomplete descriptions (under 100 chars). Missing context on WHEN to use each (similarity vs hybrid), prerequisites, and output structure. Descriptions should be 50-200 chars with LLM-actionable guidance.
Parameter 'query' in kdbx_run_sql_query lacks format/constraint guidance. Description states 'Must be a valid SQL statement' but doesn't specify: allowed SQL dialects, forbidden clauses (DROP, DELETE), statement types beyond SELECT, or length limits. LLMs will guess and pass invalid SQL.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 60 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 44 | - | v1 |
Parameter 'n' (result limit) in similarity and hybrid search tools lacks min/max constraints. Unbounded 'n' lets LLMs pass absurd values (n=999999) that could timeout or exhaust resources. Should specify range (e.g. 1-100).
No error handling or recovery guidance in tool definitions. Errors like 'table not found', 'invalid SQL', or 'AI libs disabled' (detected in server code) have no documented recovery paths. Pattern dictates that error responses must tell the LLM what to do next.
kdbx_similarity_search and kdbx_hybrid_search descriptions do not explain the difference between them or when to choose one over the other. An LLM must reason about 'vector' vs 'sparse and dense' similarity on the fly without explicit guidance.
kdbx_run_sql_query description references a resource 'file://guidance/kdbx-sql-queries' but no evidence that this resource is registered or accessible. Tool descriptions must not rely on external resources for critical guidance without confirming they exist.