Skip to main content
Glama
aadarshvelu

Derive MCP Server

by aadarshvelu

get_currency

Retrieve detailed information for a individual cryptocurrency or fiat currency by providing its symbol, such as ETH or BTC, to access market data.

Instructions

Get details for a specific currency

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYesCurrency symbol, e.g. ETH, BTC

Implementation Reference

  • The handler function that makes the API request for 'get_currency'.
    getCurrency(params: GetCurrencyParams): Promise<unknown> {
      return this.post('public/get_currency', params);
    }
  • src/index.ts:50-52 (registration)
    The tool registration and request handling switch case for 'get_currency'.
    case 'get_currency':
      result = await client.getCurrency(a as unknown as GetCurrencyParams);
      break;
  • The tool definition schema for 'get_currency'.
      name: 'get_currency',
      description: 'Get details for a specific currency',
      inputSchema: {
        type: 'object',
        properties: {
          currency: { type: 'string', description: 'Currency symbol, e.g. ETH, BTC' },
        },
        required: ['currency'],
      },
    },

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/aadarshvelu/derive-mcp'

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