# Score Premises with Your Own Agent

> **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).

**For AI Agent Builder.** Use search_premises with a brief to retrieve and score premises, then paginate using next_cursor to ensure comprehensive data collection for your agent.

> How do I build an agent that scores premises based on a brief?

MCP tool: `search_premises` (REST: POST /v1/claro/search)

## The Problem
Agents need to score premises based on dynamic requirements without manual intervention.

## How it works
1. Call `search_premises` with your `brief` and `check: true` to retrieve results which include `fit` verdicts and `location_sources`.
2. If your results exceed 50, pagination is required. Use `next_cursor` from the response and send it as `cursor` to retrieve subsequent pages.

## Example
```json
POST https://platform.casafari.com/v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
  "brief": "Burger restaurant with smoke outlet, Madrid, under 8000 EUR",
  "check": true,
  "limit": 50
}
```

## What you get
A scored set of premises with fit verdicts, location figures, and agency details.

## Limits
`check` is forced off above 50 results.

## Related use cases

- [Nightly Pipeline into a CRM or BI](https://developers.casafari.com/docs/claro/use-cases/nightly-crm-pipeline)
- [Explain Any Point for Premises Found Elsewhere](https://developers.casafari.com/docs/claro/use-cases/explain-point)
- [Keyword Search from a Simple Form](https://developers.casafari.com/docs/claro/use-cases/keyword-form)
- [Compare a Shortlist for a Dossier](https://developers.casafari.com/docs/claro/use-cases/compare-shortlist)
- [Claro AI FAQ](https://developers.casafari.com/docs/claro/faq)
