Skip to main content
Glama

OpenMortgage

compare lenders

compare_lenders
Read-onlyIdempotent

Two to four lenders, figure by figure, for the same area and loan group.

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": {
      "leis": "<leis>"
    },
    "name": "compare_lenders"
  }
}

Input Schema

NameRequiredDescriptionDefault
leisYesTwo to four LEIs.
metroNoFive-digit metro area code.
segmentNoLoan group id, for example purchase_first or refinance_first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral constraint: all lenders must share the same area and loan group for the comparison to be valid. It does not disclose what metrics are returned or how ties/gaps are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence with no wasted words, which is good, but it is a noun fragment that omits the leading verb and reads as truncated rather than front-loaded. Efficiency here comes at the cost of clarity.

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?

Three fully documented parameters and rich annotations lower the burden, but with no output schema the description should say what 'figure by figure' actually compares (which metrics, what shape). As written, an agent knows the inputs but not what it will receive.

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%, so the schema already documents all three parameters. The description only restates the 2-4 array bounds and implies metro/segment act as a shared scope across all lenders rather than per-lender filters, a small clarification beyond the schema.

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

Purpose3/5

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

The fragment 'Two to four lenders, figure by figure, for the same area and loan group' does convey a side-by-side metric comparison of 2-4 lenders, but it states no verb and never says which figures or what the result looks like. It does not distinguish this from siblings like get_lender_in_area or search_lenders, so the agent must infer the distinction from the name alone.

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 when-to-use guidance and no alternative named. The 'two to four' bound and the 'same area and loan group' constraint are invocation constraints, not routing guidance, so an agent gets no help deciding between this and the other lender tools.

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