Skip to main content
Glama

Sba Loan Lookup

sba_loan_lookup
Read-onlyIdempotent

Look up a small business's SBA 7(a) or 504 loan(s) by borrower name. Returns individual loan records: amounts, lender, approval date, status (P I F / PIF = paid in full, CHGOFF = charged off, CANCLD = cancelled, EXEMPT), and, for charged-off loans, the charge-off amount. Street addresses are never stored or returned (city/state/ZIP only). Scope to a state to disambiguate common business names.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "PA",
      "borrower_name": "Ameripro Construction"
    },
    "name": "sba_loan_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax loans to return (1-100, default 20).
stateNoTwo-letter state code to scope the search, e.g. "PA".
programNoOptional: "7A" or "504". Omit to search both.
borrower_nameYesBusiness or sole-proprietor name to search (substring match), e.g. "Ameripro Construction".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds real substance beyond that: the exact fields returned, a glossary of status codes (PIF, CHGOFF, CANCLD, EXEMPT), charge-off amounts for defaulted loans, and a privacy guarantee that street addresses are never returned.

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?

Front-loaded with purpose, then return contents, then privacy constraint, then query tip. Dense but every clause carries information an agent would otherwise have to guess; no filler.

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?

No output schema exists, yet the description enumerates the returned fields and decodes status values, so an agent knows what it gets back. All four parameters are documented in the schema, and the one non-obvious query technique (state scoping) is spelled out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description still adds meaning for the state parameter by explaining its disambiguation purpose, which the schema only describes as a two-letter code. It does not elaborate on limit or program 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 (look up) and resource (SBA 7(a)/504 loan records) with the key identifier (borrower name). It explicitly names the program scope (7(a) or 504), which separates it from the PPP-flavored sibling without requiring the agent to open a 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?

Gives concrete usage advice: scope by state to disambiguate common business names. It does not explicitly exclude alternatives (e.g., when to prefer ppp_loan_lookup or sba_largest_loans), so the routing guidance is clear but incomplete.

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.