An MCP server that provides tools for querying and exploring data from xBase (and other SQL-accessible databases) through JDBC
This MCP server provides 3 SQL query tools for xbase databases with basic descriptions and partial schemas. Tool naming follows verb_noun convention (get_*, run_*), which is correct. However, schema documentation is incomplete, parameter descriptions exist but output schemas are undocumented. All tools return CSV format results, but the actual structure of those results is never formally specified. Error handling is minimal (generic RuntimeException thrown). The server does not validate inputs or guide LLM recovery. Description length is reasonable (120-180 chars per tool), but parameter descriptions are very terse (5-30 chars). No tool demonstrates idempotency markers, rate limiting guidance, or security scope declarations. This is a functional but minimally polished implementation typical of community database connectors.
Retrieves a list of fields, dimensions, or measures (as columns) for an object, entity or collection (table). Use the `xbase_get_tables` tool to get a list of available tables. The output of the tool will be returned in CSV format, with the first line containing column headers.
Retrieves a list of objects, entities, collections, etc. (as tables) available in the data source. Use the `xbase_get_columns` tool to list available columns on a table. Both `catalog` and `schema` are optional parameters. The output of the tool will be returned in CSV format, with the first line containing column headers.
Execute a SQL SELECT statement.
Output schemas completely undocumented. All tools return CSV format text, but the column structure, field names, data types, and row count are never formally specified. LLMs cannot reason about results or plan downstream tool calls without knowing the output shape.
Parameter descriptions are extremely terse (1-6 words each). 'The catalog name', 'The schema name', 'The table name' provide minimal context. LLMs cannot infer whether these are required vs optional, what format to use, how to obtain them, or what happens if they are null/empty. Descriptions should be 50-150 characters explaining intent and constraints.
No error recovery guidance. RunQueryTool throws generic 'RuntimeException("ERROR: " + ex.getMessage())' with no categorization (retryable vs fatal) or actionable next steps. If a SQL syntax error occurs, the LLM receives no hint to call get_tables/get_columns first to discover valid identifiers.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 51 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 49 | - | v1 |
Parameter validation is absent. The SQL tool accepts arbitrary SELECT statements with no validation of keywords, injection attacks, or query complexity. If an LLM passes a DELETE or UPDATE statement, or a cartesian product that locks the database, the server will attempt execution with no guards.
No limits on result size. The CSV output could be arbitrarily large if a table has millions of rows or a query returns thousands of columns. No pagination (limit/offset) or result caps are enforced, risking context window overflow and degraded LLM reasoning.
Inconsistent optional parameter handling. xbase_get_tables marks catalog/schema as optional (not in required() list), but xbase_get_columns requires 'table' while catalog/schema are optional. The tool descriptions do not clearly state which params are mandatory and what defaults apply if omitted.
Tool descriptions mention SQL dialect and supported clauses (FROM, INNER JOIN, GROUP BY, etc.) but do not state what is NOT supported or what error the LLM should expect if an unsupported clause is used. Incomplete feature documentation forces trial-and-error.