Skip to main content
Glama

Sba Largest Loans

sba_largest_loans
Read-onlyIdempotent

Largest SBA 7(a)/504 loans, ranked by gross approval amount, filterable by program, NAICS code, borrower state, and/or lender name. Answers "what are the biggest SBA loans in NAICS X" or "largest SBA loans in Texas".

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": {
      "limit": 10,
      "naics_code": "722511"
    },
    "name": "sba_largest_loans"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax loans to return (1-100, default 25).
stateNoOptional 2-letter borrower state code.
programNoOptional: "7A" or "504".
naics_codeNoOptional 6-digit NAICS code, e.g. "722511" (restaurants). Not sure of the code? naics_search turns industry words into NAICS codes; naics_lookup explains one.
lender_nameNoOptional lender name substring, e.g. "Wells Fargo".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / naics_code / description
      Previous value: -"Optional 6-digit NAICS code, e.g. \"722511\" (restaurants)."New value: +"Optional 6-digit NAICS code, e.g. \"722511\" (restaurants). Not sure of the code? naics_search turns industry words into NAICS codes; naics_lookup explains one."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuinely behavioral fact beyond that — results are sorted by gross approval amount — but says nothing about truncation behavior, how multiple filters combine, or result shape.

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?

Two tightly written sentences: the ranking/scope statement comes first, the filter list second, and the example questions close it out. No redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-required-parameter read tool with full schema coverage and rich annotations, the definition covers purpose, ranking, and filters adequately. The only mild gap is that no output schema exists and the description does not indicate what fields a returned loan record contains.

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 each of the five parameters is already well documented in the schema, including the naics_search/naics_lookup cross-references. The description only restates the same filter set at a higher level, adding no format, casing, or matching semantics beyond the schema.

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 resource (SBA 7(a)/504 loans) with an explicit ordering rule (ranked by gross approval amount) and enumerates the filter dimensions. The example questions ('biggest SBA loans in NAICS X', 'largest SBA loans in Texas') make the intended query shape unambiguous and differentiate it from a per-loan lookup sibling.

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?

Usage is made concrete through two natural-language example queries that map directly onto filter parameters, giving an agent clear conditions for selection. It stops short of naming an alternative tool to use for individual loan records or aggregate/league-table views, so no explicit exclusions are provided.

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.