MCP server for Oracle HCM Cloud database connectivity, providing SQL query execution and metadata exploration
Oracle HCM Cloud MCP server has three tools with basic structure but significant quality gaps. All three tools have adequate naming (verb_noun pattern: get_tables, get_columns, run_query) and descriptions present, but descriptions lack depth and error-handling guidance. Input schemas are visible and typed, but lack important constraints (enums, ranges, required field clarity). Output schemas are not documented, CSV format is mentioned textually but no structured schema is provided. Parameter descriptions are minimal (1-3 words each). The server provides READ_ONLY risk classification but no tool annotations in the code. Error handling is minimal, the run() method throws RuntimeException without categorization or recovery guidance. Composition is reasonable (three distinct concerns), but missing pagination support and result-size limits for potentially large queries.
Retrieves a list of fields, dimensions, or measures (as columns) for an object, entity or collection (table). Use the `{prefix}_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 `{prefix}_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 not documented. Tools return CSV format but provide no structured schema, field names, or data types to LLMs. This forces LLMs to parse unstructured text, which is error-prone and costly.
Parameter descriptions are minimal (1-3 words: 'The catalog name', 'The schema name', 'The table name'). LLMs need context on whether these are optional, what format they expect, and what happens if omitted.
No pagination or result-size limits. run_query accepts arbitrary SQL SELECT statements with no limit clause enforcement. A query returning 100k rows will blow the context window and waste tokens.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 48 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 46 | - | v1 |
Error handling is non-recoverable. GetColumnsTool.run() throws RuntimeException('ERROR: ' + ex.getMessage()). LLMs receive no guidance on what went wrong, whether to retry, or what recovery action to take.
Missing tool annotations. Code marks tools as READ_ONLY but does not apply readOnlyHint annotations in the McpSchema.Tool registration. This metadata is not exposed to the LLM.
run_query description mentions SQL-92 dialect and valid clauses (FROM, JOIN, GROUP BY, ORDER BY, LIMIT/OFFSET) but does not document constraints on subqueries, CTEs, DML (INSERT/UPDATE/DELETE), or DDL (CREATE/ALTER). LLM may attempt unsupported SQL.
Required parameters not clearly marked. get_columns requires 'table' parameter but schema() does not call .required('table'), only inferred from the fact that it is documented as mandatory in the description text.