# How do I lint a Curbi policy before I use it?

Call the read-only MCP tool validate_policy with your policy. It applies the same schema rules as policy_check, then warns about likely mistakes: no rules, duplicate or overlapping item names, aliases that drop the item name, duplicate forbid ids or phrases, prices that cannot be stated in cents, and rules the checker never fires on. Nothing is stored.

- [MCP tools](https://curbi.io/mcp/)

Updated 2026-10-27. Public access.

## Try a configured check

This public example checks a reply against a configured price; it does not authorize an action or establish a provider outcome.

```sh
curl -sS https://api.curbi.io/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"policy":{"prices":[{"item":"Starter","amount":49}]},"reply":"Starter is $99."}'
```

Expect `pass: false` with `price:mismatch`.

Next: [install a framework adapter](https://curbi.io/connect/) or [start with a working policy](https://curbi.io/policies/).
