Lot facts
mml_lot_factsReturns facts about a lot by its row_id: area, perimeter, frontage, traditional custodians, a 0-100 constraint score, each planning and hazard layer checked on the lot (present or not, value, share of the lot), the unconstrained area, how its size compares with the suburb, distances to the coast, parks, water and transmission lines, elevation, and whether boundary files exist. A lot whose report the account bought has every answer, as on Pro. Layers checked on the lot but not included on the account's plan are listed in locked_layers; a locked layer is not absent. Spends no lookup.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"row_id": "<row_id>"
},
"name": "mml_lot_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_id | Yes | The lot's row_id, as returned by the lot search or in the list of purchased reports |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot | Yes | Identity, area, perimeter, frontage, custodians and data date | |
| tier | Yes | ||
| files | Yes | Whether boundary files (DXF, KML, GeoJSON) exist here and this account can download them on the site | |
| score | Yes | 0-100 constraint score (higher is less constrained) and how many answers are withheld | |
| layers | Yes | Layers answered for this account: present or not, value, coverage | |
| nearby | Yes | Distances to the coast, parks, water and transmission lines | |
| report | Yes | ||
| row_id | Yes | ||
| suburb | No | Lot count and median lot area in the suburb | |
| sources | Yes | ||
| view_url | Yes | ||
| elevation | No | ||
| percentile | No | ||
| locked_line | No | Which answers are locked and how they are unlocked; present only when answers are locked | |
| unlocked_by | No | Why this lot's answers are all unlocked: the account's Pro plan, or the report the account bought for this lot (other lots stay at the account's plan) | |
| locked_layers | Yes | ||
| unconstrained | No | Area left after exclusionary layers; locked unless Pro or the report for this lot | |
| more_present_count | Yes | How many locked layers apply to this lot | |
| note_for_assistant | No |