Platform

Casafari es la plataforma de inteligencia de datos inmobiliarios nativa para agentes de IA. El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado de propiedades residenciales y comerciales, en venta y alquiler, en 16 países.El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado.

Cómo se construye el grafo

AgencyGraph · Herramienta MCP

agencygraph_territory

Where an agency works

Solo lectura6 parámetros

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

Over REST: GET /v1/agencygraph/{country}/agencies/{agency_id}/territory (equivalent).

What does Where an agency works do?

One row per town where an agency has homes on the market: properties, its share of the town, portfolio value and its rank there, and new and delisted homes of the latest complete quarter. Largest first, pages of up to 25 towns.

Which parameters does agencygraph_territory take?

countrystringobligatorio
Código de país: ES o PT.
ES PT
agency_idstringobligatorio
An agency's agc_ id from agencygraph_resolve_agency.
pattern ^agc_[0-9A-Za-z]{10,40}$
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
predeterminado "sale"
sizeinteger
Rows per page, 1 to 25 (default 25).
1–25default 25
offsetinteger
Rows to skip: the next_offset of the previous page.
≥ 0valor predeterminado 0

How do I call agencygraph_territory?

Un ejemplo ejecutado en la plataforma antes de publicarlo: funciona tal cual. Su asistente completará sus propios valores con los parámetros anteriores.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agencygraph_territory",
    "arguments": {
      "country": "ES",
      "agency_id": "<agency_id>"
    }
  }
}

Consejo: añada .md a cualquier URL para leerla como Markdown.