Skip to main content
Glama

OpenMortgage

list lenders in area

list_lenders_in_area
Read-onlyIdempotent

The release lists lenders with at least 50 applications in one state or metro area for one loan group. It includes their figures and counts. The caller chooses one sort key. The list never combines keys.

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": {
      "area": "<area>"
    },
    "name": "list_lenders_in_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesA five-digit metro area code or a two-letter state code identifies the area.
sortNoThe caller chooses one sort key: applications, name, denial, spread or costs.
limitNoThe limit sets how many lenders to return, up to 50.
segmentNoLoan group id, for example purchase_first or refinance_first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds useful scope behavior beyond that — the 50-application inclusion threshold and the rule that a single sort key is used and keys are never combined — but says nothing about pagination or the shape of the returned figures and counts.

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?

Four short sentences with the inclusion threshold and area scope front-loaded. The two sentences about sort keys are slightly repetitive but each carries a distinct constraint (single key vs no combination), so little is wasted.

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 listing tool with four fully documented parameters and no output schema, the description covers scope and sorting but leaves the return payload vague ('their figures and counts') and never says whether segment is required, how the limit interacts with the 50-application threshold, or whether results are ranked beyond the sort key.

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, but the description adds real meaning about the sort enum: one key at a time, never combined. It also frames the area and segment scope as 'one state or metro area' and 'one loan group', reinforcing the schema's pattern and maxLength constraints.

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?

Names a specific verb and resource ('lists lenders') and adds real scope: at least 50 applications, one state or metro area, one loan group. It stops short of explicitly distinguishing this from siblings like get_lender_in_area or search_lenders, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, and no alternative tool is named. The only usage-like content is the sort-key constraint, which is parameter behavior rather than tool selection guidance.

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