Skip to main content
Glama

CurrencyGuard Guard Pricing

Get Forward FX Rate

get_forward_rate
Read-only

Use when you need a forward FX rate. tenor accepts either a period such as 1W, 1M, 3M, 6M, 1Y, or an exact date in ISO form YYYY-MM-DD. Use an exact date whenever you need the forward for the same day a Guard settles: a period resolves to the forward curve's own date, which can be several days away, and a comparison across two different dates is misleading. Rates are taken from the market forward curve, rounded, and for illustration purposes only — not for execution. Returns: forwardRate (indicative mid outright = spot + forward points), forwardPoints (in pips, e.g. -3.1 means the forward rate is 3.1 pips below spot), spotMid (indicative spot mid rate for comparison), settlementDate (the date the rate is for). Negative forward points mean the forward rate is below spot; positive means above. Example: base=GBP, quote=USD, tenor=2026-12-29 returns the GBPUSD forward for that day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesBase currency ISO code, e.g. GBP
quoteYesQuote currency ISO code, e.g. USD
tenorYesTenor period such as 1W, 1M, 3M, 6M, 1Y, or an exact date as YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / base / maxLength
      Added value: +3
    • addedInput schema / properties / base / minLength
      Added value: +3
    • addedInput schema / properties / quote / maxLength
      Added value: +3
    • addedInput schema / properties / quote / minLength
      Added value: +3
    • changedInput schema / properties / tenor / description
      Previous value: -"Tenor period, e.g. 1W, 1M, 3M, 6M, 1Y"New value: +"Tenor period such as 1W, 1M, 3M, 6M, 1Y, or an exact date as YYYY-MM-DD"
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare this a safe read, and the description layers on genuinely new behavioral context: rates are indicative mid, rounded, from the market forward curve, and explicitly 'not for execution'. It also dictates the sign convention for forward points and states what each returned field means. That is well beyond what readOnlyHint/destructiveHint 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?

It is front-loaded with the trigger and the tenor rule before moving to caveats and return values, and each sentence carries information. It runs long (nine-plus sentences), and the currency-pair example plus field-by-field return list push it toward the verbose end of acceptable.

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 no output schema, the description fully compensates by enumerating forwardRate, forwardPoints, spotMid and settlementDate and explaining the sign of forward points. Combined with the usage path and the 'not for execution' caveat, an agent has everything needed to call and interpret this tool.

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: the tenor's two accepted forms, the consequence of using a period (curve date can be several days off settlement), and why that mismatch misleads comparisons. Base/quote semantics come from the schema and example rather than new text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: a forward FX rate taken from the market forward curve, with the spot rate returned for comparison. It distinguishes itself implicitly from get_spot_rate through the explicit 'forward' framing and the forward-points field. It does not explicitly name a sibling, which keeps it short of a 5.

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?

It gives clear when-to-use context ('Use when you need a forward FX rate') and, more usefully, a decision rule for the tenor argument: pick an exact date whenever the forward must line up with a Guard settlement date, because period tenors resolve to the curve's own date. It stops short of naming alternative tools (e.g. get_spot_rate, compare_guard_with_forward) as explicit substitutes.

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