markets_convert

markets_convert

Convert an amount from one currency to another — 250 GBP in JPY. Uses European Central Bank reference rates, and takes a past date back to 1999. Crypto converts at the live price through the dollar

Free. This one only touches this instance's own storage, so there is nothing to charge for.

Runs on Markets — Live crypto, stock, futures, commodity and currency prices, and conversion between them.

Arguments

NameTypeWhat it is
amountnumberHow much to convert. Default 1
from*stringCurrency or asset to convert from, as a code: GBP, USD, EUR, BTC…
to*stringCurrency or asset to convert to, as a code: JPY, USD, ETH…
datestringOptional: the rate on a past day, as 2020-01-03. Currencies only, back to 1999

Calling it

Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.

{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"from":"from","to":"to"},"name":"markets_convert"}}

Try it in the playground.