Skip to main content
Glama

Food supplier check

wever_food-supplier-check
Read-only

Agent Food Safety Records: submit supplier approval and receiving records with the certificates and reviews they answer to: the moment the records are read at; each supplier approval record with its id, reference, name, status (approved, conditional, suspended or removed), the moment approved and the days its record allows between reviews; each supplier certificate or guarantee with its id, reference, supplier, kind and the moment it expires; each receiving log entry with its id, reference, supplier, the lot code received, the product, the moment received and the certificate or guarantee it relies on; each supplier review with its id, reference, supplier and the moment reviewed. The signed report gives the receiving log and the suppliers, each supplier in the receiving log against an approval record in force, each certificate or guarantee a receipt relies on against its stated expiry, each received lot against the supplier and lot code behind it, and each approved supplier’s latest review against its approval record’s schedule, and counts them, and names divergent supplier records: a supplier appearing in the receiving log with no approval record on file, a supplier certificate or guarantee past its stated expiry that receiving still relies on, a received lot with no supplier or lot record behind it, and a supplier review recorded overdue against the approval record’s own schedule; then a receiving entry relying on a certificate the records do not hold and a review naming a supplier the approval records do not hold, with the fix for each and what would change the verdict. No receiving log entries, or a review schedule with no reading moment, leaves those points unverified. Suppliers match by reference or by name without case, punctuation or company endings, certificates, entries and reviews match by letters and digits, a supplier reads as approved when its record is approved or conditional, a certificate expires after the day it states, and a review falls due once more days have passed since the latest review, or the approval when none is recorded, than the record allows. This reads whether every food lot received came from an approved supplier on current paperwork, with its supplier and lot on record. Verdict food_supplier_divergent, food_supplier_partial, food_supplier_unverified or food_supplier_consistent. POST /api/food-supplier-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": {
      "suppliers": "<suppliers>",
      "certificates": "<certificates>",
      "receiving": "<receiving>",
      "reviews": "<reviews>"
    },
    "name": "wever_food-supplier-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, such as 2026-03-02.
labelNoOptional name recorded in the report.
reviewsYesEach supplier review.
receivingYesEach receiving log entry.
suppliersYesEach approval record.
certificatesYesEach certificate or guarantee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Far exceeds the annotation set: it declares the tool reads only the records supplied in the call, performs no facility inspection, temperature check, regulator contact, certification, network request or external write. It also discloses unverified-outcome conditions ('No receiving log entries, or a review schedule with no reading moment, leaves those points unverified'), the comparison rules (matching by reference/name without case, punctuation or company endings; expiry after the stated day; review due after review_days), the signed Ed25519 receipt, and the payment/auth requirement (0.10 USDC on Base, X-Weber-Wallet-Proof bound to the exact JSON arguments).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is a long run-on enumeration of every record field, and the core question ('reads whether every food lot received came from an approved supplier') only appears after several hundred words. Substantial family-boilerplate (the Agent Food Safety Records / Customs / Automotive paragraph) and repeated restatements of what the report contains dilute an otherwise informative description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the necessary work: it lists the verdict values, states what the report contains (evidence read, findings with fixes, what would change the verdict, signed receipt), and covers edge cases where evidence is absent. Given a six-parameter nested input and a deterministic check, an agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the per-field descriptions already carry field meaning; the description goes beyond by defining cross-record semantics the schema cannot express — how suppliers, certificates, entries and reviews are matched, when a supplier counts as approved, and how review due dates are computed. It adds real semantic value rather than restating field names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource set (supplier approvals, certificates/guarantees, receiving log, reviews) and states the actual question it answers: 'whether every food lot received came from an approved supplier on current paperwork.' It also names the verdict vocabulary and explicitly scopes itself against the Customs Records and Automotive families, so an agent can tell what this tool is and is not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the agent must infer that this tool is the right one when the task involves supplier approval or receiving paperwork. The description distinguishes this tool's subject matter from other families but gives no explicit when-to-use/when-not guidance and does not route to specific food-family siblings (recall, allergen, temperature) that an agent might otherwise pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources