Skip to main content
Glama

datasets_housing_markets_search

Read-only

Search monthly U.S. housing-market statistic records from Redfin, joined with Census income for affordability. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Filter by region_type (national, metro, county, city, or ZIP), property type, price, inventory, or affordability; use datasets_housing_markets_facets for filter values or datasets_housing_markets_item for one region.

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over region name and city, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, price_desc, price_asc, list_price_desc, list_price_asc, price_to_income_desc, price_to_income_asc, salary_to_buy_desc, salary_to_buy_asc, dom_asc, dom_desc, inventory_desc, homes_sold_desc, period_desc. Defaults to relevance with q, price_to_income_desc with latest=true, otherwise period_desc.
latestNoOptional filter for the most recent period per region and property type; true keeps only each series' latest row.
periodNoOptional exact period start date filter in YYYY-MM-DD form, e.g. 2026-05-01.
zip_codeNoOptional exact zip code filter (zip-level rows only), e.g. 60616.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
state_codeNoOptional exact two-letter state code filter, e.g. CA.
region_typeNoOptional region level filter. Allowed values: national, metro, county, city, zip.
max_inventoryNoOptional maximum active inventory, 0 or greater.
min_inventoryNoOptional minimum active inventory (listings for sale), 0 or greater.
property_typeNoOptional property type filter. Allowed values: All Residential, Single Family Residential, Condo/Co-op, Townhouse, Multi-Family (2-4 Unit), Single Units Only.
max_median_domNoOptional maximum median days on market, 0 or greater.
min_homes_soldNoOptional minimum homes sold in the period, 0 or greater.
min_median_domNoOptional minimum median days on market, 0 or greater.
max_salary_to_buyNoOptional maximum salary needed to buy in USD per year, 0 or greater.
min_salary_to_buyNoOptional minimum salary needed to buy the median home in USD per year, 0 or greater.
parent_metro_codeNoOptional exact parent metro (CBSA) code filter, e.g. 16980 for Chicago.
max_price_to_incomeNoOptional maximum price-to-income ratio, 0 or greater.
min_price_to_incomeNoOptional minimum price-to-income ratio (median sale price over ACS median household income), 0 or greater.
max_median_list_priceNoOptional maximum median list price in USD, 0 or greater.
max_median_sale_priceNoOptional maximum median sale price in USD, 0 or greater.
min_median_list_priceNoOptional minimum median list price in USD, 0 or greater.
min_median_sale_priceNoOptional minimum median sale price in USD, 0 or greater.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds a genuinely useful behavioral fact not in annotations: the credit cost (1 per record, minimum 2) and the advice to keep page_size down. It stops short of describing pagination limits or return shape, hence not a 5.

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?

Three sentences, all front-loaded and purposeful: purpose first, cost second, routing/filter guidance third. No filler, though the region_type enumeration slightly duplicates the schema.

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?

With an output schema present, return values need no explanation, and the description covers purpose, cost, filtering, and sibling routing. Complete enough for correct invocation, with only minor gaps on pagination/limit semantics.

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 the schema already documents all 24 parameters including enums like region_type and property_type. The description only restates region_type values and points to filter categories, adding marginal meaning beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Search) and resource (monthly U.S. housing-market statistic records from Redfin joined with Census income for affordability). It also distinguishes itself from siblings by naming facets and item tools, so an agent can tell it apart without opening schemas.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use datasets_housing_markets_facets for filter values and datasets_housing_markets_item for a single region. It also explains the region_type and filter categories to use, giving clear when-to-use guidance and named alternatives.

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.