Skip to main content
Glama

crypto_market_overview

Get global cryptocurrency market data including total market capitalization, Bitcoin dominance, and active coin statistics to analyze market trends.

Instructions

Get global crypto market overview (total market cap, BTC dominance, active coins)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'crypto_market_overview' tool which fetches global crypto market data from the CoinGecko API and formats it for the user.
    server.tool("crypto_market_overview", "Get global crypto market overview (total market cap, BTC dominance, active coins)", {}, async () => {
      const data = await safeFetch("https://api.coingecko.com/api/v3/global");
      const g = data.data;
      return { content: [{ type: "text", text: `**Global Crypto Market**\nTotal Market Cap: ${formatNumber(g.total_market_cap.usd)}\nTotal Volume 24h: ${formatNumber(g.total_volume.usd)}\nBTC Dominance: ${g.market_cap_percentage.btc.toFixed(1)}%\nETH Dominance: ${g.market_cap_percentage.eth.toFixed(1)}%\nActive Coins: ${formatNumber(g.active_cryptocurrencies)}\nMarkets: ${formatNumber(g.markets)}` }] };
    });

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/ElromEvedElElyon/claw-mcp-toolkit'

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