Skip to main content
Glama
redis

Redis Cloud API MCP Server

Official
by redis

get-pro-subscriptions

Retrieve pro subscription details for your Redis Cloud account using the Redis Cloud API MCP Server. Manage resources effectively with straightforward access.

Instructions

Get the pro subscriptions for the current Cloud Redis account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get-pro-subscriptions' tool. It asynchronously calls SubscriptionsProService.getAllSubscriptions() wrapped in executeApiCall and returns the formatted response using createToolResponse.
    "get-pro-subscriptions": async () => { const subscriptions = await executeApiCall( () => SubscriptionsProService.getAllSubscriptions(), "Get pro subscriptions", ); return createToolResponse(subscriptions); },
  • Tool schema definition: specifies the tool name, description, and an empty inputSchema (no parameters required).
    const GET_PRO_SUBSCRIPTIONS_TOOL: Tool = { name: "get-pro-subscriptions", description: "Get the pro subscriptions for the current Cloud Redis account", inputSchema: emptySchema, };
  • Local registration of the tool within the SUBSCRIPTIONS_PRO_TOOLS array exported from this module.
    export const SUBSCRIPTIONS_PRO_TOOLS = [ CREATE_PRO_SUBSCRIPTION_TOOL, GET_PRO_SUBSCRIPTIONS_TOOL, GET_PRO_SUBSCRIPTION_TOOL, ];
  • src/index.ts:40-47 (registration)
    Global tool registration: SUBSCRIPTIONS_PRO_TOOLS (including get-pro-subscriptions) is merged into ALL_TOOLS, which is provided to the MCP server's listTools handler.
    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 handlers registration: SUBSCRIPTIONS_PRO_HANDLERS (including the handler for get-pro-subscriptions) is merged into ALL_HANDLERS, used by the MCP server's callTool handler to dispatch executions.
    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