Skip to main content
Glama

get_quick_prices

Retrieve current market data for KAIA, BTC, and ETH including prices, market cap, trading volume, and price changes.

Instructions

Get quick comprehensive market overview including prices, market capitalization, 24h trading volume, and 24h price changes for KAIA, BTC, and ETH

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'get_quick_prices' tool is implemented in 'GetQuickPricesTool', which calls 'getTokenPrices' with a fixed list of symbols ['KAIA', 'BTC', 'ETH'].
    export const GetQuickPricesTool: McpTool = {
        name: "get_quick_prices",
        description: "Get quick comprehensive market overview including prices, market capitalization, 24h trading volume, and 24h price changes for KAIA, BTC, and ETH",
        schema: {},
        handler: async (agent: WalletAgent, input: Record<string, any>) => {
            const result = await getTokenPrices(['KAIA', 'BTC', 'ETH']);
    
            if (!result.success) {
                return {
                    status: "error",
                    message: (result as any).error
                };
            }
    
            return {
                status: "success",
                prices: result.prices,
                count: result.count,
                summary: "Quick comprehensive market overview of KAIA, BTC, and ETH",
                timestamp: new Date().toISOString()
            };
        },
    };

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/tamago-labs/kaia-mcp'

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