HANA Cloud MCP Server
Servidor MCP de SAP HANA
SAP HANA MCP Server implementa el Protocolo de Contexto de Modelo para SAP HANA y SAP HANA Cloud. Los clientes de IA descubren el esquema, ejecutan SQL con medidas de seguridad y, opcionalmente, combinan metadatos de negocio/dominio para que los agentes interpreten códigos y tablas de manera consistente, sin reemplazar su base de datos como sistema de registro.
📚 Documentación
Documento | Propósito |
Este README | Requisitos previos, instalación, cómo conectar cada cliente, resumen de capacidades, hoja de trucos de configuración, solución de problemas |
Historial de versiones — características y correcciones por versión ( | |
Índice de | |
Referencia autorizada de entorno: cada variable, valores predeterminados, límites estrictos, autenticación HTTP, notas de seguridad | |
Copiar y pegar: perfiles de conexión (contenedor único, MDC), JSON de semántica, punteros de paginación | |
MCP HTTP local: |
Related MCP server: mcp4odata
✅ Requisitos previos
Node.js 18+
Una base de datos SAP HANA o SAP HANA Cloud accesible en el puerto SQL desde la máquina que ejecuta el servidor
Un cliente MCP (Claude Desktop, Claude Code, VS Code, Cursor, Cline, Windsurf o cliente HTTP personalizado)
Credenciales suministradas a través de variables de entorno (ver Seguridad)
📦 Instalación
Método | Usar cuando |
| Predeterminado — sin instalación global |
| Necesita |
Clonar + | Desarrollando o fijando una compilación local |
Punto de entrada HTTP (desde un clon): npm run start:http — enlace predeterminado 127.0.0.1:3100, ruta /mcp. Ver Alojado y HTTP.
🎯 Casos de uso
Audiencia | Transporte | Siguiente paso |
Chat / usuarios ligeros | stdio | |
Desarrolladores (Claude Code, VS Code, Cline, Cursor, Windsurf) | stdio | |
Aplicaciones de negocio con agentes de IA (usted aloja MCP sobre HTTP) | HTTP |
🖥️ Claude Desktop
Ruta del archivo de configuración:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\claude\claude_desktop_config.jsonLinux:
~/.config/claude/claude_desktop_config.json
Registre el servidor; coloque los ajustes de conexión en
env(ver Configuración; JSON de perfil completo en configuration-samples.md). El ejemplo a continuación incluyeHANA_INSTANCE_NUMBER/HANA_DATABASE_NAMEpara MDC—elimínelos si utiliza una base de datos de contenedor único.
{
"mcpServers": {
"HANA Database": {
"command": "npx",
"args": ["-y", "hana-mcp-server"],
"env": {
"HANA_HOST": "your-hana-host.com",
"HANA_PORT": "443",
"HANA_USER": "your-username",
"HANA_PASSWORD": "your-password",
"HANA_SCHEMA": "your-schema",
"HANA_SSL": "true",
"HANA_ENCRYPT": "true",
"HANA_VALIDATE_CERT": "true",
"HANA_CONNECTION_TYPE": "auto",
"HANA_INSTANCE_NUMBER": "10",
"HANA_DATABASE_NAME": "HQQ",
"LOG_LEVEL": "info",
"ENABLE_FILE_LOGGING": "true",
"ENABLE_CONSOLE_LOGGING": "false"
}
}
}
}Si la CLI está en el PATH, puede usar "command": "hana-mcp-server" y omitir args.
Reinicie Claude Desktop.
Opcional: HANA MCP UI — npx hana-mcp-ui para editar entornos y desplegar en Claude Desktop.
💻 IDEs y agentes de código
Solo stdio; mismas claves de env que arriba. Ejemplo canónico — Claude Code (~/.claude.json o .mcp.json del proyecto). El bloque env a continuación incluye HANA_DATABASE_NAME para HANA MDC tenant; omítalo para la mayoría de las configuraciones de contenedor único.
{
"mcpServers": {
"hana": {
"type": "stdio",
"timeout": 600,
"command": "npx",
"args": ["-y", "hana-mcp-server"],
"env": {
"HANA_HOST": "<host>",
"HANA_PORT": "31013",
"HANA_USER": "<user>",
"HANA_PASSWORD": "<password>",
"HANA_SCHEMA": "SAPABAP1",
"HANA_DATABASE_NAME": "HQQ",
"HANA_SSL": "false",
"HANA_ENCRYPT": "false",
"HANA_VALIDATE_CERT": "false",
"LOG_LEVEL": "info",
"ENABLE_FILE_LOGGING": "true",
"ENABLE_CONSOLE_LOGGING": "false"
}
}
}
}Use el mismo command, args y env en VS Code, Cline, Cursor y Windsurf. Después de cualquier cambio en env, reinicie la conexión del servidor MCP en el IDE.
🌐 Alojado y HTTP
Ejecute el transporte HTTP desde una copia de este repositorio (después de npm install). La ruta publicada npx hana-mcp-server es solo stdio.
npm run start:httpCursor / IDE local sobre HTTP: establezca HANA_* en el shell (o gestor de procesos) que ejecuta start:http, luego agregue una entrada MCP HTTP con url http://127.0.0.1:3100/mcp ("type": "fetch" o "type": "http", dependiendo de la versión de Cursor). Ver docs/local-http-mcp.md y ./scripts/start-http-mcp.sh.
Tema | Detalle |
Punto final |
|
Ajuste |
|
Salud |
|
CORS |
|
JWT Bearer opcional (OAuth2 / OIDC)
Variable | Rol |
|
|
| Emisor / JWKS (omitir en SAP BTP con XSUAA vinculado) |
|
|
| Lista de alcances opcional |
SAP BTP: vincule XSUAA, MCP_HTTP_AUTH_ENABLED=true, asigne colecciones de roles. Detalles: ENVIRONMENT.md §7.
🔒 Seguridad
Secretos:
HANA_PASSWORD, material JWT y URLs con credenciales integradas pertenecen al entorno o a un gestor de secretos, no a git.Cadena de suministro: Prefiera
npx -ydel paquete publicado en CI y escritorios compartidos en lugar de una instalación global mutable.HTTP: Habilite la validación JWT para cualquier cosa fuera de localhost; coloque el servicio detrás de un proxy inverso para la terminación TLS y la política de red.
Notas adicionales: ENVIRONMENT.md §9.
🎯 Capacidades
Área | Qué obtienen los llamadores |
Esquema | Listas de esquemas/tablas paginadas, metadatos de columnas, comprobaciones de conectividad |
SQL | Ejecución parametrizada; límites en filas, columnas y tamaño de celda de SELECT/WITH; totales opcionales y continuación a través de |
Recursos | URIs |
Conocimiento de dominio (opcional) | Superposición JSON para |
🛠️ Configuración
Las variables se aplican a stdio (env en la configuración del cliente) y HTTP (entorno del proceso). Reinicie después de los cambios.
Fuente de verdad para nombres, valores predeterminados y rangos de sujeción: docs/ENVIRONMENT.md. JSON de conexión para copiar y pegar (contenedor único / MDC): docs/configuration-samples.md#connection-profiles-env-json.
Requerido
Parámetro | Descripción | Ejemplo |
| Nombre de host o IP |
|
| Usuario de base de datos |
|
| Contraseña de base de datos | (secreto) |
Conexión y TLS
Parámetro | Predeterminado | Notas |
|
| Los puertos SQL de MDC suelen ser |
| — | Predeterminado cuando una herramienta omite |
|
|
|
| — | ID de instancia MDC (ej. |
| — | Nombre del inquilino para MDC (ej. |
|
| Banderas de validación de TLS y certificados para el controlador |
Registro (Logging)
Parámetro | Predeterminado | Notas |
|
|
|
|
|
|
|
| A menudo |
*Predeterminado del código; los ejemplos frecuentemente establecen el registro de archivos en true.
Límites (consultas, listas, recursos)
Parámetro | Predeterminado | Propósito |
|
| Filas máximas por página de |
|
| Columnas máximas por fila devuelta |
|
| Truncar texto largo de celda |
|
|
|
|
| Herramientas de lista: tamaño de página predeterminado y máximo |
|
| Limitar nombres incrustados en cargas útiles |
|
| Tiempo de vida del ID de instantánea para paginación de consultas |
JSON de negocio / dominio (HANA_SEMANTICS_*)
Parámetro | Predeterminado | Propósito |
| — | Ruta de archivo al JSON del diccionario (prevalece sobre la URL) |
| — | URL HTTPS al mismo formato |
|
| Comportamiento de caché / recarga |
Samples: configuration-samples.md.
🔧 Solución de problemas
Síntoma | Comprobar |
Conexión rechazada |
|
Autenticación fallida / sin cliente | Contraseña, usuario, |
Errores TLS |
|
Objetos incorrectos o vacíos | MDC: el inquilino impulsa la visibilidad; nombres de esquema idénticos pueden diferir por inquilino |
SQL necesita otro prefijo de base de datos |
|
Depuración: LOG_LEVEL=debug, ENABLE_CONSOLE_LOGGING=true, reinicie.
🖥️ HANA MCP UI
npx hana-mcp-ui
🏗️ Arquitectura
hana-mcp-server/
├── src/
│ ├── server/ # MCP lifecycle, resources, HTTP transport
│ ├── tools/ # Schema, table, query, index, config tools
│ ├── database/ # HANA client, connection manager, executor, query runner
│ ├── semantics/ # Optional semantics / domain JSON loader
│ ├── utils/ # Logger, config, validators, formatters
│ ├── query-snapshot-store.js
│ └── constants/ # MCP constants, tool definitions
├── tests/
├── docs/ # README index, ENVIRONMENT.md, configuration-samples.md, diagrams
└── hana-mcp-server.js # stdio entry point📦 Paquete
Runtime | Node.js 18+ |
Plataformas | macOS, Linux, Windows |
Dependencias |
|
🤝 Soporte
Problemas: GitHub Issues
UI: HANA MCP UI
📄 Licencia
MIT — ver LICENSE.
Available Tools
9 toolshana_describe_indexC
Describe the structure of a specific index
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | Name of the schema containing the table (optional) | |
| table_name | Yes | Name of the table containing the index | |
| index_name | Yes | Name of the index to describe |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool describes index structure but doesn't reveal any behavioral traits such as whether it's a read-only operation, potential performance impacts, error handling, or output format. This leaves significant gaps in understanding how the tool behaves beyond its basic purpose.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise and front-loaded with a single, clear sentence that directly states the tool's purpose. There is no wasted language or unnecessary elaboration, making it efficient and easy to parse for an AI agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (describing database index structure) and lack of annotations and output schema, the description is insufficiently complete. It doesn't cover behavioral aspects, usage context, or what information is returned, leaving the agent with inadequate guidance for effective tool invocation in a database management scenario.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting all three parameters (schema_name, table_name, index_name) with their types and optionality. The description adds no additional semantic context beyond what the schema provides, such as explaining relationships between parameters or usage examples, so it meets the baseline for high schema coverage without compensating value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('describe') and resource ('structure of a specific index'), making it easy to understand what it does. However, it doesn't explicitly differentiate from sibling tools like 'hana_describe_table' or 'hana_list_indexes', which would require mentioning it focuses on detailed structural metadata rather than listing or describing tables.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'hana_list_indexes' for listing indexes or 'hana_describe_table' for table details, nor does it specify prerequisites or contexts for usage, leaving the agent to infer appropriate scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_describe_tableC
Describe the structure of a specific table
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | Name of the schema containing the table (optional) | |
| table_name | Yes | Name of the table to describe |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool does but lacks critical details: it doesn't specify if this is a read-only operation, what permissions are required, what the output format looks like (e.g., column names, types, constraints), or any error conditions (e.g., invalid table names). For a tool with no annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose ('Describe the structure of a specific table') with zero wasted words. It avoids redundancy and is appropriately sized for a simple tool, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for effective tool use. It doesn't explain what 'describe' entails (e.g., returns metadata like columns and data types), potential side effects, or error handling. For a tool with no structured output information, the description should compensate by detailing return values or usage constraints, which it fails to do.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear documentation for both parameters (schema_name and table_name). The description adds minimal value beyond the schema, as it only implies that table_name is the key input without providing additional context like format examples or relationships between parameters. This meets the baseline for high schema coverage but doesn't enhance understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('describe') and resource ('structure of a specific table'), making the purpose immediately understandable. It distinguishes this from siblings like hana_list_tables (which lists tables) and hana_describe_index (which describes indexes). However, it doesn't explicitly mention the database system (HANA) or differentiate from hana_execute_query, which could also provide structural information through queries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a valid table name), compare it to hana_list_tables for discovery or hana_execute_query for custom queries, or specify use cases like schema exploration or query planning. The agent must infer usage from the tool name and context alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_execute_queryC
Execute a custom SQL query against the HANA database
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute | |
| parameters | No | Optional parameters for the query (for prepared statements) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool executes a custom SQL query but lacks critical details: it doesn't specify if this is read-only or can perform mutations, potential risks like data modification or deletion, authentication requirements, or response handling (e.g., result format, error messages). This is inadequate for a tool that could have significant side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It is front-loaded and appropriately sized, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of executing custom SQL queries (which could involve reads, writes, or schema changes), no annotations, and no output schema, the description is insufficient. It doesn't address behavioral traits, return values, or error conditions, leaving significant gaps for an AI agent to understand how to use the tool safely and effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting both parameters ('query' and 'parameters'). The description adds no additional meaning beyond this, such as query syntax examples or parameter usage details. According to the rules, with high schema coverage, the baseline is 3 even without param info in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Execute') and target resource ('custom SQL query against the HANA database'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like hana_describe_table or hana_list_tables, which might also involve database queries but for specific purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, such as needing a valid database connection, or contrast it with sibling tools like hana_list_tables for metadata queries versus this for custom SQL execution, leaving the agent to infer usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_list_indexesC
List all indexes for a specific table
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | Name of the schema containing the table (optional) | |
| table_name | Yes | Name of the table to list indexes for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. It states it 'lists' indexes, implying a read-only operation, but doesn't clarify if this requires specific permissions, what format the output takes (e.g., list of names vs. detailed properties), or if there are limitations like pagination or performance considerations for large tables. The description adds minimal context beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action ('List all indexes'), making it easy to parse. Every word earns its place, with no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for a tool that likely returns structured data about indexes. It doesn't hint at what information is included in the listing (e.g., index names, types, columns) or any behavioral aspects like error handling. For a database tool with potential complexity, more context is needed to guide effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both parameters ('schema_name' and 'table_name') clearly documented in the schema. The description mentions 'for a specific table', aligning with the 'table_name' parameter, but adds no additional meaning about parameter usage, defaults, or constraints beyond what the schema provides. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('List') and resource ('all indexes for a specific table'), making the purpose immediately understandable. It distinguishes from siblings like 'hana_describe_index' (which likely provides detailed metadata) and 'hana_list_tables' (which lists tables rather than indexes). However, it doesn't explicitly mention the database system (HANA) or differentiate from 'hana_describe_table', which might also include index information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't specify if this is for quick overviews vs. detailed analysis, or mention prerequisites like connection requirements. Siblings like 'hana_describe_index' and 'hana_describe_table' could potentially overlap in functionality, but no comparison is offered.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_list_schemasB
List all schemas in the HANA database
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('List all schemas') but doesn't describe the return format (e.g., list of schema names, JSON structure), pagination, permissions needed, or error conditions. For a tool with zero annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and resource, making it easy to parse. Every word earns its place, and there's no unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (0 parameters, no output schema), the description is minimally complete. It states what the tool does but lacks behavioral details (e.g., output format) that would be helpful for an agent. With no annotations or output schema, the description should ideally provide more context about the return value, but it's adequate for a simple list operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100% (since there are no parameters). The description doesn't need to add parameter semantics, so it meets the baseline of 4 for zero-parameter tools. It correctly implies no inputs are required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('List') and resource ('all schemas in the HANA database'), making the purpose immediately understandable. It distinguishes from siblings like hana_list_tables and hana_list_indexes by specifying schemas rather than tables or indexes. However, it doesn't explicitly differentiate from other schema-related tools (none exist in siblings), so it's not a perfect 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., connection requirements), when not to use it, or how it relates to siblings like hana_describe_table or hana_execute_query. The agent must infer usage from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_list_tablesC
List all tables in a specific schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | Name of the schema to list tables from (optional) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool lists tables but doesn't describe what the output looks like (e.g., format, pagination), whether it requires specific permissions, or any limitations (e.g., performance with large schemas). This leaves significant gaps for a tool that presumably returns data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose ('List all tables') without unnecessary words. Every part of the sentence contributes directly to understanding the tool's function, making it optimally concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete. It doesn't address behavioral aspects like output format, error handling, or usage context relative to siblings. For a simple list tool, this might be minimally adequate, but the absence of output details and sibling differentiation is a notable gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the single parameter 'schema_name' documented as optional in the schema. The description adds minimal value beyond this, only implying the parameter's purpose without explaining edge cases (e.g., what happens if omitted, default behavior). Baseline 3 is appropriate given the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List all tables') and resource ('in a specific schema'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'hana_list_schemas' or 'hana_describe_table' beyond the obvious scope difference, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'hana_list_schemas' (for listing schemas instead of tables) or 'hana_describe_table' (for detailed table info). It also doesn't mention prerequisites or exclusions, leaving usage context entirely implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_show_configB
Show the HANA database configuration
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool shows configuration but doesn't describe what 'configuration' includes (e.g., settings, parameters, status), whether it's read-only or has side effects, or how results are formatted. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and uses clear language. Every word earns its place, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for a tool that likely returns configuration details. It doesn't specify what 'configuration' entails, potential output formats, or any behavioral traits. For a tool with no structured data to rely on, this minimal description fails to provide sufficient context for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema description coverage is 100%, so there are no parameters to document. The description doesn't need to compensate for any gaps, and it appropriately doesn't mention parameters. A baseline of 4 is applied since no parameter information is required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as 'Show the HANA database configuration' with a specific verb ('Show') and resource ('HANA database configuration'). It distinguishes itself from siblings like hana_list_tables or hana_execute_query by focusing on configuration rather than data or structure. However, it doesn't explicitly differentiate from hana_show_env_vars, which might share conceptual similarity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., for troubleshooting or setup), or comparisons to siblings like hana_show_env_vars or hana_describe_table. Without this, users must infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_show_env_varsB
Show all HANA-related environment variables (for debugging)
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool shows environment variables for debugging, implying read-only behavior, but doesn't explicitly confirm this is a safe operation, doesn't mention authentication requirements, rate limits, or what format the output takes. The description provides basic intent but lacks important behavioral details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly concise at just 8 words, with the core purpose stated first ('Show all HANA-related environment variables') and the additional context ('for debugging') efficiently appended parenthetically. Every word earns its place with zero redundancy or unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, read-oriented tool with no output schema, the description provides adequate but minimal context. It explains what the tool does and suggests a debugging use case, but doesn't describe the output format, scope limitations, or relationship to other debugging tools. Given the simplicity of the tool, the description is complete enough but could benefit from more operational detail.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't discuss parameters since none exist, maintaining focus on the tool's purpose. This meets the baseline expectation for zero-parameter tools.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Show') and resource ('all HANA-related environment variables'), making the purpose immediately understandable. It distinguishes from siblings like hana_show_config by specifying 'environment variables' rather than configuration files. The parenthetical '(for debugging)' adds helpful context but doesn't fully differentiate from all siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides minimal guidance with '(for debugging)' suggesting a diagnostic context, but offers no explicit when-to-use rules, no exclusions, and no comparison to alternatives like hana_show_config. There's no mention of prerequisites, timing considerations, or when this tool would be preferred over other debugging methods.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hana_test_connectionB
Test connection to HANA database
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Test connection') but doesn't explain what this entails—e.g., whether it performs authentication checks, network pings, returns success/failure status, or has side effects like logging. For a tool with zero annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It's front-loaded with the core purpose and efficiently communicates the essential action without unnecessary elaboration, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally adequate. It states what the tool does but lacks details on behavior, output, or usage context. For a connection-testing tool, more information on what 'test' means and what results to expect would improve completeness, but it meets the basic threshold.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and the schema description coverage is 100%, so there are no parameters to document. The description doesn't need to add parameter semantics, and it appropriately doesn't mention any. A baseline of 4 is applied for zero-parameter tools, as there's nothing to compensate for.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Test') and resource ('connection to HANA database'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'hana_show_config' or 'hana_show_env_vars' which might also provide connection-related information, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, timing (e.g., before executing queries), or how it differs from siblings like 'hana_show_config' that might show connection details. This lack of context leaves the agent with minimal usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
9 tool updates
- First observed
hana_describe_index - First observed
hana_describe_table - First observed
hana_execute_query - First observed
hana_list_indexes - First observed
hana_list_schemas - First observed
hana_list_tables - First observed
hana_show_config - First observed
hana_show_env_vars - First observed
hana_test_connection
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose targeting specific database operations like describing structures, listing resources, executing queries, or showing configuration. There is no overlap in functionality that would cause confusion between tools.
All tools follow a consistent 'hana_verb_noun' pattern with snake_case throughout, using clear verbs like describe, list, execute, show, and test. This predictable naming makes the tool set easy to navigate and understand.
With 9 tools, this server is well-scoped for database interaction, covering essential operations like connection testing, schema exploration, query execution, and configuration viewing. Each tool earns its place without feeling excessive or insufficient.
The tool set provides strong coverage for database exploration and querying, including CRUD-like operations via custom SQL. Minor gaps exist, such as no explicit tools for creating or modifying database objects, but agents can work around this using the execute_query tool for most needs.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Remote data science agents for Snowflake, Databricks & BigQuery in Claude/Cursor via MCP
A Model Context Protocol server for Wix AI tools
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to explore and interact with Cursor IDE's SQLite databases, providing access to project data, chat history, and composer information.25-
- FlicenseNot gradedqualityDmaintenanceExposes SAP S/4HANA OData services as tools for LLMs, enabling users to list and create sales orders via the Model Context Protocol. It integrates with SAP BTP using the SAP Cloud SDK to provide secure access to enterprise data through natural language.-
- FlicenseAqualityDmaintenanceEnables AI assistants to query, analyze, and manage SQL Server databases through natural language via the Model Context Protocol.61-
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server that enables AI assistants like Claude to work directly inside SAP BW/4HANA systems — reading, creating and modifying BW modeling objects via the internal REST API used by Eclipse BWMT.202MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HatriGt/hana-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server