get_mortgage_data
Get Home Mortgage Disclosure Act (HMDA) loan-level data.
Returns mortgage application and origination records reported by
financial institutions under HMDA. At least one geographic filter
(state or county_fips) is recommended to limit results.
Args:
state: Two-letter US state abbreviation (e.g. 'CA', 'TX').
county_fips: Five-digit county FIPS code (e.g. '06037' for LA County).
year: Data year (e.g. 2022). Defaults to 2022 if not specified.
action_taken: Loan action code: '1' (originated), '2' (approved not
accepted), '3' (denied), '4' (withdrawn), '5' (incomplete).
loan_type: Loan type code: '1' (conventional), '2' (FHA-insured),
'3' (VA-guaranteed), '4' (USDA/RHS).
limit: Maximum number of records to return (default 100, max 1000).
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": "get_mortgage_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| limit | No | ||
| state | No | ||
| loan_type | No | ||
| county_fips | No | ||
| action_taken | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |