Valuation

Convert amounts between currencies

valuation_fx · Reads only · Markdown

Amounts converted between currencies at the ECB's euro reference rates, on a date or at a past year's average.

Free*

*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.

An example

Harbour Lane Coffee reports in pounds and our peers in euros. Put its 2025 revenue and EBITDA into euros.

Your agent callsvaluation_fxFree*

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "to": "EUR",
  "date": "2025-12-31",
  "amounts": [
    {
      "amount": 18450000,
      "currency": "GBP",
      "label": "Harbour Lane Coffee revenue"
    }
  ]
}
What comes back
{
  "to": "EUR",
  "basis": "ECB euro reference rates on 2025-12-31",
  "rates": {
    "GBP": {
      "per_euro": 0.8726,
      "date": "2025-12-31"
    }
  },
  "amounts": [
    {
      "label": "Harbour Lane Coffee revenue",
      "amount": 18450000,
      "currency": "GBP",
      "converted": 21143708.46,
      "rate": 1.146
    }
  ],
  "source": {
    "name": "European Central Bank, euro foreign exchange reference rates",
    "url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
    "terms": "ECB statistics, free to reuse with the source named"
  }
}

Use it when

Before comparing a target and peers that report in different currencies, like pounds and euros.

What it does

Amounts converted at the ECB's euro reference rates: on a date (the latest rates published on or before it; none come out on weekends and TARGET holidays), or at a past year's average, for a year's figures like revenue. Peers and targets that report in different currencies are compared in one currency: convert their figures before valuation_multiples or valuation_benchmark. Today's rates when neither date nor year is given.

What comes back

to, basis, rates (each currency per euro, with its day or year), amounts (label, amount, currency, converted, rate) and source; a note when the day had no rates and an earlier day's were used. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
amountsRequiredarray of objects1 to 50 items.
amounts[].amountRequirednumber
amounts[].currencyRequiredstringISO code, e.g. GBP. Matches ^[A-Za-z]{3}$.
amounts[].labelstring1 to 200 characters.
toRequiredstringThe currency to convert into, e.g. EUR. Matches ^[A-Za-z]{3}$.
datestringRates on this day. Matches ^\d{4}-\d{2}-\d{2}$.
yearintegerA past year's average. 1,999 to 2,100.

The call

Over MCP, call valuation_fx on https://api.conecto.chat/mcp/valuation. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/valuation_fx \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":"EUR","date":"2025-12-31","amounts":[{"amount":18450000,"currency":"GBP","label":"Harbour Lane Coffee revenue"}]}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
invalid_input400A currency the ECB publishes no rate for, both date and year, this year as a year, or a date in the future.The message lists the currencies; give a date for this year's figures.
unavailable503The ECB didn't answer, or has no rate for that time.Try again in a minute, or another date.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md