Skip to main content
Glama

get_rich_menu_list

Retrieve all rich menus from your LINE Official Account to manage interactive message interfaces for user engagement.

Instructions

Get the list of rich menus associated with your LINE Official Account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that fetches the rich menu list using the LINE Messaging API client and returns a success or error response.
    async () => { try { const response = await this.client.getRichMenuList(); return createSuccessResponse(response); } catch (error) { return createErrorResponse( `Failed to broadcast message: ${error.message}`, ); } }, );
  • Registers the 'get_rich_menu_list' tool with MCP server, including name, description, empty input schema, and the handler function.
    server.tool( "get_rich_menu_list", "Get the list of rich menus associated with your LINE Official Account.", {}, async () => { try { const response = await this.client.getRichMenuList(); return createSuccessResponse(response); } catch (error) { return createErrorResponse( `Failed to broadcast message: ${error.message}`, ); } }, );
  • src/index.ts:67-67 (registration)
    Instantiates the GetRichMenuList class with the messaging API client and calls its register method to add the tool to the main MCP server.
    new GetRichMenuList(messagingApiClient).register(server);
  • src/index.ts:32-32 (registration)
    Imports the GetRichMenuList tool implementation.
    import GetRichMenuList from "./tools/getRichMenuList.js";

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/tndfame/mcp_management'

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