Skip to main content
Glama

Get a loan officer by NMLS ID

get_loan_officer
Read-onlyIdempotent

Use this when you have a mortgage loan officer's individual NMLS ID and need their full profile. Returns LenDb's sourced record: name, title, current lender and branch, employment history, state licenses with license confidence, specialties (such as FHA, VA, bank statement or DSCR) with the evidence for each, languages spoken, stated experience, the earliest state license record, public links (such as their page on the lender's site), disciplinary_check ('not_checked' means LenDb has not yet checked regulator records), the date the record was last verified and a canonical_url. US only. Phone numbers and email addresses are not returned; the LenDb profile page shows them after a human check.

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": {
      "nmls_id": "<nmls_id>"
    },
    "name": "get_loan_officer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nmls_idYesIndividual NMLS ID, digits only, e.g. 452476.

Output Schema

NameRequiredDescriptionDefault
noticeNo
sampleNoTrue when the data is fictional sample data.
loan_officerYes
canonical_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / loan_officer / properties / own_words
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "confidence": {
      +        "enum": [
      +          "self_reported"
      +        ],
      +        "type": "string"
      +      },
      +      "phrase": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "enum": [
      +          "lo_provided"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "phrase",
      +      "confidence",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / loan_officer / properties / wholesale_partners
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "confidence": {
      +        "enum": [
      +          "self_reported"
      +        ],
      +        "type": "string"
      +      },
      +      "lender_name": {
      +        "type": "string"
      +      },
      +      "lender_nmls_id": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "lender_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source": {
      +        "enum": [
      +          "lo_provided"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "lender_name",
      +      "lender_nmls_id",
      +      "lender_url",
      +      "confidence",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / loan_officer / properties / reported_employers
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "company_name": {
      +        "type": "string"
      +      },
      +      "company_nmls_id": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "confidence": {
      +        "enum": [
      +          "self_reported"
      +        ],
      +        "type": "string"
      +      },
      +      "source": {
      +        "enum": [
      +          "lo_provided"
      +        ],
      +        "type": "string"
      +      },
      +      "state": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "company_name",
      +      "company_nmls_id",
      +      "state",
      +      "confidence",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/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 description is not obliged to restate safety. It still adds real context: the returned fields, the meaning of disciplinary_check='not_checked', a last-verified date, and the notable exclusion of phone/email (available only after a human check on the profile page). That last point is behavior an agent cannot get from annotations or schema.

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

Conciseness5/5

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

The trigger condition is front-loaded in the first sentence, followed by the payload description and closing constraints. The field enumeration is dense but single-clause and skimmable, with no filler or duplicated sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with full annotation coverage and an output schema, this is close to complete: it covers scope, the nature of the record, and known gaps in the data. The only missing piece is failure behavior when the NMLS ID is unknown or invalid. Some of the return-field listing duplicates the output schema, but it still clarifies field semantics.

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?

Only one parameter and schema description coverage is 100%, with the pattern and an example (452476) already documented in the schema. The description reinforces that this is the individual (not institution) NMLS ID, which adds modest value beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose5/5

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

States a precise verb-plus-resource (retrieve a loan officer's full profile) and the exact key that addresses it (individual NMLS ID), plus a geographic scope (US only). The 'when you have the ID' framing implicitly separates it from the find_loan_officers search sibling, so an agent can route without opening either schema.

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

Usage Guidelines4/5

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

The opening sentence gives an explicit trigger condition: you already hold a specific NMLS ID and want the full profile. It also states a hard constraint (US only) and a privacy caveat. It stops short of naming find_loan_officers as the alternative when no ID is known, or stating what to do when the ID is not found.

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