Skip to main content
Glama

get_account_status

Check your Fathom account status, including current tier, usage metrics, available tools, and upgrade options to manage financial intelligence access.

Instructions

Check your Fathom account: current tier, requests used this hour, available and locked tools, cache freshness, and upgrade options. Available on all tiers including free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The function getAccountStatus calculates the user's account tier, usage limits, available tools, and upgrade information.
    export function getAccountStatus(): {
      tier: string;
      requests_used: number;
      requests_limit: number;
      requests_remaining: number;
      tools_available: number;
      tools_total: number;
      tools_locked: string[];
      cache_freshness: string;
      upgrade_url: string;
      upgrade_benefits: string[];
    } {
      const tier = getCurrentTier();
      const config = TIER_CONFIGS[tier];
    
      // Get current usage
      const entry = requestCounts.get('default');
      const now = Date.now();
      const isExpired = !entry || now - entry.windowStart > 3600_000;
      const used = isExpired ? 0 : entry.count;
      const limit = config.rateLimit === -1 ? Infinity : config.rateLimit;
      const remaining = limit === Infinity ? Infinity : Math.max(0, limit - used);
    
      // Locked tools
      const allTools = UNLIMITED_TOOLS;
      const locked = allTools.filter(t => !config.tools.includes(t));
    
      // Upgrade benefits
      const benefits: string[] = [];
      if (tier === 'free') {
        benefits.push('Starter ($29/mo): 22 tools including derivatives, stablecoins, correlation, alternative signals, alerts, strategies, key rotation');
        benefits.push('Pro ($99/mo): 27 tools + custom strategies, crowd intelligence, portfolio analysis');
        benefits.push('Unlimited ($299/mo): All 31 tools + webhooks, unlimited requests, 4x fresher data');
      } else if (tier === 'starter') {
        benefits.push('Pro ($99/mo): +5 tools — portfolio analysis, custom strategies, crowd intelligence, signal history, historical context');
        benefits.push('Unlimited ($299/mo): +webhooks, unlimited requests, 4x fresher data');
      } else if (tier === 'pro') {
        benefits.push('Unlimited ($299/mo): +webhooks, unlimited requests, 4x fresher data');
      }
    
      const freshnessLabels: Record<number, string> = {
        1: 'Standard',
        0.5: '2x fresher',
        0.25: '4x fresher',
      };
    
      return {
        tier,
        requests_used: used,
        requests_limit: limit === Infinity ? -1 : limit,
        requests_remaining: remaining === Infinity ? -1 : remaining,
        tools_available: config.tools.length,
        tools_total: allTools.length,
        tools_locked: locked,
        cache_freshness: freshnessLabels[config.cacheTtlMultiplier] ?? 'Standard',
        upgrade_url: 'https://fathom.fyi/#pricing',
        upgrade_benefits: benefits,
      };
    }
  • src/index.ts:434-442 (registration)
    The 'get_account_status' tool is registered on the MCP server, calling the getAccountStatus handler.
    server.tool(
      'get_account_status',
      'Check your Fathom account: current tier, requests used this hour, available and locked tools, cache freshness, and upgrade options. Available on all tiers including free.',
      {},
      async () => {
        const status = getAccountStatus();
        return { content: [{ type: 'text' as const, text: JSON.stringify(status, null, 2) }] };
      },
    );
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden and effectively discloses what data is returned (current tier, hourly request usage, locked/unlocked tools, cache state, upgrade options). It implies read-only behavior via 'Check' but does not explicitly state safety characteristics or cache behavior beyond freshness.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two efficient sentences. First sentence is front-loaded with the action verb and enumerates specific data points returned. Second sentence provides necessary tier constraint. No redundancy with structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter status endpoint with no output schema, the description adequately compensates by listing specific response fields and access constraints. Sufficient for agent to understand this retrieves quota/account metadata rather than market data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 0 parameters (coverage 100%), establishing baseline 4. Description confirms there are no configuration options required (implicitly, by focusing entirely on return value description and not mentioning required inputs).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description uses specific verb 'Check' with resource 'Fathom account' and enumerates specific return fields (tier, requests used, tools, cache freshness). It clearly distinguishes from data-focused siblings (get_asset_context, get_correlation_matrix, etc.) by focusing on account metadata and rate limit status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides tier availability context ('Available on all tiers including free') indicating when the tool is accessible, but lacks explicit guidance contrasting with action-oriented siblings like rotate_api_key or set_alert. Usage is implied by the nature of the return fields listed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/0xHashy/fathom-fyi'

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