Skip to main content
Glama
lobster-kit

mcp-server-lobstermail

by lobster-kit

get_account

Retrieve LobsterMail account details such as tier level, usage limits, and statistics for managing email operations.

Instructions

Get account information including tier, limits, and usage stats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `get_account` tool is registered and implemented in src/index.ts. It calls the `getAccount()` method on the LobsterMail client retrieved via `getClient()`.
    server.registerTool('get_account', {
      title: 'Get Account Info',
      description: 'Get account information including tier, limits, and usage stats.',
      inputSchema: {},
    }, async () => {
      const lm = await getClient();
      const acct = await lm.getAccount();
    
      return {
        content: [
          {
            type: 'text' as const,
            text: [
              `Account: ${acct.id}`,
              `Tier: ${acct.tier} (${acct.tierName})`,
              `Can send: ${acct.limits.canSend}`,
              `Max inboxes: ${acct.limits.maxInboxes ?? 'unlimited'}`,
              `Daily email limit: ${acct.limits.dailyEmailLimit}`,
              `Inboxes used: ${acct.usage.inboxCount}`,
              `Total emails received: ${acct.usage.totalEmailsReceived}`,
              `Created: ${acct.createdAt}`,
            ].join('\n'),
          },
        ],
      };
    });
    
    // ── Start server ──────────────────────────────────────────────────────────────
    
    async function main() {

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/lobster-kit/mcp-server-lobstermail'

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