Skip to main content
Glama

OpenMortgage

get lender

get_lender
Read-onlyIdempotent

One lender's facts, name history, parent, exemption status and national figures for each loan group, with counts.

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>"
    },
    "name": "get_lender"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
lenderYesThe lender's LEI (20 characters) or its page slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / year / minimum
      Previous value: -2023New value: +2018
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description contributes the shape of the returned content ('with counts'), which is useful, but says nothing about failure behavior for an unknown LEI, how a missing/omitted year is handled, or what happens if the slug is ambiguous.

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 dense sentence that front-loads the resource scope and then lists returned fields, with no filler. It is efficient, though the comma-separated field list is slightly opaque and could be ordered by importance.

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?

With no output schema, the description must convey the return shape, and it does roughly enumerate the fields returned. But it omits the effect of the 'year' parameter and any default behavior, which matter for correct invocation of this two-parameter lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: the 'lender' parameter is documented as an LEI or page slug, but the 'year' parameter has bounds (2018-2100) with no stated meaning, and the description never mentions 'year' or what it controls. The description therefore fails to compensate for the undocumented parameter, leaving a genuine semantic gap.

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 (a single lender) and enumerates the payload it returns: facts, name history, parent, exemption status, and national figures per loan group with counts. That is far more concrete than the title 'get lender', though it never distinguishes this from overlapping siblings such as get_lender_history, which appears to cover the same name-history data.

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 statement, no prerequisites, and no reference to alternatives, despite siblings like get_lender_history, get_lender_complaints, and compare_lenders that plausibly serve adjacent needs. The agent must infer that this is the general profile lookup rather than a targeted sub-resource call.

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