Skip to main content
Glama

Lender outcome statistics (k-anonymous)

lender_stats
Read-only

Approval rate, funded rate and median days to decision per lender, from reported outcomes, by program, institution, industry or state. A cell is shown only when outcomes from 5 or more distinct other reporters are in it. Counts of decisions, not predictions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lender_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter US state code (e.g. NY).
industryNoIndustry words or a NAICS code, e.g. "restaurants", "trucking", "dental practice" or 722511. No company names.
program_idNo
institutionNo
reporter_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / industry / description
      Previous value: -"Industry in a few words (e.g. \"restaurants\", \"trucking\", \"dental practice\"). No company names."New value: +"Industry words or a NAICS code, e.g. \"restaurants\", \"trucking\", \"dental practice\" or 722511. No company names."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely useful behavioral rule beyond them: cells are suppressed unless 5 or more distinct other reporters contributed, which tells the agent results may be sparse or missing. It stops short of saying how suppressed cells appear (omitted vs. null) or whether there is pagination or a row cap.

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?

Three short sentences with the metrics and dimensions front-loaded, followed by the k-anonymity caveat and a scope disclaimer. Every clause carries information; nothing is redundant with the title or annotations.

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

Completeness3/5

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

For a read-only statistics tool with no output schema and five loosely documented parameters, the description covers the metric set and suppression rule but omits the response shape (one row per lender per grouping?), the role of reporter_key, and default behavior when no filters are given. Adequate but with clear gaps an agent would need to probe at call time.

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 only 40%, and three parameters (program_id, institution, reporter_key) have no schema descriptions at all. The description partially compensates by naming the grouping/filter dimensions ('by program, institution, industry or state'), mapping meaning onto program_id and institution, but reporter_key is never mentioned and it is unclear whether these are filters or group-by keys or what happens when several are supplied together.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names specific metrics (approval rate, funded rate, median days to decision) and specific resources/dimensions (per lender, by program, institution, industry or state), so the agent knows exactly what data comes back. It does not explicitly distinguish itself from siblings like lender_program or industry_overview, which likely return overlapping lender or industry views, so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'from reported outcomes' and 'Counts of decisions, not predictions' signal this is aggregate reporting rather than a raw-outcome or prediction tool, nudging the agent away from report_outcome or next_best_option. There is no explicit statement of when to prefer this over lender_program, industry_overview or find_lenders, and no prerequisites (e.g., whether a reporter_key is needed).

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.

Resources