get_municipality_context
Official Japanese government data for any municipality, one call — housing vacancy (2003–2023), nearest-station ridership trend, hazard categories, land prices, livability counts. No scores, no judgment — official values only. Accepts a 5-digit municipality code (13104) or an exact name (Shinjuku-ku / 新宿区).
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": {
"name_or_code": "<name_or_code>"
},
"name": "get_municipality_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional comma-separated subset: vacancy,ridership,population,hazard,land_price,livability. | |
| name_or_code | Yes | 5-digit 全国地方公共団体コード (e.g. 13104) or exact municipality name (Shinjuku-ku / 新宿区). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hazard | No | Hazard categories. | |
| vacancy | No | Housing-vacancy counts (2003–2023). | |
| ridership | No | Nearest-station ridership trend. | |
| land_price | No | Published land prices near the centroid. | |
| livability | No | Livability counts. | |
| population | No | Population / future estimate. | |
| attribution | No | Data source(s), license and provenance — an object, or an array of sources. | |
| municipality | No | Resolved municipality + code. | |
| hazard_disclaimer | No | Hazard usage disclaimer. |