Skip to main content
Glama
Bank Exchange Rates MCP Server

Bank Exchange Rates MCP Server

Compare banks in a country for one currency

compare_bank_rates
Read-only

Rank every bank in a country by exchange rate for one currency, showing where to buy or sell it cheapest with buy, sell, spread and official rate data.

Instructions

Rank every covered bank in a country for one currency, best first: 'which bank in India sells USD cheapest?', 'best bank to sell my euros in Sri Lanka'. side='sell' (default) ranks by the lowest price to buy the currency from the bank; side='buy' ranks by the highest price the bank pays you. Each row has buy, sell, spread_pct, the official rate and the bank's own update stamp. Needs an API key.

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": {
      "country": "<country>",
      "ccy": "<ccy>"
    },
    "name": "compare_bank_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccyYesForeign currency, ISO 4217, e.g. 'USD', 'EUR', 'GBP'. Prices are in the country's home currency per 1 unit.
sideNo'sell' = you buy the currency from the bank (default); 'buy' = you sell it to the bank.
limitNoMax banks to return (default 20).
countryYesTwo-letter country code (ISO 3166), e.g. 'in', 'sg', 'ae', 'gb', 'us'. See list_bank_countries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only and open-world profile, and the description adds the auth requirement ('Needs an API key') plus the shape of each returned row (buy, sell, spread_pct, official rate, update stamp) despite there being no output schema. It does not cover failure modes, coverage gaps, or ordering ties.

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

Conciseness5/5

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

Front-loaded with the operation, then concrete user-voice examples, then semantics, then return shape and auth. Every sentence carries distinct information and nothing is padded.

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 four simple flat parameters, no output schema, and read-only annotations, the definition covers intent, side semantics, return fields, and the API-key prerequisite. Minor gaps remain around truncation behavior and what happens when a country or currency is unsupported.

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; the description earns above it by explaining the ranking direction that the schema does not state — 'sell' ranks by lowest price to buy from the bank, 'buy' by the highest price the bank pays you. country and limit are left to the schema, which documents them adequately.

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?

Opens with a specific verb and resource plus scope: 'Rank every covered bank in a country for one currency, best first.' The two example questions ('which bank in India sells USD cheapest?') pin down the exact intent, so an agent can tell this is a ranked cross-bank comparison rather than a per-bank or per-country rate lookup.

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 example phrasings give clear trigger conditions and the side parameter's effect is spelled out, so an agent knows when this tool fits. There is no explicit exclusion or naming of an alternative (e.g. when to use a single-bank rate tool instead), which keeps it 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.