Skip to main content
Glama

hana_list_schemas

Retrieve all schema names from a HANA Cloud database to view available data structures and organize database objects.

Instructions

List all schemas in the HANA database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the hana_list_schemas tool logic, querying schemas via QueryExecutor and formatting the response.
    static async listSchemas(args) { logger.tool('hana_list_schemas'); try { const schemas = await QueryExecutor.getSchemas(); const formattedSchemas = Formatters.formatSchemaList(schemas); return Formatters.createResponse(formattedSchemas); } catch (error) { logger.error('Error listing schemas:', error.message); return Formatters.createErrorResponse('Error listing schemas', error.message); } }
  • Tool definition including name, description, and input schema for hana_list_schemas.
    { name: "hana_list_schemas", description: "List all schemas in the HANA database", inputSchema: { type: "object", properties: {}, required: [] } },
  • Registration of all tools including hana_list_schemas mapped to SchemaTools.listSchemas in the TOOL_IMPLEMENTATIONS object.
    const TOOL_IMPLEMENTATIONS = { hana_show_config: ConfigTools.showConfig, hana_test_connection: ConfigTools.testConnection, hana_show_env_vars: ConfigTools.showEnvVars, hana_list_schemas: SchemaTools.listSchemas, hana_list_tables: TableTools.listTables, hana_describe_table: TableTools.describeTable, hana_list_indexes: IndexTools.listIndexes, hana_describe_index: IndexTools.describeIndex, hana_execute_query: QueryTools.executeQuery };

Latest Blog Posts

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