Skip to main content
Glama

OpenMortgage

get lender in area

get_lender_in_area
Read-onlyIdempotent

One lender's figures in one state or metro area beside the figures for all lenders there.

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": {
      "lender": "<lender>",
      "metro": "<metro>"
    },
    "name": "get_lender_in_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
metroYesFive-digit metro area code.
lenderYesThe lender's LEI (20 characters) or its page slug.
segmentNoLoan group id, for example purchase_first or refinance_first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety and side effects are covered. The description contributes the useful fact that the response is a side-by-side of one lender against the aggregate for the area, but it does not say how the aggregate is computed, how missing data is handled, or what fields appear — and there is no output schema to fill that gap.

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?

A single front-loaded sentence with no filler; the comparison framing is stated immediately. It is perhaps too terse for a tool with no output schema, but nothing is redundant.

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 simple read-only lookup with fully documented parameters, the essential framing is present. However, with no output schema, the description should say more about what 'figures' comprise and how the all-lender benchmark is scoped, and the state/metro wording is left unresolved.

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%, with patterns and descriptions already documenting metro (five-digit code), lender (LEI or slug) and the optional segment. The description adds no format or selection guidance for these parameters and actually introduces mild confusion by referring to a 'state' even though the schema only accepts a metro code.

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 a specific resource (one lender's figures) and its scope (a single state or metro area), and implicitly contrasts it with an all-lender baseline, which separates it from compare_lenders and get_lender. The weakness is the vague term 'figures' — no indication of which metrics are returned — and the mention of 'state' when only a metro code is accepted.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative among siblings such as compare_lenders or get_lender. The agent must infer from the phrasing alone that this is the single-lender-plus-benchmark query rather than a multi-lender comparison.

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