Skip to main content
Glama

Food inspection check

wever_food-inspection-check
Read-only

Agent Food Safety Records: submit food facility inspection and audit records with the corrective actions and schedule they answer to: the moment the records are read at; each inspection schedule the records state with its id, the kind (health_inspection, third_party_audit or internal_audit) and the days allowed between inspections; each inspection or audit report with its id, reference, kind, the moment inspected, the result recorded (passed or failed), the score recorded and the full score; each violation or audit finding with its id, reference, the report it was recorded in, its code, its severity (critical, major or minor), the points deducted and whether the record flags it as a repeat; each corrective action with its id, reference, the violation it answers and the moment recorded. The signed report gives the inspections and the violations, each violation against a corrective-action record behind it, each violation recorded again at the next inspection of the same kind against a record flagging the repeat, each scheduled kind’s latest inspection against the interval the records state, and each recorded result or score against the findings behind it, and counts them, and names divergent inspection and audit records: an inspection recorded with violations that have no corrective-action record behind them, the same violation recorded across consecutive inspections with nothing in the records flagging the repeat, an inspection past due against the schedule the records themselves state, and an audit result recorded that the underlying findings do not support; then a corrective action naming a violation the records do not hold and a violation naming an inspection they do not hold, with the fix for each and what would change the verdict. No inspections, a schedule with no reading moment, or a scheduled kind with no dated inspection leaves those points unverified. Reports, violations and actions match by letters and digits, a repeat is the same code at consecutive inspections of one kind read in date order, a schedule is overdue once more days have passed since the latest inspection than it allows, a pass does not stand over a critical finding, and a score reads as supported when it is the full score less every deduction. This reads food facility inspection and audit reports: wever_auto-inspection-check reads vehicle inspection records, while the inspection check reads what health inspectors and food safety auditors found at the facility and whether each violation was corrected. Verdict food_inspection_divergent, food_inspection_partial, food_inspection_unverified or food_inspection_consistent. POST /api/food-inspection-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": {
      "schedule": "<schedule>",
      "inspections": "<inspections>",
      "violations": "<violations>",
      "actions": "<actions>"
    },
    "name": "wever_food-inspection-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, such as 2026-03-02.
labelNoOptional name recorded in the report.
actionsYesEach corrective action.
scheduleYesEach schedule stated.
violationsYesEach violation or finding.
inspectionsYesEach inspection or audit report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds substantial context beyond them: the four possible verdicts, the unverified conditions ('No inspections, a schedule with no reading moment... leaves those points unverified'), the matching and overdue rules, the signed Ed25519 receipt, and an explicit boundary that it inspects nothing, contacts no regulator and performs no external write. It also discloses pricing (0.10 USDC per call, 10 free calls) and the wallet-proof header requirement, which annotations do not cover.

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 text is extremely long and repetitive, restating the entire input schema in prose ('each inspection schedule the records state with its id, the kind... and the days allowed') before repeating the same content as rules. The when-to-use comparison and the pricing/contract details an agent actually needs to select and call the tool are pushed to the very end, and several clauses duplicate each other with no added information.

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

Completeness4/5

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

With six parameters, no output schema and no nested objects, the description supplies enough: the verdict set, what the signed report contains (verdict, evidence, findings with fixes, what would change the verdict), and the unverified edge cases. The only shortfall is organizational rather than substantive, since the return description is scattered across several paragraphs instead of stated once.

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 description coverage is 100%, so the baseline is 3, but the description adds genuine interpretive meaning: records 'match by letters and digits', a repeat is 'the same code at consecutive inspections of one kind read in date order', a schedule is 'overdue once more days have passed since the latest inspection than it allows', and 'a score reads as supported when it is the full score less every deduction'. These rules tell the agent how field values will be compared, which the schema alone does not.

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

Purpose4/5

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

The description names a specific verb and resource ('submit food facility inspection and audit records' / 'reads food facility inspection and audit reports') and explicitly distinguishes itself from wever_auto-inspection-check ('reads vehicle inspection records'). The differentiation and the verdict vocabulary make the purpose unmistakable, though the sibling comparison is buried in the final third after a long field enumeration.

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?

It tells the agent what this family reads versus the customs and automotive families, and names one direct sibling alternative, which implies when to pick it. However, with many food-related siblings present (corrective-action, safety-plan, allergen, sanitation, temperature checks), no guidance is given on when to use this consolidated check versus those narrower ones, and there are no explicit exclusions or prerequisites beyond the payment note.

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