Skip to main content
Glama

Bank and BIC Directory Search

swift_lookup
Read-only

Search banks and financial institutions by name, SWIFT/BIC code, or country.

Covers both SWIFT-connected banks and non-SWIFT financial institutions (e-money issuers, payment processors, MFOs, brokerages, VASPs, etc.).

Returns: SWIFT/BIC code (if any), name, city, country, institution type, GPI membership, a coarse sanctions FLAG across 7 hard-sanctions watchlists (OFAC SDN, EU, UK, CA, CH, AU, NZ — see sanctions_note; this is NOT a full screen, use sanctions_screen for a compliance verdict), and enriched bank profile when available.

EVERY BANK COMES BACK SAYING WHETHER WE HOLD ITS CORRESPONDENT CHAIN. Read settlement_instructions on each bank: on_file: true with a currencies_on_file count means we hold that BIC8's actual correspondent BIC, nostro account number and national clearing ID, and read_with is the exact ssi_lookup call that returns them. on_file: false means we hold none in any currency — a gap in our data, not a finding about the bank. A null is "not established yet" and is neither. This is the answer to "which intermediary bank do I put on the instruction?", and it is a fact we either have or do not have — never one to recall from training data.

A BIC IDENTIFIES AN OFFICE, NOT A BRAND, AND THE DIFFERENCE IS PRICED. A name search returns ONE representative office per bank, elected by BIC convention rather than by relevance to the payment, and office_note says so whenever the bank holds more than one. Published tariffs, correspondent chains and settlement instructions are filed per BIC, so the choice changes the answer: transfer_cost("COBADEFF") returns Commerzbank's published 0.15% sending fee and transfer_cost("COBADEBB") refuses for want of a filed tariff, and both of those are Commerzbank AG in Germany. So:

  • If the user named a CITY, put it in the query — "Commerzbank Frankfurt" resolves to the Frankfurt office, and the plain name cannot.

  • If they did not, ask which BIC is on their statement or payment instruction before pricing or routing, and say which office you used.

  • Never present a representative office's BIC as "the bank's BIC".

Examples: swift_lookup("DEUTDEFF") # exact BIC lookup swift_lookup("Deutsche Bank") # search by name swift_lookup("Commerzbank Frankfurt") # bank + city -> that office's BIC swift_lookup("TBC PAY") # find non-SWIFT payment processor swift_lookup("bank", country="KZ") # explore banks in a country swift_lookup("Halyk", country="KZ") # find specific bank in country swift_lookup("Bank Mandiri", country="Indonesia") # full country name OK

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": {
      "query": "<query>"
    },
    "name": "swift_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOptional page of the matched banks, from 1 (default). Used only when an answer says banks were left out to fit and names the page that holds them.
limitNoMaximum number of banks to return, 1-100 (default 20). Values outside the range are clamped.
queryYesBank name, BIC, or bank name plus city ("Commerzbank Frankfurt"). A BIC may be 8 or 11 characters; an 11-character BIC ending in XXX is searched as its 8-character form. The 12-character address in an MT message header (BIC8 + terminal letter + branch) is not a BIC: pass its first 8 characters.
countryNoOptional country filter: an ISO 3166-1 alpha-2 code ("ID", "DE") or a full English name ("Indonesia", "Germany"). Names are resolved automatically.
details_sectionNoOptional name of one research-profile section to return in full, as listed in a bank's `details_left_out` (e.g. "official_documents" or a details_raw section name). Omit it for the normal answer.
details_section_pageNoOptional page of the details_section, from 1 (default). Used only when an answer says that section comes in pages and names the page that holds the rest.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / details_section_page
      Added value: +{
      +  "default": 1,
      +  "description": "Optional page of the details_section, from 1 (default). Used only when an answer says that section comes in pages and names the page that holds the rest.",
      +  "type": "integer"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / details_section
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional name of one research-profile section to return in full, as listed in a bank's `details_left_out` (e.g. \"official_documents\" or a details_raw section name). Omit it for the normal answer."
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "default": 1,
      +  "description": "Optional page of the matched banks, from 1 (default). Used only when an answer says banks were left out to fit and names the page that holds them.",
      +  "type": "integer"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / country / description
      Added value: +"Optional country filter: an ISO 3166-1 alpha-2 code (\"ID\", \"DE\") or a full English name (\"Indonesia\", \"Germany\"). Names are resolved automatically."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of banks to return, 1-100 (default 20). Values outside the range are clamped."
    • addedInput schema / properties / query / description
      Added value: +"Bank name, BIC, or bank name plus city (\"Commerzbank Frankfurt\"). A BIC may be 8 or 11 characters; an 11-character BIC ending in XXX is searched as its 8-character form. The 12-character address in an MT message header (BIC8 + terminal letter + branch) is not a BIC: pass its first 8 characters."
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries most of the behavioral burden and does so well: it lists the returned fields, explains that a name search returns one representative office elected by BIC convention, and documents the tri-state semantics of settlement_instructions (true = held, false = data gap not a finding, null = not established). It is somewhat less clear on pagination behavior, deferring that to the schema's page/limit wording, which slightly caps the score.

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?

Well front-loaded and sectioned, but overlong for a lookup tool: the transfer_cost illustration of COBADEFF versus COBADEBB and the repeated ALL-CAPS warnings with rhetorical flourishes ('never one to recall from training data') add length without adding agent-actionable information, and seven examples partly duplicate points already made in prose and in the schema.

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 read-only, six-parameter lookup with high schema coverage and an output schema, nothing an agent needs is missing. It covers the error-prone edge cases (address-in-MT-header is not a BIC, 11-character BIC with XXX, non-SWIFT institutions, null versus false for correspondent data) and states what the returned fields mean.

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 and the schema already documents the BIC8/11 shorthand, ISO codes versus full country names, and clamped limits. The description reinforces query semantics with concrete examples ('Commerzbank Frankfurt' selects the Frankfurt office) and explains why details_section exists via details_left_out, but adds no syntax details beyond what the schema already states.

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 banks and financial institutions by name, SWIFT/BIC code, or country') and immediately delimits scope against siblings by naming sanctions_screen for compliance verdicts and ssi_lookup for correspondent data. An agent can distinguish this from sanctions_screen and transfer_cost 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 Guidelines5/5

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

Explicit when-to-use and when-not: the sanctions FLAG is 'NOT a full screen, use sanctions_screen for a compliance verdict', and ssi_lookup is named as the follow-up for correspondent chains. It also routes the agent on the ambiguity that matters — if a city was named, put it in the query; if not, ask for the BIC on the user's statement before pricing or routing.

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