Skip to main content
Glama

get_exchange_rate

Retrieve current USD exchange rates for Axie Infinity tokens including ETH, AXS, SLP, RON, and USDC to monitor cryptocurrency values.

Instructions

Get the current USD exchange rates for Axie Infinity tokens: ETH, AXS, SLP, RON, and USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The request handler case for "get_exchange_rate" that queries the GraphQL client using the GET_EXCHANGE_RATE query and returns the formatted content.
    // ── get_exchange_rate ─────────────────────────────────────────────────
    case "get_exchange_rate": {
      const data = await client.query<{ exchangeRate: unknown }>(
        queries.GET_EXCHANGE_RATE
      );
      return jsonContent(data.exchangeRate);
    }
  • src/index.ts:234-242 (registration)
    The tool registration for "get_exchange_rate" within the toolDefinitions array.
      name: "get_exchange_rate",
      description:
        "Get the current USD exchange rates for Axie Infinity tokens: ETH, AXS, SLP, RON, and USDC.",
      inputSchema: {
        type: "object",
        properties: {},
        required: [],
      },
    },

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/jackdlogan/axie-mcp'

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