Area Insights · MCP-Tool
area-insights_count_sales_by_type
Number of registered sales by property type
Call it as area-insights_count_sales_by_type on the Area Insights MCP server, https://platform.casafari.com/mcp/area-insights (how to connect).
Over REST: POST /v1/area-insights/sales/count-by-type (equivalent). MCP and REST compared.
What does Number of registered sales by property type do?
How many registered sales an area of Spain, France, Italy or Poland had (Portugal has no sales counts), by property type: what kind of properties actually sell there. empty_type_count counts sales whose property type the source does not give. Give country and location_boundary; sold_at_range and the other filters narrow the sales counted. Sale prices, not asking prices: for asking prices use the other Area Insights tools.
Which parameters does area-insights_count_sales_by_type take?
countryZeichenfolgeerforderlichES FR IT PL PT ATlocation_boundaryobjecterforderlich3 Immobilien
location_idsinteger[]circleobject2 Eigenschaften
coordinatesobjecterforderlich2 Eigenschaften
latnumbererforderlichlonnumbererforderlichradius_in_metersnumbererforderlichpolygonobject[]2 Eigenschaften
latnumbererforderlichlonnumbererforderlichsold_at_rangeobject4 Immobilien
gtestring (Datum)^\d{4}-\d{2}-\d{2}$gtstring (Datum)^\d{4}-\d{2}-\d{2}$ltestring (Datum)^\d{4}-\d{2}-\d{2}$ltstring (Datum)^\d{4}-\d{2}-\d{2}$typesstring[]^[a-z][a-z_]*$type_groupsstring[]apartment house room building investment plot otherconditionsstring[]used ruin very-good new otherwith_mortgagebooleanprice_rangeobject4 Immobilien
gtenumbergtnumberltenumberltnumberprice_per_sqm_rangeobject4 Immobilien
gtenumbergtnumberltenumberltnumbertotal_area_rangeobject4 Immobilien
gtenumbergtnumberltenumberltnumberplot_area_rangeobject4 Immobilien
gtenumbergtnumberltenumberltnumberbedrooms_rangeobject4 Immobilien
gteintegergtintegerlteintegerltintegerHow do I call area-insights_count_sales_by_type?
Ein Beispiel, das vor der Veröffentlichung auf der Plattform ausgeführt wurde: Es funktioniert so wie es ist. Ihr Assistent füllt Ihre eigenen Werte basierend auf den oben genannten Parametern aus.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "area-insights_count_sales_by_type",
"arguments": {
"country": "ES",
"location_boundary": {
"circle": {
"coordinates": {
"lat": 40.4168,
"lon": -3.7038
},
"radius_in_meters": 1000
}
},
"sold_at_range": {
"gte": "2024-01-01",
"lte": "2025-12-31"
}
}
}
}