Platform
Get started

Casafari is the AI agent-native real estate data intelligence platform. The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries.The most complete property index in Europe: a deduplicated, cleaned property graph.

How the graph is built

AgencyGraph · MCP tool

agencygraph_area_benchmark

Agencies of a town, with the five measures

Read-only9 parameters

Call as agencygraph_area_benchmark on the AgencyGraph MCP server, https://platform.casafari.com/mcp/agencygraph (how to connect).

Over REST: GET /v1/agencygraph/{country}/benchmark (equivalent).

What does Agencies of a town, with the five measures do?

The agencies active in one town (location_id), each with the five measures (portfolio value, growth of new and delisted homes, price cuts and increases, overpricing at the start, time on the market) and its ranks, sorted by the measure you choose (sort). Pages of up to 25, at most the first 100 agencies of the town in that order; every agency of a town is the city dataset, on REST.

Which parameters does agencygraph_area_benchmark take?

countrystringrequired
Country code: ES or PT.
ES PT
location_idintegerrequired
The town: a town or city's location id from locations_search.
≥ 1
type_groupstring
Property type group: all (default), apartment or house.
all apartment house
default "all"
operationstring
sale (default): homes for sale. Rentals are not measured yet.
sale
default "sale"
sortstring
The measure to sort by.
portfolio_value properties share median_price price_per_sqm price_cut_share days_on_market overpricing
default "portfolio_value"
orderstring
asc or desc; default the measure's natural order (fewest days on the market first, the rest largest first).
asc desc
min_propertiesinteger
Leave out agencies with fewer properties (default 5; below 5 the figures are null).
≥ 1default 5
sizeinteger
Rows per page, 1 to 25 (default 25).
1–25default 25
offsetinteger
Rows to skip: the next_offset of the previous page. At most the first 100 agencies of a town (offset + size <= 100).
≥ 0default 0

How do I call agencygraph_area_benchmark?

Required arguments only, with placeholder values. Your assistant fills them in from the parameters above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agencygraph_area_benchmark",
    "arguments": {
      "country": "ES",
      "location_id": 1
    }
  }
}

Tip: add .md to any URL to read it as Markdown.