{
  "name": "money.convert",
  "group": "compute",
  "summary": "Convert between 30 currencies at current or historical European Central Bank reference rates.",
  "description": "Converts an amount between currencies using the European Central Bank's daily reference rates — the closest thing to a neutral, citable exchange rate that exists, reaching back to 1999 for historical dates. Exchange rates are the canonical example of a fact a language model cannot know: they moved after every training cutoff and will move again tomorrow. Rates are published on ECB working days around 16:00 CET; a weekend or holiday query returns the last working day's rate, and the response always states which date the rate is actually from. These are reference rates for calculation and record-keeping — a bank or card network will apply its own spread on a real transaction.",
  "keywords": [
    "currency converter",
    "exchange rate",
    "usd to eur",
    "convert currency",
    "historical exchange rate",
    "ecb rates",
    "forex rate",
    "money conversion",
    "gbp to usd",
    "eur to inr"
  ],
  "endpoint": "https://fluentedi.com/v1/money/convert",
  "mcp_name": "money_convert",
  "makes_network_request": true,
  "parameters": {
    "type": "object",
    "properties": {
      "amount": {
        "description": "Amount to convert.",
        "type": "number",
        "default": 1,
        "minimum": 0,
        "examples": [
          250
        ]
      },
      "from": {
        "description": "ISO 4217 code of the source currency.",
        "type": "string",
        "maxLength": 10,
        "examples": [
          "USD"
        ]
      },
      "to": {
        "description": "Target currency code, or several separated by commas. Empty returns every supported currency.",
        "type": "string",
        "default": "",
        "maxLength": 200
      },
      "date": {
        "description": "Historical date (YYYY-MM-DD, back to 1999-01-04). Empty means the latest published rate.",
        "type": "string",
        "default": "",
        "maxLength": 10
      }
    },
    "required": [
      "from"
    ],
    "additionalProperties": false
  },
  "examples": [
    {
      "description": "What is $250 in euros today?",
      "url": "https://fluentedi.com/v1/money/convert?amount=250&from=USD&to=EUR",
      "args": {
        "amount": 250,
        "from": "USD",
        "to": "EUR"
      }
    },
    {
      "description": "One price in several markets",
      "url": "https://fluentedi.com/v1/money/convert?amount=99&from=USD&to=EUR%2CGBP%2CINR%2CJPY",
      "args": {
        "amount": 99,
        "from": "USD",
        "to": "EUR,GBP,INR,JPY"
      }
    },
    {
      "description": "Rate on an invoice date",
      "url": "https://fluentedi.com/v1/money/convert?amount=1000&from=EUR&to=USD&date=2024-03-15",
      "args": {
        "amount": 1000,
        "from": "EUR",
        "to": "USD",
        "date": "2024-03-15"
      }
    }
  ],
  "suggestion": null
}