Skip to main content
Glama
zencity-product

city-data-mcp

Official

Query Housing Data

query_housing

Fetch housing data for a US, UK, or Canadian city. Get fair market rents, income limits, house prices, and price changes by city name.

Instructions

Get housing data for a city in the US, UK, or Canada.

US: HUD — Fair Market Rents, area median income, income limits. No API key needed. UK: ONS/Land Registry — house prices, annual change. No API key needed. CA: StatCan/CREA — average/median price, price change, housing starts.

Country auto-detected or specify with country parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity name (e.g., 'Denver', 'Manchester', 'Toronto')
countryNoCountry code. Auto-detected from city name if omitted. Required for ambiguous cities like London, Birmingham, Richmond, Hamilton, Cambridge, Windsor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does it reasonably well: it discloses the upstream sources per country and explicitly notes 'No API key needed' for US and UK, which is real auth context an agent cannot get elsewhere. It omits failure modes, rate limits, and return shape, so it is 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?

Front-loaded with the core statement, then per-country breakdowns that each carry distinct information (source, metrics, auth). No filler sentences, though the country-by-country list is on the verbose side for a two-parameter tool.

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?

No output schema and no annotations, so the description must do the work itself — and it largely does, telling the agent what data each country returns and that no credentials are needed. The main gap is return format (shape, units, currency normalization across US/UK/CA), which is left unspecified.

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% and both parameters already document auto-detection and the ambiguous-city caveat, so the description largely repeats the schema. Baseline 3 is correct; it adds no format or syntax detail beyond what the schema provides.

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+resource ('Get housing data') and scopes it precisely to three countries with the data sources and metric families (FMR, median income, house prices, housing starts). It does not differentiate itself from the ~27 siblings, several of which touch adjacent domains (query_cost_of_living, query_permits), so it stops short of a 5.

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 by the resource (call it when you need city-level housing metrics), and it gives one practical rule — country auto-detected, or specify for ambiguous cities. It never states when to prefer a sibling such as query_cost_of_living or query_city_data, and no exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.