Model Context Protocol server for Confluence data sources using JDBC connectivity. Provides tools for querying database tables, retrieving columns, and executing SQL queries.
The server defines 3 tools with basic schemas and descriptions, but lacks critical LLM-optimization patterns. Tool names follow verb_noun convention (get_tables, get_columns, run_query), which is good. However, descriptions are generic and miss context about dependencies, prerequisites, and when to use each tool. Schemas are present but incomplete, parameters lack minimum/maximum bounds, enums where appropriate, and detailed format constraints. Output format (CSV) is mentioned but not formally documented in structured response schemas. Error handling is minimal; the code shows exceptions converted to RuntimeException with basic messages rather than recovery guidance. No pagination support despite mentioning CSV output which could be large. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being READ_ONLY. The run_query tool accepts arbitrary SQL, which is a security and usability concern, no input validation or injection protection visible.
Retrieves a list of fields, dimensions, or measures (as columns) for an object, entity or collection (table). Use the `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 `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.
Tool descriptions lack LLM-optimization guidance. Descriptions do not explain WHEN to use each tool or how tools relate. Example: get_tables description mentions get_columns but doesn't state 'call get_tables first to discover available tables.' get_columns mentions get_tables but doesn't guide the agent on dependency order. This forces LLMs to infer sequencing, increasing wrong-tool-selection risk.
Parameters lack type constraints and format guidance. catalog and schema parameters have no min/max length, no enum, no format spec. The table parameter in get_columns has no guidance on how to obtain valid table names or whether wildcards are allowed. SQL parameter in run_query has no validation hint, length limit, or injection protection warning.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 46 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 34 | - | v1 |
Output schemas are not formally documented. Code shows CSV format is returned (CsvUtils.resultSetToCsv), but the tool definitions do not declare output structure in CallToolResult. LLMs cannot reliably parse CSV without a documented schema. No field list, no column order guarantee, no NULL handling guidance.
run_query accepts arbitrary SQL with minimal validation. Code shows only a basic description listing valid clauses (FROM, INNER JOIN, LEFT JOIN, GROUP BY, ORDER BY, LIMIT/OFFSET) but no input validation. LLMs could pass UPDATE, DELETE, DROP, or malicious SQL. No input sanitization visible.
Error handling provides no recovery guidance. Code throws RuntimeException with basic message: 'ERROR: ' + ex.getMessage(). No hint on whether error is retryable, user-fixable, or fatal. No suggestion for next steps (e.g., 'table not found, use get_tables to see available tables').
No pagination support documented. Tools return CSV result via CsvUtils.resultSetToCsv(). If a table has thousands of rows or many tables exist, results could exceed context window. No limit parameter, no offset/page_size, no total_count in response.
No tool annotations despite all tools being READ_ONLY. Tool definitions do not include readOnlyHint, destructiveHint, or idempotentHint. Per current spec (2026-07-28), tool annotations enable agents to reason about safety and retry behavior. All three tools are safe to retry (idempotent), but this is not declared.
Descriptions are under 200 chars but generic. Examples: 'Retrieves a list of objects' is descriptive but does not explain when to call it relative to other tools. No mention of whether catalog/schema narrowing is required or optional, or what happens if no tables match the filter.