Skip to main content
Glama
Bank Exchange Rates MCP Server

Bank Exchange Rates MCP Server

Get a bank's daily rate history

get_bank_rate_history
Read-only

Retrieve daily buy and sell exchange rate history for a single bank and currency over a date range, defaulting to the past year.

Instructions

Daily buy and sell history for one bank and currency between two dates (defaults to the last year). Needs a paid plan; on the free plan use get_bank_rates with date for a single past day.

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>",
      "bank": "<bank>",
      "ccy": "<ccy>"
    },
    "name": "get_bank_rate_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoDate as YYYY-MM-DD.
ccyYesForeign currency, ISO 4217, e.g. 'USD', 'EUR', 'GBP'. Prices are in the country's home currency per 1 unit.
bankYesBank code inside the country, e.g. 'sbi', 'hdfc', 'dbs', 'enbd', 'bofa'. Use find_banks if unsure.
fromNoDate as YYYY-MM-DD.
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 declare readOnlyHint=true and openWorldHint=true, so the safety profile is known. The description adds two pieces of behavior the annotations do not: the paid-plan gating and the default date window (last year). It stops short of saying what happens with an oversized range or how many rows come back, which keeps it below a 5.

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?

Two sentences, zero filler, with the scope statement front-loaded before the plan restriction and the alternative. Every clause carries information the agent needs.

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?

For a read-only history endpoint with five fully documented parameters and no output schema, the definition covers what is needed to call it correctly: scope, default range, and plan gating. It is slightly thin on return granularity, but nothing required for a correct invocation is missing.

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 one genuine semantic detail the schema does not carry, namely that from/to default to the last year, but it does not otherwise explain parameter interaction or constraints beyond the schema.

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?

The description gives a specific verb+resource ('Daily buy and sell history') plus the exact scope: one bank, one currency, between two dates, with the default range stated. It also names the sibling get_bank_rates and the condition under which that sibling applies, so the agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

It states an explicit prerequisite ('Needs a paid plan') and an explicit fallback ('on the free plan use get_bank_rates with `date` for a single past day'). Both when-to-use and when-to-use-something-else are covered with the selecting condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.