Skip to main content
Glama
redis

Redis Cloud API MCP Server

Official
by redis

get-database-modules

Retrieve a list of supported database modules (capabilities) for your Redis Cloud account, based on your subscription and database settings.

Instructions

Lookup list of database modules supported in current account (support may differ based on subscription and database settings). These modules are also called capabilities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get-database-modules' tool. It calls AccountService.getSupportedDatabaseModules() using executeApiCall and wraps the result with createToolResponse.
    "get-database-modules": async () => { const modules = await executeApiCall( () => AccountService.getSupportedDatabaseModules(), "Get database modules", ); return createToolResponse(modules); },
  • The Tool object definition for 'get-database-modules', including name, description, and empty input schema.
    const GET_DATABASE_MODULES: Tool = { name: "get-database-modules", description: "Lookup list of database modules supported in current account (support may differ based on subscription and database settings). These modules are also called capabilities.", inputSchema: emptySchema, };
  • Local registration of the tool schema in the ACCOUNT_TOOLS array.
    export const ACCOUNT_TOOLS = [ GET_CURRENT_ACCOUNT_TOOL, GET_CURRENT_PAYMENT_METHODS_TOOL, GET_DATABASE_MODULES, GET_PRO_PLANS_REGIONS, ];
  • src/index.ts:40-47 (registration)
    Global registration of tools via spread of ACCOUNT_TOOLS into ALL_TOOLS, used in ListToolsRequestHandler.
    const ALL_TOOLS = [ ...ACCOUNT_TOOLS, ...SUBSCRIPTIONS_PRO_TOOLS, ...SUBSCRIPTIONS_ESSENTIALS_TOOLS, ...TASKS_TOOLS, ...DATABASES_PRO_TOOLS, ...DATABASES_ESSENTIALS_TOOLS, ];
  • src/index.ts:49-56 (registration)
    Global registration of handlers via spread of ACCOUNT_HANDLERS into ALL_HANDLERS, used in CallToolRequestHandler.
    const ALL_HANDLERS = { ...ACCOUNT_HANDLERS, ...SUBSCRIPTIONS_ESSENTIALS_HANDLERS, ...SUBSCRIPTIONS_PRO_HANDLERS, ...TASKS_HANDLERS, ...DATABASES_PRO_HANDLERS, ...DATABASES_ESSENTIALS_HANDLERS, };

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/redis/mcp-redis-cloud'

If you have feedback or need assistance with the MCP directory API, please join our Discord server