Skip to main content
Glama
jflamb

FDIC BankFind MCP Server

by jflamb

fdic_get_institution_failure

Retrieve failure details for FDIC-insured institutions using their certificate number to access specific failure records and structured data.

Instructions

Retrieve failure details for a specific institution by FDIC Certificate Number.

Use this when you know the CERT of a failed institution to get its specific failure record.

Args:

  • cert (number): FDIC Certificate Number of the failed institution

  • fields (string, optional): Comma-separated list of fields to return

Returns detailed failure information suitable for concise summaries, with structured fields available for exact values when needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
certYesFDIC Certificate Number — the unique identifier for an institution
fieldsNoComma-separated list of fields to return

Implementation Reference

  • Registration and implementation of the 'fdic_get_institution_failure' tool, which queries the FDIC failures endpoint by certificate number.
      server.registerTool(
        "fdic_get_institution_failure",
        {
          title: "Get Failure Details by Certificate Number",
          description: `Retrieve failure details for a specific institution by FDIC Certificate Number.
    
    Use this when you know the CERT of a failed institution to get its specific failure record.
    
    Args:
      - cert (number): FDIC Certificate Number of the failed institution
      - fields (string, optional): Comma-separated list of fields to return
    
    Returns detailed failure information suitable for concise summaries, with structured fields available for exact values when needed.`,
          inputSchema: CertSchema,
          annotations: {
            readOnlyHint: true,
            destructiveHint: false,
            idempotentHint: true,
            openWorldHint: false,
          },
        },
        async ({ cert, fields }) => {
          try {
            const response = await queryEndpoint(ENDPOINTS.FAILURES, {
              filters: `CERT:${cert}`,
              fields,
              limit: 1,
            });
            const records = extractRecords(response);
            if (records.length === 0) {
              const output = {
                found: false,
                cert,
                message: `No failure record found for CERT ${cert}. The institution may not have failed, or the CERT may be incorrect.`,
              };
              return {
                content: [{ type: "text", text: output.message }],
                structuredContent: output,
              };
            }
            const output = records[0];
            const text = formatLookupResultText("Failure details", output, [
              "CERT",
              "NAME",
              "FAILDATE",
              "RESTYPE",
              "COST",
              "QBFASSET",
              "CITY",
              "STALP",
            ]);
            return {
              content: [{ type: "text", text }],
              structuredContent: output,
            };
          } catch (err) {
            return formatToolError(err);
          }
        },
      );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jflamb/fdic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server