# `agencygraph_agency_profile`

> **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. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

Agency profile. Product: [AgencyGraph](/docs/agencygraph). Annotations: Read-only.

Call as `agencygraph_agency_profile` on the AgencyGraph MCP server, `https://platform.casafari.com/mcp/agencygraph` ([how to connect](/docs/agencygraph/mcp)).

Over REST: [`GET /v1/agencygraph/{country}/agencies/{agency_id}`](/docs/rest/agencygraph#one-agency-towns-five-measures-quarters) (equivalent).

## What does Agency profile do?

One agency in one country: trading names, websites, network, totals, new and delisted homes for the last four quarters, and its largest towns (up to 25), each with the five measures for all homes, apartments and houses and its rank and percentile among the town's agencies.

## Which parameters does agencygraph_agency_profile take?

- `country` (string, required): Country code: ES or PT. Values: `ES`, `PT`.
- `agency_id` (string, required): An agency's agc_ id from agencygraph_resolve_agency. pattern `^agc_[0-9A-Za-z]{10,40}$`.
- `operation` (string, optional): sale (default): homes for sale. Rentals are not measured yet. Values: `sale`. default "sale".

## How do I call agencygraph_agency_profile?

Required arguments only, with placeholder values; see the parameters above for real ones.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agencygraph_agency_profile",
    "arguments": {
      "country": "ES",
      "agency_id": "…"
    }
  }
}
```

## Related pages

- [Countries and weekly builds (agencygraph_coverage)](/docs/agencygraph/coverage)
- [One country in detail (agencygraph_country_coverage)](/docs/agencygraph/country_coverage)
- [Find an agency (agencygraph_resolve_agency)](/docs/agencygraph/resolve_agency)
- [Agencies of a town, with the five measures (agencygraph_area_benchmark)](/docs/agencygraph/area_benchmark)
- [AgencyGraph: overview](/docs/agencygraph)
- [AgencyGraph MCP server: connect and examples](/docs/agencygraph/mcp)
- [AgencyGraph REST API](/docs/rest/agencygraph)
