Skip to main content
Glama

trending

Identify trending cryptocurrencies by analyzing current search and trading activity data to monitor market movements.

Instructions

Get trending cryptocurrencies right now — what people are searching for and trading.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `getTrending` function fetches data from CoinGecko API to retrieve trending cryptocurrencies.
    async function getTrending() {
      const data = await fetch('https://api.coingecko.com/api/v3/search/trending');
      return {
        coins: data.coins.map(c => ({
          name: c.item.name,
          symbol: c.item.symbol,
          market_cap_rank: c.item.market_cap_rank,
          price_btc: c.item.price_btc,
        })),
      };
    }
  • index.js:282-286 (registration)
    The 'trending' tool is registered in the MCP tool definitions list.
    {
      name: 'trending',
      description: 'Get trending cryptocurrencies right now — what people are searching for and trading.',
      inputSchema: { type: 'object', properties: {} }
    },
  • The MCP handler calls `getTrending` when the 'trending' tool is requested.
    case 'trending':
      return await getTrending();

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/ShipItAndPray/mcp-market-data'

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