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?
countrystringrequiredES PTagency_idstringrequired^agc_[0-9A-Za-z]{10,40}$type_groupstringall apartment houseoperationstringsalesizeintegeroffsetintegerHow do I call agencygraph_territory?
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": "agencygraph_territory",
"arguments": {
"country": "ES",
"agency_id": "…"
}
}
}