Food allergen check
wever_food-allergen-checkAgent Food Safety Records: submit allergen control and labeling records with the formulation and production records they answer to: each formulation record with its id, product, the allergens it contains and the moment last changed; each label with its id, reference, product, the allergens it declares, the claims it makes such as Peanut-free, whether it is current or retired and the moment approved; each production run with its id, reference, line, product and the moments it started and ended; each changeover cleaning or verification with its id, reference, line, kind and the moment recorded. The signed report gives the products and the labels, each current label’s declared allergens against the formulation record, each allergen changeover between runs on a line against a cleaning or verification between them, each current label against the latest formulation change, and each allergen-free claim against the allergens the formulation carries, and counts them, and names divergent allergen records: a product whose label record declares allergens that differ from the formulation record, an allergen changeover with no cleaning or verification record between production runs, a label recorded as current that predates the latest formulation change, and an allergen-free claim in the records for a product the formulation record does not support; then a label naming a product no formulation record holds and a changeover record naming a line no production run holds, with the fix for each and what would change the verdict. No labels and no production runs, records with no formulations beside them, or a current label with no approval date beside a dated formulation leaves those points unverified. Products and lines compare by their words without case or punctuation, allergens compare by their usual names with dairy read as milk, soya as soy and plurals folded, a label is read against its product’s latest formulation, a changeover is a run carrying an allergen the next run on the same line does not, and an allergen-free claim is read for the allergens it excludes, with gluten-free excluding wheat, barley and rye and nut-free excluding peanut and every tree nut. This reads whether every allergen label says what the formulation holds and every changeover was cleaned. Verdict food_allergen_divergent, food_allergen_partial, food_allergen_unverified or food_allergen_consistent. POST /api/food-allergen-check. Reads the food safety records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it inspects no facility, takes no temperature, contacts no regulator or auditor and issues no certification, which stay with the business, its food safety team, its regulators and its auditors, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Food Safety Records reads a food business’s own safety records: food safety and HACCP plan records, critical-control-point and temperature monitoring logs, health inspection and third-party audit reports, recall and traceability records, supplier approval and receiving records, sanitation records, allergen and labeling records and corrective action records, each against the monitoring, inspection and corrective-action records, the corrective actions and the schedule, the plan’s limits and equipment, the lot traceability and inventory records, the supplier approvals and certificates, the cleaning schedule and safety data sheets, the formulation and production records or the deviations and verifications on record. The family’s ground is the paper trail behind the food: what the plan requires, what the logs show, what the inspectors found, and whether the fixes and the traceability hold up; the Agent Customs Records family reads the border filings for goods as trade records, and the Agent Automotive family reads vehicle records, while this family reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-food-safety-records-contract. Human page: https://weverlabs.com/agent-food-safety-records/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"formulations": "<formulations>",
"labels": "<labels>",
"runs": "<runs>",
"changeovers": "<changeovers>"
},
"name": "wever_food-allergen-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | Each production run. | |
| label | No | Optional name recorded in the report. | |
| labels | Yes | Each label record. | |
| changeovers | Yes | Each changeover cleaning or verification. | |
| formulations | Yes | Each formulation record. |