Skip to main content
Glama
acquo

LINE Bot MCP Server (SSE Support)

by acquo

get_message_quota

Check monthly message quota and current usage for LINE Official Accounts to monitor API limits and manage messaging capacity.

Instructions

Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The register method defines and registers the "get_message_quota" tool with the MCP server, including its handler logic that calls the MessagingApiClient to fetch quota and consumption data.
    register(server: McpServer) {
      server.tool(
        "get_message_quota",
        "Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.",
        {},
        async () => {
          const messageQuotaResponse = await this.client.getMessageQuota();
          const messageQuotaConsumptionResponse =
            await this.client.getMessageQuotaConsumption();
          const response = {
            limited: messageQuotaResponse.value,
            totalUsage: messageQuotaConsumptionResponse.totalUsage,
          };
          return createSuccessResponse(response);
        },
      );

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/acquo/line-bot-mcp-server-sse'

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