Skip to main content
Glama

Crawlora MCP

datasets_housing_markets_facets

Read-only

Returns terms aggregation counts over the US housing markets dataset, honoring the same filters as search. Use alongside the related search tool to inspect filter counts under the same query filters.

Input Schema

TableJSON 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.
facetYesRequired facet to aggregate. Allowed values: region_type, state_code, property_type, parent_metro, parent_metro_code, income_vintage, is_latest, period_begin.
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

TableJSON 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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior: it is an aggregation endpoint and it 'honors the same filters as search,' which matters for consistency of counts. It does not discuss pagination or result-size behavior.

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?

Two tightly-packed sentences with the core function front-loaded and the usage hint second. No filler or restated name.

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?

An output schema exists, so return values need not be described. The description covers the aggregation semantics and filter parity with search, which is what an agent needs to call it correctly. Minor gaps remain around whether pagination parameters have meaning for facets.

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% across all 25 parameters, so the schema already documents q, facet, and every filter. The description only adds that the filter set mirrors the search tool; it does not explain the required facet values or how page/page_size interact with an aggregation response. Baseline 3 is correct.

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?

States a specific verb and resource: 'Returns terms aggregation counts over the US housing markets dataset.' An agent can distinguish it from the related search tool, which returns rows rather than counts. It does not name the sibling by exact name, but the function is clear.

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?

Tells the agent to use it 'alongside the related search tool to inspect filter counts under the same query filters,' which implies a companion usage pattern. It does not state when this tool should be preferred over or skipped in favor of datasets_housing_markets_search, leaving some inference to the agent.

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.

Resources