Skip to main content
Glama

Hmda Geography Activity

hmda_geography_activity
Read-onlyIdempotent

Mortgage lending in a place, how many applications were originated, denied or withdrawn in a county or state in a given year, with dollar volume, from the federal HMDA register. Break the answer down by applicant race, ethnicity, sex, loan purpose or loan type to see how outcomes differ across groups, which is the fair-lending question this data exists to make answerable. Covers 2018-2025.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2023,
      "action": "denied",
      "county": "11001",
      "breakdown": "race"
    },
    "name": "hmda_geography_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoFiling year, 2018-2025. Defaults to the most recent published.
stateNoTwo-letter state, e.g. "TX". Give a county OR a state.
actionNoOptional outcome filter: originated | approved_not_accepted | denied | withdrawn | incomplete | purchased. Omit to see every outcome side by side.
countyNo5-digit county FIPS, e.g. "11001" for the District of Columbia.
breakdownNoOptional dimension to split by: race | ethnicity | sex | loan_purpose | loan_type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, open-world read; the description goes further by disclosing the data source (federal HMDA register), the temporal coverage (2018-2025), that dollar volume is included, and that results are aggregated counts by outcome. It does not mention small-cell suppression, result limits, or default aggregation behavior, which are the remaining behavioral unknowns.

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?

Two front-loaded sentences plus a short coverage note; the purpose and the group-comparison use case come first. Some phrasing is discursory ('which is the fair-lending question this data exists to make answerable') but nothing is genuinely redundant with the schema.

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 and zero required parameters, the description does a reasonable job of conveying what comes back (counts by outcome plus dollar volume) and the breakdown semantics. It stops short of describing return shape, pagination, or how geographic aggregation interacts with state versus county scoping, which matters for an agent building a query.

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 coverage is 100%, so all five parameters are already documented, and the description mostly restates the county/state choice and the year range rather than adding format or interaction rules. The one value-add is the rationale that breakdown splits outcomes across race/ethnicity/sex/loan purpose/loan type for comparison, but the mechanics are left to 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?

The description names a concrete resource and scope: aggregated HMDA mortgage application outcomes (originated/denied/withdrawn) with dollar volume, at county or state level, 2018-2025. An agent can distinguish this from lender-level siblings such as hmda_lender_activity or hmda_lenders_in_county, though it never explicitly states that contrast.

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 implied rather than stated: the fair-lending framing suggests when the breakdown parameter matters, and the schema-level note that a county OR state should be given is repeated. There is no explicit when-not guidance and no named alternative for questions that this tool would answer poorly (e.g. per-lender or per-loan questions).

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.