Skip to main content
Glama

TradingCalc MCP: Options, Forex, Risk Stats, Prediction Markets, On-Chain & Crypto Futures

Forex Currency Converter (Live)

workflow.run_forex_currency_converter_live
Read-only

Converts an amount between currencies using a live FX rate: TrueFX for its 10 quoted majors (genuinely live tick data), frankfurter.app daily ECB reference rate as the fallback for every other currency pair (30 total). Edge cases: amount may be zero or negative (converted as given); from and to are ISO 4217 codes; the same currency on both sides returns the amount with source identity; no rate found gives available false and no figure. The rate is a TrueFX tick or a daily ECB reference rate, not what a bank or broker would give you. Not covered: markups, fees and rounding rules of a provider. Use when user asks "what's $X worth in EUR?" or any currency conversion where the rate itself isn't already known. Returns: converted, rate, source (truefx/frankfurter/identity), asOf, available (false + error if no rate could be found for that pair). If available is false, do not use any result field (computed figures and any verdict are null or empty), so read available first.

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": {
      "amount": "<amount>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "workflow.run_forex_currency_converter_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes3-letter target currency code, e.g. "EUR"
fromYes3-letter source currency code, e.g. "USD"
amountYesAmount in the source currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare read-only/open-world/non-destructive; the description goes well beyond them by naming the two rate providers and their coverage, spelling out edge cases (zero or negative amount converted as given, same-currency identity returning source 'identity'), and defining failure semantics (available=false with no figure). The explicit instruction to read 'available' before any other result field is exactly the kind of operational guidance annotations cannot convey.

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?

Front-loaded with the conversion action and providers, then edge cases, then usage, then return shape — a sensible order, with no filler sentences. There is mild redundancy in restating the rate basis twice ('TrueFX for its 10 quoted majors (genuinely live tick data), frankfurter.app...' and later 'The rate is a TrueFX tick or a daily ECB reference rate'), and the density makes it a long single block.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by enumerating the return fields (converted, rate, source, asOf, available, error) and the meaning of each source value. Combined with the failure-handling rule and the not-covered scope, an agent has everything needed to call it and interpret the response.

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 100%, so the baseline is 3, but the description adds real meaning on top: from/to are ISO 4217 codes (the schema only says '3-letter'), and amount may legitimately be zero or negative, which is not derivable from 'Amount in the source currency'. It does not discuss case sensitivity or how unknown/non-ISO codes are handled.

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 and resource ('Converts an amount between currencies') and then pins the exact rate sources — TrueFX live ticks for 10 majors, frankfurter.app daily ECB reference for the other pairs. That source disclosure distinguishes it from the non-live sibling run_forex_currency_converter without needing to name it, and from the many other workflow.* calculators.

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

Usage Guidelines4/5

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

Gives an explicit trigger ('Use when user asks "what's $X worth in EUR?" or any currency conversion where the rate itself isn't already known') plus an exclusion list of what it does not cover (markups, fees, provider rounding). It stops short of naming the offline sibling run_forex_currency_converter as the alternative when a known/stored rate is wanted, so routing between the two is implied rather than stated.

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.