get_mortgage_summary
Retrieve mortgage lending summary for a U.S. census tract, county, or state, including origination count, denial rate, median loan amount, median interest rate, loan purpose mix, and loan type mix from HMDA data.
Instructions
Retrieve the mortgage lending summary for a single geographic area (census tract, county, or state) from HMDA data. Returns origination count, denial rate, median loan amount, median interest rate, loan purpose mix, and loan type mix (conventional, FHA, VA, USDA). Source: CFPB/FFIEC HMDA.
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": {
"area_type": "<area_type>",
"geoid": "<geoid>"
},
"name": "get_mortgage_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | HMDA data year (default: most recent available) | |
| geoid | Yes | FIPS code — 11 digits for tract, 5 for county, 2 for state | |
| area_type | Yes | Geographic level: tract (or census_tract), county, or state |