Skip to main content
Glama

billing

Manage billing tasks for MCP Analytics: check credit balance, view subscription status, or access the billing portal directly.

Instructions

Check credit balance, subscription status, or open billing portal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoBilling actionstatus

Implementation Reference

  • This request handler dynamically forwards any tool call (including 'billing') to the remote MCP server, as the tool catalog is fetched from the remote server at runtime.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      try {
        const result = await remoteClient.callTool({
          name: request.params.name,
          arguments: request.params.arguments || {},
        });
        return result;
      } catch (err) {
        return {
          content: [{ type: "text", text: `Error: ${err.message}` }],
          isError: true,
        };
      }
    });

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/embeddedlayers/mcp-analytics'

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