Skip to main content
Glama

Luxury Travel Tools by Global Lux Agency

Currency exposure calculator for travel agencies

currency-exposure-calculator
Read-onlyIdempotent

For a travel booking sold to the client in one currency (e.g. GBP) with supplier costs in another (e.g. EUR), returns the margin at the quoted rate, at the rate now and when the client currency moves up or down by each scenario percentage, the break-even rate, the margin at risk from the largest adverse move, and an optional comparison with a locked rate. Rates are units of supplier currency per 1 unit of client currency and must be supplied by the caller (no live or reference rates are provided). A deposit or balance already paid or fixed is entered with its rate and is no longer exposed. Not financial or hedging advice. Web page: https://globalluxagency.com/tools/currency-exposure-calculator

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": {
      "supplierCost": "<supplierCost>",
      "clientPrice": "<clientPrice>",
      "quotedRate": "<quotedRate>"
    },
    "name": "currency-exposure-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
todayNoReference date for days to each payment, YYYY-MM-DD. Defaults to today (UTC).
rateNowNoRate now, or the rate you expect to pay at, same convention. Defaults to quotedRate.
lockedRateNoOptional locked rate to compare for the open amount (e.g. a rate offered by your FX provider); 0 = none.
quotedRateYesRate used when quoting: units of supplier currency per 1 unit of client currency (e.g. 1.18 for 1 GBP = 1.18 EUR). Ignored when the currencies match.
balanceDateNoBalance due date, YYYY-MM-DD (optional).
clientPriceYesPrice agreed with the client, in the client currency.
depositDateNoDeposit due date, YYYY-MM-DD (optional).
supplierCostYesTotal supplier cost, in the supplier currency.
scenarioMovesNoComma-separated % moves in the client currency, each applied up and down from the rate now (up to 6; example default "2,5,10").2,5,10
clientCurrencyNoCurrency the client pays in.GBP
depositPercentNoShare of the supplier cost due as a deposit, %; the rest is the balance (example default 30%).
balanceFixedRateNoRate at which the balance was paid or fixed; 0 = still open.
depositFixedRateNoRate at which the deposit was paid or fixed; 0 = still open.
supplierCurrencyNoCurrency the supplier is paid in.EUR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, and the description adds genuinely new context: no live or reference rates are fetched, the caller must supply them, fixed/paid amounts drop out of exposure, and the output is not hedging advice. It does not mention rounding or precision of the returned figures.

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 input situation before the list of returned figures, and every clause carries information. The middle sentence is long and enumerates many outputs in one breath, which costs a little readability.

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?

With 14 parameters and no output schema, the description carries the burden of describing returns, and it enumerates each figure produced (margin at several rates, break-even, margin at risk, locked-rate comparison). Combined with the currency-convention caveat and fixed-amount rule, an agent has what it needs to call this correctly.

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 interpretive meaning: the rate is units of supplier currency per one unit of client currency, and a deposit or balance entered with a fixed rate is treated as no longer exposed. These are the two semantics most likely to be misapplied from schema text alone.

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 precise computation: margin at quoted/current/scenario rates, break-even rate, margin at risk, and optional locked-rate comparison for a booking with a client-currency price and supplier-currency cost. No sibling in the catalog does currency exposure, so the resource is unambiguous without naming an alternative.

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?

The opening sentence gives the exact situation that selects this tool (booking sold in one currency, supplier costs in another), and the rate convention plus the deposit/balance note tell the caller what inputs to use. It stops short of explicit exclusions or naming an alternative tool for related arithmetic.

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.

Resources