Skip to main content
Glama

US CFPB HMDA Mortgage Lending Data MCP

List HMDA mortgage filers

list_hmda_mortgage_filers
Read-onlyIdempotent

List HMDA reporting mortgage lenders (with LEI, institution name, and filing count) for a US state and reporting year, with optional name or LEI search.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_hmda_mortgage_filers"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoHMDA reporting year (default 2023).
limitNoMaximum number of top filers to return (default 20, max 100).
queryNoOptional institution name or LEI substring filter (e.g. "Wells Fargo", "Chase", "Rocket").
stateNoTwo-letter US state postal code (default "CA").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 openWorld, so the safety profile is covered. The description adds the useful fact that results carry LEI, institution name and filing count (valuable since no output schema exists), but says nothing about ordering, ranking semantics of 'top filers', data freshness or limits beyond what the schema states.

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 well-formed sentence with the resource and scope front-loaded and the returned fields parenthesised; no filler. Slightly compressed to the point that the ranking/sorting behaviour of the tool is never addressed.

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 simple filtered-list tool with full schema coverage and annotations covering safety, the definition is largely sufficient, and it helpfully names the returned fields in the absence of an output schema. The main gap is the meaning of 'top filers' ordering and how the query filter interacts with the limit.

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 description coverage is 100%, so all four parameters (year, state, limit, query) are already documented with defaults and ranges. The description only restates the state/year scope and the optional name-or-LEI search, adding no formatting or edge-case meaning beyond the schema.

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?

Specific verb+resource: 'List HMDA reporting mortgage lenders' with the scope 'for a US state and reporting year' and the returned fields named. It does not explicitly distinguish itself from the closest sibling, get_hmda_filer_count_by_state_year, so an agent must infer the difference between listing filers and counting them.

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

Usage Guidelines3/5

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

Usage is only implied by the parameter set (state + year + optional query); there is no explicit 'use this when' or any exclusion relative to the aggregations/compare/count siblings. An agent can reasonably guess the intended use, but nothing in the text routes it away from the neighbouring 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.