A Model Context Protocol server for Oracle database integration, providing tools to list tables, describe table structures, and execute SQL statements against Oracle databases
This Oracle MCP server has significant definition quality gaps. While it provides 3 tools with basic structure, descriptions are minimal (10-60 chars), parameter annotations lack detail, output schemas are undocumented, and error handling is generic. The server exposes database credentials in configuration but does not validate SQL input, creating SQL injection risk. No tool annotations (readOnlyHint/destructiveHint) are present despite execute_sql being a WRITE operation. The average tool definition score is 42/100, placing this in the 'D' (Poor) grade range. Evidence: (1) describe_table and list_tables have descriptions under 20 chars baseline; (2) execute_sql lacks any guidance on what constitutes valid SQL; (3) no parameter type constraints (enums, patterns, min/max); (4) output format is free-text (newline-separated, CSV) without structured schema; (5) error handling returns generic 'Error: <message>' without recovery guidance.
Get structure information of specified table in Oracle database
Execute Oracle SQL statement
Get a list of all tables in Oracle database
Output schemas undocumented. list_tables returns newline-separated text; describe_table returns CSV format; execute_sql returns free-form result. LLMs cannot parse these consistently or extract fields for downstream tool calls.
execute_sql accepts arbitrary SQL with no input validation, parameter constraints, or type hints. LLMs can be tricked into passing DROP TABLE, DELETE, or injection payloads. No mention in description that this is a WRITE operation with destructive potential.
Tool descriptions are generic and lack actionable context. 'Get a list of all tables' (10 chars) does not explain when to use list_tables vs describe_table, what structure is returned, or whether pagination is needed. Baseline for A+ tools: 50-200 chars with explicit context.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 40 | - | v1 |
Parameter descriptions missing or minimal. tableName in describe_table has one sentence; sql in execute_sql lacks any guidance on format, length, or SQL dialect support. No mention of SQL injection risk or input constraints.
No error recovery guidance. Catch blocks return generic 'Error: <message>' without telling the LLM what to do next. E.g., if a table does not exist, the response should suggest calling list_tables() first.
Missing tool annotations despite semantic risk levels. execute_sql is marked WRITE but has no @destructiveHint or idempotency warning. list_tables and describe_table have no @readOnlyHint. Agents cannot distinguish safe from unsafe operations.
Credentials stored in application.yml (connectionString, username, password) are exposed in configuration. While not directly passed as tool parameters (good), the service does not validate SQL to prevent injection attacks that could leak credentials or modify data. No mention of required permissions or scope.
No pagination support. If a database has thousands of tables, list_tables returns all in one response, risking context window overflow. No limit parameter or documentation of result limits.
SQL queries in describe_table hardcode string concatenation (e.g., "WHERE cols.table_name = '" + tableName.toUpperCase() + "'"), which is vulnerable to SQL injection if tableName contains quotes or special characters.