Skip to main content
Glama

fhfa_hpi_compare

Read-onlyIdempotent

Compare two to eight US geographies on a consistent FHFA HPI series and rank them by one-year price-index change. Returns latest level, one-year and five-year change, CAGR, recent direction, stable place_id/geography_level fields, and source provenance for later property-market evidence packs. Use this for 'compare home-price momentum in Texas and Florida' or 'which of these metros has stronger five-year appreciation?'. Not a property valuation or investment recommendation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
placesYesTwo to eight exact FHFA place ids or geography names.
frequencyNoObservation frequency. Default quarterly.
hpi_flavorNoFHFA index flavor. Default purchase-only.
index_basisNoIndex column to use. Default seasonally_adjusted.
geography_levelNoOptional exact FHFA geography level to disambiguate state, metro, division, or national series.
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / geography_level / maxLength
      Added value: +100
    • addedInput schema / properties / places / maxItems
      Added value: +8
    • addedInput schema / properties / places / minItems
      Added value: +2
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so safety is covered. The description adds real value beyond them by enumerating the returned measures (latest level, 1y/5y change, CAGR, direction, stable place_id/geography_level, provenance) and stating the ranking behavior. No auth, rate-limit, or pagination context is offered.

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?

Four sentences, front-loaded with the action and scope, then returns, then example use cases, then the boundary. Each sentence contributes distinct information and nothing is redundant.

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

Completeness5/5

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

With no output schema, the description correctly carries the return-value burden by listing the measures produced. Annotations cover the safety profile, parameters are fully documented, and both positive and negative usage boundaries are stated. Nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaning by framing the call as operating 'on a consistent FHFA HPI series', implying frequency/flavor/basis apply uniformly across all requested places, which the schema does not state. It also reinforces the 2-8 cardinality constraint.

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 gives a specific verb+resource (compare US geographies on a consistent FHFA HPI series) plus scope (two to eight) and the ranking key (one-year price-index change). It strongly differentiates from single-series siblings like fhfa_hpi_series by virtue of the multi-geography comparison, but it never names those siblings explicitly.

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?

Two concrete example invocations ('compare home-price momentum in Texas and Florida', 'which of these metros has stronger five-year appreciation?') plus a negative exclusion ('Not a property valuation or investment recommendation') make the intended use clear. It stops short of naming an alternative tool for the excluded cases, so 5 is not warranted.

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.