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: [],
      },
    },
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool does but lacks critical behavioral details: whether it requires authentication, rate limits, data freshness (e.g., real-time vs cached), error handling, or output format. The description is minimal and doesn't compensate for missing annotations.

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?

The description is a single, efficient sentence that front-loads the core purpose. Every word contributes value by specifying the action, resource scope, and token list without redundancy or fluff. It's appropriately sized for a simple tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema) and lack of annotations, the description is incomplete. It omits behavioral context like data source, update frequency, or return structure. While minimalism is acceptable for simple tools, the absence of annotations means the description should provide more operational guidance to be fully helpful.

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 tool has 0 parameters with 100% schema description coverage. The description appropriately doesn't discuss parameters since none exist. It earns a baseline 4 for not needing to compensate for parameter documentation gaps, though it could theoretically mention why no parameters are needed (e.g., always returns all listed tokens).

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 clearly states the specific action ('Get') and resource ('current USD exchange rates for Axie Infinity tokens'), listing the exact tokens covered (ETH, AXS, SLP, RON, USDC). It distinguishes itself from sibling tools that focus on assets, profiles, or market statistics rather than exchange rates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. While it implicitly suggests use for exchange rate queries, it doesn't mention prerequisites, timing considerations, or how it differs from other market-related tools like 'get_market_stats' or 'get_overall_market_stats'.

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

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