MCP server for querying SAP HANA databases and looking up SAP table metadata from external references
Server has 4 tools with clear verb-noun naming (get_*, run_*) and reasonable descriptions (100-250 chars). All tools are READ_ONLY and well-scoped. However, parameter descriptions are minimal (10-30 chars), output schemas are not formally documented, and error handling is generic ('ERROR: {ex}'). No input validation, no enum constraints, no pagination support despite CSV output. Descriptions mention CSV format but don't document field names or structure. Missing actionable error recovery guidance.
Retrieves a list of columns for a table in SAP HANA. Use the `sap_hana_get_tables` tool to get a list of available tables. The output will be returned in CSV format, with the first line containing column headers.
Retrieves a list of tables available in the SAP HANA data source. Use the `sap_hana_get_columns` tool to list available columns on a table. Both `catalog` and `schema` are optional parameters. The output will be returned in CSV format, with the first line containing column headers.
Look up SAP table and field descriptions from an external reference (leanx.eu). Use this when SAP HANA system catalog has no comments/descriptions for tables or columns. Returns the table description and a CSV of fields with their metadata.
Execute a SQL SELECT statement against SAP HANA. Use the `sap_hana_get_tables` tool to get a list of available tables, and the `sap_hana_get_columns` tool to list table columns. Identifiers should be quoted using double quotes. The SQL dialect is mostly based around SQL-92. Valid clauses: FROM, INNER JOIN, LEFT JOIN, GROUP BY, ORDER BY, LIMIT/OFFSET. The output will be returned in CSV format, with the first line containing column headers.
Parameter descriptions are too brief (10-30 chars). 'The table name (required)' and 'The schema name (optional)' lack context on format, constraints, or when to use each parameter. LLMs cannot infer whether 'table' expects a fully qualified name or just the table name.
Output schemas are not documented. Tools return CSV strings with headers, but the field names, data types, and structure are not formally specified. LLMs cannot plan downstream operations or extract specific fields reliably.
Error handling is generic and non-actionable. All exceptions are caught and wrapped as 'ERROR: {ex}', providing no guidance on whether the error is retryable, user-fixable, or fatal. No recovery hints (e.g., 'Try search_tables() with a partial name').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
No input validation or enum constraints. 'sql' parameter accepts any string; no validation that it is a SELECT statement or safe to execute. 'catalog' and 'schema' are free-form strings with no format guidance. LLMs may pass invalid or malicious SQL.
No pagination support. Tools return all results as CSV strings. Large result sets will blow context windows and degrade LLM reasoning. No limit parameter, no offset/page parameter, no total count returned.