Skip to main content
Glama

crypto convert

crypto_convert
Read-only

Convert an amount between crypto and fiat in one call: from a symbol (BTC, ETH, SOL, USDC, AERO, EURC, 40+ majors) or a Base/Ethereum token address, to up to 10 targets (USD, EUR, CAD, GBP, JPY, INR... or other coins). Returns the rate, converted amounts, each unit price in USD and the USD value. Spot mid prices from DefiLlama and ECB-based fx. $0.003. Costs $0.003 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>"
    },
    "name": "crypto_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNocomma-separated targets, default USD
fromYes
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag readOnly and openWorld, and the description adds meaningful context beyond them: cost/auth ('$0.003 USDC per call (x402)') and data provenance (DefiLlama spot mid prices, ECB-based fx). It stops short of describing rate limits or failure modes, but the payment requirement is a valuable disclosure.

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

Conciseness4/5

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

Dense and front-loaded with the conversion scope, sources, and outputs. The one flaw is redundancy: '$0.003. Costs $0.003 USDC per call (x402).' states the price twice, slightly diluting an otherwise tight paragraph.

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?

With no output schema, the description helpfully enumerates return fields (rate, converted amounts, per-unit USD price, USD value) and covers cost and data sources. Complete enough to invoke correctly, though it lacks pagination/format nuances that matter little for a single-call converter.

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?

Schema coverage is only 33% (only 'to' documented), so the description must compensate. It does: 'from' accepts a symbol or token address, 'to' takes up to 10 comma-separated targets defaulting conceptually to fiat, which resolves the undocumented parameters.

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?

States a specific verb (convert) and resource (amount between crypto and fiat), enumerating accepted input forms (string symbol or Base/Ethereum token address) and outputs. An agent can distinguish this from crypto_price, fx, and unit_convert without opening the schema.

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?

The phrase 'in one call' and 'up to 10 targets' implies a batch-conversion use case, useful context. However, it never states when to prefer this over crypto_price or fx, nor any exclusions, leaving the routing inference to the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources