Skip to main content
Glama
Bank Exchange Rates MCP Server

Bank Exchange Rates MCP Server

Find a bank and its code

find_banks
Read-only

Search covered banks by name, short name, or code, or list all banks in a country. Returns the country and bank codes needed to retrieve exchange rates.

Instructions

Search covered banks by name, short name or code (e.g. 'hsbc', 'State Bank of India', 'emirates nbd'), or list every bank in one country. Returns the country code and bank code to pass to get_bank_rates. Works without an API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_banks"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoBank name, short name or code to search for.
countryNoTwo-letter country code: list (or narrow the search to) banks in this country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the genuinely useful auth fact 'Works without an API key' and states what is returned (country code and bank code). It does not mention result caps, pagination, or match ambiguity when a query hits multiple banks, 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?

Three short sentences, front-loaded with the search capability, then the country mode, then the return value and auth note. Every clause carries information an agent needs and none is redundant.

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?

For a two-optional-parameter read-only lookup with no output schema, the description covers search behavior, the list mode, the returned fields, the downstream consumer, and the no-API-key requirement. Nothing essential to 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 coverage is 100% and the schema already explains both parameters, including that country can list or narrow results. The description's concrete query examples ('hsbc', 'State Bank of India', 'emirates nbd') hint at fuzzy/short-name matching, which adds a little meaning, but the heavy lifting is done by the schema, so baseline 3 applies.

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?

States a specific verb and resource ('Search covered banks by name, short name or code ... or list every bank in one country') and names the downstream tool the results feed ('get_bank_rates'). An agent can distinguish this lookup tool from the rate-fetching siblings without opening any schema.

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 description makes the two usage modes explicit (query to search, country to list or narrow) and points to get_bank_rates as the consumer of the returned codes, which is strong routing guidance. It stops short of naming when-not-to-use or contrasting with compare_bank_rates or get_country_bank_rates, so it is clear context rather than full alternative mapping.

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