Skip to main content
Glama

Bank exchange rates: Compare banks

bank-fx_compareBankRates
Read-onlyIdempotent

Compare banks

One currency at every bank, cheapest to buy first (lowest selling rate), with meta.cheapestToBuy (lowest selling) and meta.bestToSell (highest buying). Banks with stale rates are listed but not picked. Use when the user asks which bank is cheapest to buy a foreign currency from (lowest selling rate) or best to sell it to (highest buying rate): one call compares every bank.

GET /v1/bank-fx/rates/compare on Bank exchange rates (SBX-BANKFX). Costs 1 credit per call.

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": {
      "currency": "<currency>"
    },
    "name": "bank-fx_compareBankRates"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYesOne ISO 4217 code, e.g. USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses the sort order (cheapest to buy first, i.e. lowest selling rate), the meta fields returned (meta.cheapestToBuy / meta.bestToSell), a non-obvious edge case (stale-rate banks are listed but never selected as best), the concrete endpoint, and a billing cost of 1 credit per call. That is meaningful behavioral context an agent could not get from readOnlyHint/idempotentHint alone.

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?

The key facts are front-loaded: what it returns, the ordering, the meta keys, then the use case and cost. There is some redundancy — 'lowest selling rate' and 'highest buying rate' are each stated twice, once in the opening and again in the usage sentence — which keeps it from a 5.

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?

With no output schema, the description carries return-value disclosure and does so for the meta block, ordering, and stale-rate filtering, plus endpoint and credit cost. It leaves the per-bank entry fields (rate columns, bank identifiers) unspecified, which is the only notable gap for a comparison 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% and there is a single parameter, so the baseline is 3. The description adds real meaning by specifying 'One currency at every bank', clarifying that the currency argument is the currency being bought or sold across all banks, and by tying the sell/buy interpretation to the cheapest/best semantics.

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 verb and resource ('Compare banks', 'One currency at every bank, cheapest to buy first') and makes the aggregation scope explicit, which implicitly separates it from a plain per-bank rate listing. It stops short of naming a sibling such as bank-fx_listBankRates, so it does not achieve full explicit differentiation.

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 a clear trigger: 'Use when the user asks which bank is cheapest to buy a foreign currency from ... or best to sell it to', and reinforces the one-call-covers-everything framing. It does not state when NOT to use it or name an alternative tool for narrower queries, so it falls short of a 5.

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