Skip to main content
Glama
uttkarsh-26

ifsc-mcp

by uttkarsh-26

Look up one bank branch by IFSC

ifsc_lookup
Read-onlyIdempotent

Resolve an IFSC code to retrieve complete bank branch details, including address, MICR, SWIFT, contact, and supported payment rails like RTGS, NEFT, IMPS, and UPI.

Instructions

Retrieve full details for the single bank branch identified by an IFSC code.

Use this whenever the user supplies an IFSC. It is the only tool that confirms a branch actually exists, and the only source of the branch's address, MICR, SWIFT/bic code, contact number and per-branch settlement-rail support (RTGS, NEFT, IMPS, UPI).

Returns ok: true with: ifsc, bank, bank_code, branch, centre, address, city, district, state, iso3166, micr, contact, swift, and supports (booleans for imps/neft/rtgs/upi/swift).

Failure codes: INVALID_INPUT (not 11 chars, or not 4 letters + '0' + 6 alphanumerics), NOT_FOUND (well-formed but no such branch), UPSTREAM_TIMEOUT / UPSTREAM_UNAVAILABLE / UPSTREAM_ERROR (service trouble).

Args: ifsc: The 11-character IFSC to resolve, e.g. "SBIN0000001".

Returns: The branch record, or a structured error payload with ok: false.

Example: Ask "what is the MICR of HDFC0000001?" -> call ifsc_lookup("HDFC0000001").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ifscYesThe 11-character IFSC code of the branch, e.g. 'HDFC0000001'. Exactly 4 letters (bank code) + '0' + 6 alphanumeric characters. Case-insensitive; surrounding whitespace is trimmed. Must be a real, specific branch code - not a bank code like 'HDFC'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the exact failure taxonomy (INVALID_INPUT, NOT_FOUND, three UPSTREAM_* variants) and the ok:true/ok:false shape. No rate limits or latency expectations, but this is strong added context.

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?

Front-loaded with purpose and usage, then well-sectioned failure codes and an example that do real work. The 'Args:' and 'Returns:' blocks largely duplicate the input schema and the output schema, which is mild waste but far from bloat.

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 single-lookup tool with 100% schema coverage and an output schema already present, the description covers purpose, trigger, error taxonomy and return-field inventory. Nothing an agent needs to call it correctly 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% and the single parameter is fully documented there (format, case-insensitivity, whitespace trimming, not-a-bank-code). The description restates the same 11-character rule and example, adding no meaning beyond the schema, so the 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 (retrieve) and resource (single bank branch) scoped by an identifier, and explicitly carves out uniqueness: 'the only tool that confirms a branch actually exists, and the only source of the branch's address, MICR, SWIFT/bic code...'. That contrast with ifsc_validate and the directory-style siblings is enough for an agent to route correctly without opening the 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?

'Use this whenever the user supplies an IFSC' gives a clear triggering condition. It does not name ifsc_validate or search_branches as the alternative or state when NOT to use this tool, so it falls short of explicit alternative routing.

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