Skip to main content
Glama

Flat Finder — India Housing Society Intelligence

breakdown

Read-onlyIdempotent

Group the societies that fit the same filters as search_societies and summarise each group: how many societies, median buy price and rent, median size, rating, and how many have room sizes read. Supports grouping by locality, bhk, type, status, developer, amenity, metro_distance, rent_band, price_band, water_zone, gwr_block, or gba_corp.

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": "breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
bhkNoBHK types, e.g. [3,4]
topNoMost groups to return, largest first
cityNoCity id, e.g. "bangalore" or "gurgaon"gurgaon
modeNoWhich price the budget and price sorting usebuy
typesNoUse ["any"] for every type
has_ocNoOnly societies with K-RERA or HRERA Occupancy Certificate (OC) on record
nearbyNoDefault distances: park 500 m, metro 1.5 km, school 1 km, hospital 2 km, shopping 1.5 km, mosque 1 km
max_aqiNoMaximum trailing-14d CPCB station AQI (regional estimate; check station distance km)
group_byNolocality
amenitiesNoAll must be present: "squash","pool","gym","club","tennis","badminton","jogging","kids", or any exact amenity name
localitiesNoSectors or localities, e.g. ["Whitefield", "Sarjapur Road"] or ["Sector 56", "Golf Course Road"]. Matches the locality exactly, or as its start ("Sohna" also matches "Sohna Road"). Use list_localities to see names.
max_park_mNoMax distance in metres to nearest park (e.g. 300, 500, 1000, 2000)
min_ratingNoResident rating out of 5
water_zoneNoPiped-water administrative zone: Bengaluru Cauvery (core_bbmp, stage5_110_villages, outside_bbmp) or Gurugram GMDA canal (gmda_core_canal, gmda_expanding, sohna_outer)
max_metro_mNoMax distance in metres to nearest operational metro (or rail in non-strict cities), e.g. 500, 1000, 1500, 2000, 3000
max_mosque_mNoMax distance in metres to nearest mosque (e.g. 500, 1000, 1500, 2000, 3000)
max_rent_inrNoMonthly rent budget in rupees
max_school_mNoMax distance in metres to nearest school (e.g. 500, 1000, 1500, 2000, 3000)
min_rent_inrNo
within_km_ofNoOnly societies within km of a point, e.g. an office. Results then show distance_km.
max_home_sqftNo
max_price_inrNoBuy budget in rupees
min_home_sqftNo
min_price_inrNo
name_containsNoWords that must appear in the society name, developer or locality, e.g. "Prestige" or "DLF"
ready_to_moveNo
max_hospital_mNoMax distance in metres to nearest hospital (e.g. 500, 1000, 2000, 3000)
max_shopping_mNoMax distance in metres to nearest mall/supermarket (e.g. 500, 1000, 1500, 2000, 3000)
min_bedroom_ftNoSmallest bedroom sides in feet, e.g. [11.25, 12.25]
core_khata_onlyNoOnly Bengaluru societies sanctioned by BBMP/BDA (Core Municipal A-Khata tier)
nearby_within_mNoCustom distances in metres, e.g. {"metro": 800, "mosque": 500}. Overrides defaults for keys: park, metro, rail, school, hospital, shopping, mosque
top_school_onlyNoWhen filtering near schools, require reputed CBSE/ICSE/IB/IGCSE schools only
include_unpricedNoWhen true, societies with unknown price still pass budget filters
min_bedroom_sqftNoSmallest bedroom area in sq ft (1 gaj = 9 sq ft). Use instead of min_bedroom_ft.
include_estimatesNo
min_flood_point_mNoMinimum distance in metres from mapped flood-prone road/junction points (e.g. 500)
min_open_area_pctNoMinimum Propsoch site open-area percentage (e.g. 60)
top_hospital_onlyNoWhen filtering near hospitals, require major multi-specialty hospitals only
exclude_flight_pathNoExclude societies under BLR/HAL/IGI flight approach corridors
exclude_adverse_reraNoExclude lapsed, revoked, withdrawn, rejected, or >=5-complaint RERA projects
exclude_low_lying_handNoExclude societies on low-lying terrain (Copernicus GLO-30 HAND < 2.0 m above nearest drainage)
exclude_highway_frontageNoExclude societies within 120 m of major motorway/trunk highways

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed-world read, so the burden is lower. The description still adds real value: it discloses that results are per-group medians and counts rather than raw rows, lists the permissible grouping dimensions, and surfaces a data-quality signal ("how many have room sizes read") that tells the agent some groups are partially populated.

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?

Two sentences, front-loaded with the verb and the output contract, with no filler. The closing list of twelve group_by values largely duplicates the schema enum, which is the one place the text could have been trimmed.

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?

For a 42-parameter aggregation tool with no output schema, the description does the essential work: it names the summary metrics returned and frames filtering as shared with search_societies. It omits the default result cap and largest-first ordering, both of which live in the schema, but nothing critical to calling it correctly is missing.

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 83%, so the schema already documents most of the 42 parameters including ranges, defaults, and units. The description adds no meaning beyond that — its group_by enumeration merely repeats the enum values verbatim — so the baseline 3 applies.

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?

The description opens with a specific verb and resource: "Group the societies that fit the same filters as search_societies and summarise each group," then enumerates exactly what each group contains (count, median buy price and rent, median size, rating, room-size coverage). This cleanly separates it from search_societies, which returns individual societies rather than aggregates.

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?

Saying the tool uses "the same filters as search_societies" usefully ties filter semantics to a sibling, but the description never states the decision rule: when an agent should aggregate instead of listing, or what to do when a group_by field isn't applicable. Usage is implied rather than stated, and no alternative (compare_societies, get_society) is named or excluded.

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.