Skip to main content
Glama

SwapEazi

Dated comparisons against a customer's bank deal

rate_deal_history
Read-only

Keyed. Returns the dated history of comparisons for one customer and corridor: the rate on each prepared or reconciled payment against that day's official rate, the negotiated deal (margin in bps or a fixed spread, with the customer's own bank label), and a public market price when one was read. Drift is in bps and in the sent currency. above_negotiated is set when the gap over the deal exceeds the stored tolerance. A missing figure is null. The payment stays with the customer's own bank. A router key is required.

Input Schema

NameRequiredDescriptionDefault
toYesISO 4217 code of the destination currency (what lands), e.g. 'USD'.
fromYesISO 4217 code of the source currency (what leaves), e.g. 'ZAR'.
access_keyNoA router key (rk_...), if not sent as a Bearer header.
customer_idYesYour own id for the customer whose negotiated deal is compared, e.g. 'acme'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / customer_id / description
      Added value: +"Your own id for the customer whose negotiated deal is compared, e.g. 'acme'."
    • addedInput schema / properties / from / description
      Added value: +"ISO 4217 code of the source currency (what leaves), e.g. 'ZAR'."
    • addedInput schema / properties / to / description
      Added value: +"ISO 4217 code of the destination currency (what lands), e.g. 'USD'."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that the description adds real value: drift is expressed in bps and sent currency, above_negotiated is set only past the stored tolerance, missing figures are null, and the payment remains with the customer's own bank. It does not say how far back history goes, whether results are paginated, or whether prepared-only payments appear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is informative but delivered as one dense run-on block. 'Keyed.' at the start and 'A router key is required.' at the end state the same prerequisite twice, which is waste, and the return-field inventory would read better as a list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description properly carries the return-shape burden by naming the compared figures, drift units, and the null convention. Combined with 100% schema coverage on inputs, the definition is nearly complete; the main omission is any statement about history depth or result volume.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds only the framing that 'from' and 'to' define a corridor plus a customer, and restates that a router key is required for access_key; it gives no added syntax or constraints for any of the four parameters.

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 gives a specific verb and resource: 'Returns the dated history of comparisons for one customer and corridor', and it spells out the three things compared (payment rate, negotiated deal, public market price). That is enough to separate it from read-only siblings like get_corridor_rates or get_rate_receipt, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use / when-not-to-use guidance and no named alternative. The only conditional content is the prerequisite 'A router key is required.' An agent must infer from the phrase 'dated history of comparisons' that this is for retrospective auditing rather than live pricing.

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