fx_rate
Get the current or historical foreign-exchange rate for any currency pair — the exact exchange rate, FX rate or conversion rate an agent needs to convert a currency amount or feed a finance, trading, invoicing or pricing workflow. Covers EUR/USD, USD/JPY, GBP/EUR and every ISO-4217 currency pair....
This record as markdown: /tools/io-github-getgapup-mcp-knowledge/fx-rate.md
What fx_rate does on Mcp Knowledge
AI agents call fx_rate to retrieve information from Mcp Knowledge without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Quote currency, ISO-4217 (e.g. USD) |
date | string | — | Optional YYYY-MM-DD for a historical rate |
from | string | Yes | Base currency, ISO-4217 (e.g. EUR) |
async | boolean | — | If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client ti |
Parameters from the server's own tool schema.
Why fx_rate is rated Low
This is a pure data retrieval tool that queries existing exchange rate information without side effects. While the data serves financial workflows, the tool itself does not move money, execute trades, modify data, or commit financial obligations.
From the tool's definition Tool retrieves current or historical foreign-exchange rates via a query interface ("Get the current or historical foreign-exchange rate", "Returns the latest spot rate, or a historical rate by date").
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs fx_rate safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp Knowledge, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For fx_rate, this is the rule to start with:
fx_rate is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp Knowledge, apply this rule, and every fx_rate call is checked against it from then on.
Questions about fx_rate
Get the current or historical foreign-exchange rate for any currency pair — the exact exchange rate, FX rate or conversion rate an agent needs to convert a currency amount or feed a finance, trading, invoicing or pricing workflow. Covers EUR/USD, USD/JPY, GBP/EUR and every ISO-4217 currency pair. Returns the latest spot rate, or a historical rate by date. Use when a workflow needs a precise live or past currency exchange rate, or to convert money between two currencies. Source: European Central Bank reference rates via Frankfurter. Inputs: from/to ISO-4217 currency codes, optional date (YYYY-MM-DD). It is categorised as a Read tool in the Mcp Knowledge MCP Server, which means it retrieves data without modifying state.
fx_rate accepts 4 parameters: to, date, from, async. Required: to, from. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Knowledge MCP server in PolicyLayer and add a rule for fx_rate: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Knowledge. Nothing to install.
fx_rate is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the fx_rate rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for fx_rate. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
fx_rate is provided by the Mcp Knowledge MCP server (https://mcp.gapup.io). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mcp Knowledge, and thousands of servers like it.
This server
Across the catalogue