Analyze Price Trends
analyze_price_trendsPrice evolution over time, for market timing. MCP Apps hosts render an interactive line chart of prices and sales volume.
REQUIRED: one of code_postal, commune (uppercase; Paris by arrondissement: "PARIS 11"), code_departement, or latitude + longitude (mapped to a nearby DVF postal code, not a radius trend; an area filter wins). Optional: type_local, pieces_min/pieces_max (rooms, with Appartement|Maison; not code_departement alone), granularity ("month" | "quarter" default | "year"), date_debut/date_fin.
Returns median/avg prices per period, YoY changes, the total change and overall_trend on median €/m² (summary.change_basis) between the first and last whole periods (summary.change_periods): beyond ±2 %/year "increasing" | "decreasing", else "stable". Under 10 sales in the first or last period: overall_trend and change % are null, summary.low_sample true (summary.sample_size). A YoY change needs 10 sales in both periods. A window under 12 months gets overall_trend: null. Default window: 5 years. Caps, back from date_fin (period-aligned): code_departement alone → 3 years; commune or code_postal → 2 years. Read window.applied when dates are capped or defaulted; a cap starting after date_fin returns window_unavailable (not charged).
Example: {commune: "PARIS 11", type_local: "Appartement"}
Cost: 10 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_price_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | City/commune name (e.g., 'PARIS') | |
| date_fin | No | End date YYYY-MM-DD (default: data_as_of) | |
| latitude | No | Point latitude (requires longitude) | |
| longitude | No | Point longitude | |
| date_debut | No | Start date YYYY-MM-DD | |
| pieces_max | No | Max pièces | |
| pieces_min | No | Min pièces (rooms, not bedrooms) | |
| type_local | No | Property type | |
| code_postal | No | Postal code (e.g., '75001') | |
| granularity | No | Time granularity (default: quarter) | quarter |
| exclude_vefa | No | ||
| code_departement | No | Department code (e.g., '75') | |
| exclude_bulk_sales | No |