Skip to main content
Glama

OpenMortgage

find lenders for borrower

find_lenders_for_borrower
Read-onlyIdempotent

Lenders active in a state with comparable approval and price figures for a loan profile given as bands. Ordered by one key that the caller chooses, never by a blend.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "loan_type": "<loan_type>",
      "purpose": "<purpose>",
      "loan_amount_band": "<loan_amount_band>",
      "income_band": "<income_band>",
      "loan_to_value_band": "<loan_to_value_band>",
      "debt_to_income_band": "<debt_to_income_band>",
      "state": "<state>"
    },
    "name": "find_lenders_for_borrower"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOne sort key: applications, denied or spread.
stateYesTwo-letter state code.
purposeYes
loan_typeYes
income_bandYes
loan_amount_bandYes
loan_to_value_bandYes
debt_to_income_bandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one genuine behavioral trait the annotations cannot convey: results are ranked by exactly one caller-chosen key and never a composite blend. It says nothing about matching tolerance, result limits, or what an empty result means.

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?

Two tight sentences with no filler, front-loaded with what is returned and then the ordering contract. Slightly cryptic phrasing ('comparable approval and price figures', 'never by a blend') costs a point because it needs a second read.

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 an 8-parameter, 7-required tool with low schema coverage and no output schema, the description covers the core matching model and ordering rule but leaves gaps: it never explains how bands are matched or how many lenders come back. Adequate to attempt a call, not complete enough to predict the response.

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 only 25% across 8 parameters, so the description has to compensate and only partly does: 'loan profile given as bands' clarifies that all five profile inputs are banded rather than exact values, and the sort sentence clarifies the sort parameter's semantics as a single key. Four of the required inputs (loan_type, purpose, and the remaining band fields) receive no added meaning.

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?

States a concrete resource (lenders) and scope (active in a state, matched on a banded loan profile) plus a result-ordering rule, which is more than the name restates. It does not, however, explicitly distinguish itself from siblings like search_lenders or compare_lenders, leaving that inference to the agent.

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: the 'ordered by one key that the caller chooses, never by a blend' clause faintly signals a difference from a blended comparison, and 'loan profile given as bands' implies a band-based profile lookup. There is no explicit when-to-use or when-not-to-use guidance and no named alternative.

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