Area Insights · herramienta MCP
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?
countrystringobligatorioES FR IT PL PT ATlocation_boundaryobjectobligatorio3 propiedades
location_idsinteger[]circleobject2 propiedades
coordinatesobjectobligatorio2 propiedades
latnumberobligatoriolonnumberobligatorioradius_in_metersnumberobligatoriopolygonobject[]2 propiedades
latnumberobligatoriolonnumberobligatoriosold_at_rangeobject4 propiedades
gtecadena (fecha)^\d{4}-\d{2}-\d{2}$gtcadena (fecha)^\d{4}-\d{2}-\d{2}$ltecadena (fecha)^\d{4}-\d{2}-\d{2}$ltcadena (fecha)^\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 propiedades
gtenumbergtnumberltenumberltnumberprice_per_sqm_rangeobject4 propiedades
gtenumbergtnumberltenumberltnumbertotal_area_rangeobject4 propiedades
gtenumbergtnumberltenumberltnumberplot_area_rangeobject4 propiedades
gtenumbergtnumberltenumberltnumberbedrooms_rangeobject4 propiedades
gteintegergtintegerlteintegerltintegerHow do I call area-insights_count_sales_by_type?
Un ejemplo ejecutado en la plataforma antes de publicarlo: funciona tal cual. Su asistente completará sus propios valores con los parámetros anteriores.
{
"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"
}
}
}
}