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: no operation in the public API description does this. 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?
countrystringrequiredES FR IT PL PT ATlocation_boundaryobjectrequired3 properties
location_idsinteger[]circleobject2 properties
coordinatesobjectrequired2 properties
latnumberrequiredlonnumberrequiredradius_in_metersnumberrequiredpolygonobject[]2 properties
latnumberrequiredlonnumberrequiredsold_at_rangeobject4 properties
gtestring (date)^\d{4}-\d{2}-\d{2}$gtstring (date)^\d{4}-\d{2}-\d{2}$ltestring (date)^\d{4}-\d{2}-\d{2}$ltstring (date)^\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 properties
gtenumbergtnumberltenumberltnumberprice_per_sqm_rangeobject4 properties
gtenumbergtnumberltenumberltnumbertotal_area_rangeobject4 properties
gtenumbergtnumberltenumberltnumberplot_area_rangeobject4 properties
gtenumbergtnumberltenumberltnumberbedrooms_rangeobject4 properties
gteintegergtintegerlteintegerltintegerHow do I call area-insights_count_sales_by_type?
Required arguments only, with placeholder values. Your assistant fills them in from the parameters above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "area-insights_count_sales_by_type",
"arguments": {
"country": "ES",
"location_boundary": {
"location_ids": [
1
]
}
}
}
}