Check a formula (IFRA and EU allergens)
check_formulaUse this when the user has a perfume or accord formula, pasted or drafted earlier in this conversation, and wants to know whether it is IFRA compliant, how much of the finished product it may be, which line to reduce, or which EU allergens the label must declare. Checks IFRA Category 4 (fine fragrance) at the concentration the user chooses, finds the highest safe concentration and says how far to reduce a line that is over a limit. Give the formula as pasted text (one material per line with an amount) or as structured lines, every line in grams or every line in percent. Amounts are weights: a line in ml or drops cannot be weighed (no density is on file). Whatever is not counted (such a line, a name the catalog does not have, a natural with no breakdown, a dilution's carrier that the catalog does not recognise) is listed in notCounted with its reason; complete is then false, the verdict is never "within limits" and no highest safe concentration is given, while a limit that is exceeded is still reported as exceeded. Does not save anything and does not change the amounts. Returns a link that opens the formula in PerfuMate. For one material's limit use get_material; for a starting recipe use find_starting_formula.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| formula | No | The formula as text, one line per material, e.g. "Hedione 4 g" or "Ambroxan 10% in DPG 2 g". | |
| concentrationPct | No | How much of the finished product the formula is, e.g. 20 for an eau de parfum. |