Skip to main content
Glama

x402_intelligence

Analyze cryptocurrency investments by aggregating market data, news, development activity, and sentiment indicators into comprehensive AI-synthesized intelligence reports.

Instructions

Get comprehensive multi-source intelligence analysis for a cryptocurrency. Price: $0.10 USDC per query.

Aggregates data from CoinGecko (market), DeFiLlama (TVL/DeFi), CryptoPanic (news), Fear & Greed Index (psychology), and GitHub (development activity). All data synthesized by Claude AI for actionable insights.

This is the premium tier — use x402_sentiment ($0.01) for quick sentiment only. Without X402_PRIVATE_KEY, only the free test endpoint is available.

Returns: comprehensive analysis with market data, news, development activity, and AI synthesis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYesCryptocurrency ticker symbol (e.g., 'BTC', 'ETH', 'SOL')

Implementation Reference

  • The x402_intelligence tool implementation, including schema validation and handler logic.
    // ─── Tool: x402_intelligence ─────────────────────────────────────────────────
    
    server.tool(
      "x402_intelligence",
      `Get comprehensive multi-source intelligence analysis for a cryptocurrency.
    Price: $0.10 USDC per query.
    
    Aggregates data from CoinGecko (market), DeFiLlama (TVL/DeFi), CryptoPanic (news),
    Fear & Greed Index (psychology), and GitHub (development activity).
    All data synthesized by Claude AI for actionable insights.
    
    This is the premium tier — use x402_sentiment ($0.01) for quick sentiment only.
    Without X402_PRIVATE_KEY, only the free test endpoint is available.
    
    Returns: comprehensive analysis with market data, news, development activity, and AI synthesis.`,
      {
        coin: z
          .string()
          .regex(/^[A-Z0-9]{1,10}$/i)
          .describe(
            "Cryptocurrency ticker symbol (e.g., 'BTC', 'ETH', 'SOL')"
          ),
      },
      async (params) => {
        const base = APIS.sentiment.baseUrl;
    
        try {
          const usePaid = !!PRIVATE_KEY;
          const endpoint = usePaid
            ? `/intelligence/${params.coin.toLowerCase()}`
            : `/test/intelligence/${params.coin.toLowerCase()}`;
    
          const data = await apiGet(base, endpoint, usePaid);
          return textResult({
            mode: usePaid ? "paid" : "free_test",
            cost: usePaid ? "$0.10" : "free",
            coin: params.coin.toUpperCase(),
            ...data,
          });
        } catch (err: any) {
          return errorResult(err.message);
        }
      }
    );

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/jameswilliamwisdom/x402-mcp-server'

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