Skip to main content
Glama

crypto_trending

Identify top trending cryptocurrencies by retrieving the 7 most popular assets from CoinGecko for market analysis and investment research.

Instructions

Get top 7 trending cryptocurrencies on CoinGecko

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'crypto_trending' tool, which fetches data from the CoinGecko API and formats it into a Markdown table.
    server.tool("crypto_trending", "Get top 7 trending cryptocurrencies on CoinGecko", {}, async () => {
      const data = await safeFetch("https://api.coingecko.com/api/v3/search/trending");
      const coins = data.coins.slice(0, 7);
      const rows = coins.map((c: any, i: number) => [
        `${i + 1}`, c.item.name, c.item.symbol.toUpperCase(),
        `#${c.item.market_cap_rank || "N/A"}`,
        formatCurrency(c.item.data?.price || 0),
        formatPercent(c.item.data?.price_change_percentage_24h?.usd || 0)
      ]);
      return { content: [{ type: "text", text: `**Trending Coins**\n${mdTable(["#", "Name", "Symbol", "Rank", "Price", "24h"], rows)}` }] };
    });
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It successfully specifies the data source (CoinGecko) and result cardinality (top 7), but omits what 'trending' means algorithmically, whether results are real-time or cached, rate limits, or the return data structure.

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

Conciseness5/5

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

Single sentence with zero waste. Information is front-loaded with immediate clarity on action (Get), scope (top 7), subject (trending cryptocurrencies), and source (CoinGecko). Every word earns its place.

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 fetch tool, the description adequately covers essential invocation context. Lacking an output schema, it could benefit from a brief note on returned fields (e.g., symbol, name, rank), but remains sufficiently complete for agent selection among the crypto tool family.

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?

The input schema contains zero parameters, which per guidelines earns a baseline score of 4. The description correctly implies no user-supplied filtering is needed for this fixed 'top 7' list operation.

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?

The description uses specific verb 'Get' with clear resource 'top 7 trending cryptocurrencies' and identifies the data source 'CoinGecko'. It effectively distinguishes from siblings like crypto_price (specific asset pricing), crypto_search (query-based lookup), and crypto_market_overview (broad market data) by specifying the 'trending' scope and 7-item limit.

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?

While 'trending' implies usage for discovering popular assets rather than specific price lookups, the description lacks explicit guidance on when to prefer this over crypto_market_overview or crypto_search. No 'when-not-to-use' or alternative recommendations are provided despite numerous sibling crypto tools.

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

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