Skip to main content
Glama

ANJU Singapore Property Search

HDB resale price history and fair-price check

hdb_price_history
Read-onlyIdempotent

HDB resale prices from HDB's official records (data.gov.sg) for a town and flat type, optionally a street or block: median, middle half, range, price per sqft, trend, a quarterly series and the newest sales. With an asking price or an ANJU HDB listing, also a fair-price read against comparable sales. HDB resale only, not condos or landed. Examples: {"town":"Tampines","flat_type":"4 Room"} · {"listing":"imp-3f9a…"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hdb_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
townNoThe HDB town as HDB names it ("Kallang/Whampoa"). Required unless listing is given.
blockNoA block number on that street, e.g. "456A". Needs street.
monthsNoMonths back, 6 to 60 (default 24); the trend compares the newer half with the older.
streetNoA street in the town, as HDB writes it or in full ("Tampines St 81"). Needs town.
listingNoAn ANJU HDB listing "id" or "url": its town, type, street, size and price are used for a fair-price read.
flat_typeNo"4 Room" has 3 bedrooms, "5 Room" 3 and a study. Leave out for every type (then at most 24 months).
floor_area_sqmNoFloor area in sqm (1 sqm = 10.764 sqft), to compare price per sqft too.
asking_price_sgdNoAn asking price in SGD (650k = 650000) to check against sales. Needs flat_type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description usefully adds data provenance (HDB's official records via data.gov.sg) and enumerates what is returned. It stops short of any behavioural caveats such as data latency, minimum sample sizes for a block-level read, or what happens when a street/block yields too few sales — meaningful gaps for a statistics tool with no output schema.

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 dense sentences that front-load the data source and returned metrics, then the fair-price extension, then scope and examples. Every clause carries information, though the middle section packing many return values into one sentence makes it slightly heavy to scan.

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 eight all-optional parameters and no output schema, the description carries the return-value burden itself and does so by enumerating the exact statistics produced. It also covers the two distinct invocation modes (statistics lookup vs. fair-price check) and the asset-class boundary, leaving nothing an agent needs in order to call it correctly.

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 the baseline is 3; the description earns above that by explaining cross-parameter behaviour the schema cannot: passing a listing or asking_price_sgd switches on the fair-price comparison, and town/flat_type are the everyday anchor combination. The worked examples map parameters to realistic call shapes rather than restating field descriptions.

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 resource and verb: HDB resale prices from data.gov.sg official records, returning median, middle half, range, price per sqft, trend, quarterly series and newest sales, plus an optional fair-price read. It also carves out scope explicitly ("HDB resale only, not condos or landed"), which separates it from the listing-search siblings that handle broader property types.

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?

Gives clear triggering conditions — "With an asking price or an ANJU HDB listing, also a fair-price read" — and two concrete call examples showing the town+flat_type path and the listing path. It does not, however, name an alternative to use instead when the agent wants raw listings rather than price statistics, so routing is implied rather than explicit.

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.