Skip to main content
Glama

Sba Lender League Table

sba_lender_league_table
Read-onlyIdempotent

Lender league table, ranks lenders by SBA loan count and total dollar volume. For 7(a) loans "lender" is the originating bank; for 504 loans it is the CDC (Certified Development Company) that books the debenture. Answers "which bank does the most SBA lending in NAICS Y" or "top SBA 504 lenders in California".

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,
      "state": "CA",
      "program": "7A"
    },
    "name": "sba_lender_league_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax lenders to return (1-100, default 25).
stateNoOptional 2-letter borrower state code.
programNoOptional: "7A" or "504". Omit to combine both (note: 7(a) banks and 504 CDCs are different kinds of entity, so combining programs mixes those populations).
naics_codeNoOptional 6-digit NAICS code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds genuinely useful semantics — the differing lender entity across programs and the warning that combining programs mixes populations — but says nothing about sort order, tie-breaking between count and volume rankings, or the shape of returned rows despite there being no output schema.

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?

Three tight sentences, front-loaded with what the tool returns before the entity caveat and the example queries. No filler; the quoted example questions earn their place by encoding use cases.

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 read-only ranked aggregate with no output schema and four fully documented optional params, the description covers purpose, entity semantics, and canonical use cases. Remaining gaps — which metric drives the ranking order and what columns come back — are modest but real for a table-producing tool.

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%, including defaults, ranges, and the program-mixing caveat, so the schema already carries parameter meaning. The description adds no syntax or format guidance beyond that and only restates the program/entity nuance, 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 and resource ('ranks lenders by SBA loan count and total dollar volume') and then disambiguates the key entity ambiguity: 'lender' means the originating bank for 7(a) but the CDC for 504. That is exactly the distinction an agent needs to interpret results correctly, and it separates this tool from loan-level siblings.

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 natural-language questions it answers ('which bank does the most SBA lending in NAICS Y', 'top SBA 504 lenders in California'), which effectively defines when to reach for it. It stops short of naming alternatives or exclusions — e.g., that individual loan retrieval belongs to sba_loan_lookup — so the agent must infer routing to siblings.

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.