Analyze Purchasing Power
analyze_purchasing_powerPrice-to-income ratio: years of median income to buy the median property here. Median sale price (same sales as analyze_market_statistics: no VEFA, 1% €/m² trim) over the INSEE Filosofi commune median income. MCP Apps hosts render a visual card of the years of income, median price and income.
REQUIRED, one of: code_postal ("75011"), commune ("LYON", "PARIS 11", uppercase) or code_commune (5-digit INSEE, "75111"). NOT supported: code_departement alone or latitude + longitude (no single income figure): use analyze_market_statistics or find_property_comparables instead.
Returns ratio_prix_revenu (years of income), prix_bien_median, revenu_median_annuel_uc, annee_reference, vintage_gap_years (sale year minus income year: an older income inflates the ratio). ratio_prix_revenu is null when INSEE suppresses the commune's income (small population). Default window: latest 12 months. Caps: commune without type_local → 1 year, else 2 years. Read window.applied when dates are capped or defaulted; a cap starting after date_fin returns window_unavailable (not charged).
Cost: 5 credits per call
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": "analyze_purchasing_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name in uppercase (e.g., 'LYON', 'PARIS 15') | |
| date_fin | No | End date (YYYY-MM-DD) | |
| date_debut | No | Start date (YYYY-MM-DD) — subject to an auto-applied cap on large scopes | |
| type_local | No | Property type filter (default: all) | |
| code_postal | No | Postal code (e.g., '75011') | |
| code_commune | No | INSEE commune code, bypasses commune resolution ('75111', '97209') |