Skip to main content
Glama

Manufacturing Batch Record Check

wever_mfg-batch-record-check
Read-only

Agent Manufacturing Records: submit a manufacturing batch record for one batch or lot of non-food production with its bill of materials and entries: the reading moment; the batch with its batch or lot code, the product code, the status it claims (in process, on hold or complete), the planned, good, rejected and output quantities, the material total the record states as issued, the lowest and highest yield in whole percent the record states and the entry classes it requires before completion (line clearance, material issue, in-process check, yield reconciliation, label reconciliation or release review); each bill of materials line with its id, the material code and the quantity it sets; each issue entry with its id, the material code, the quantity issued and the day issued; each deviation entry with its id, the deviation class, the disposition (pending, accepted, reworked, scrapped or held) and the day recorded; each batch entry with its id, the entry class and the day recorded. The signed report gives the batch and the records behind it, each issue against a bill of materials line, the output against the good and rejected quantities and the issued total against the issue entries, the yield against the stated band, each deviation against its disposition, and a batch recorded complete against the entry classes the record requires, and counts them, and names divergent manufacturing batch records: a material issued with no bill of materials line, quantities that do not recompute against the record’s own totals, a yield outside the stated band, a deviation with no disposition, and a batch recorded complete with a required entry missing; then a material issued above its bill of materials quantity and an entry with no date, with the fix for each and what would change the verdict. No bill of materials lines beside issue entries leaves the record unverified. Batches, materials and entries match by letters and digits, classes as written, quantities as whole counts, dates by the day. Food production batch paper belongs to Agent Food Safety Records, and no entry carries an operator name: a batch input carrying a name field does not match the input shape. Verdict manufacturing_batch_record_divergent, manufacturing_batch_record_partial, manufacturing_batch_record_unverified or manufacturing_batch_record_consistent. POST /api/mfg-batch-record-check. Reads the manufacturing records the manufacturing operator supplies 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 runs no machine, inspects nothing in person, calibrates no instrument, certifies nothing and contacts no authority, worker or customer, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Manufacturing Records reads a manufacturing operator’s own equipment, batch, process, quality, calibration, maintenance, safety-program and incident paper, the manufacturing equipment, batch, process, quality, calibration, maintenance, safety and incident records, and never a person’s record in any form: worker training files and training records in any form, named-worker certifications and any certification file that names a person, injury and illness logs in any form (OSHA 300 and 301 logs and first reports of injury included), exposure records and medical surveillance records in any form (respirator fit tests and audiograms included), lockout/tagout application logs naming workers, and disciplinary, grievance, attendance, personnel and payroll records in any form are no input to any check, and neither are names, identity documents, contact details, health content, incident narratives or allegation paper. Worker credentials belong to Agent Labor Verification; food-safety plans, sanitation and temperature records and food production batch paper belong to Agent Food Safety Records, for food manufacturers too; environmental discharge and emissions records belong to Agent Water Records and Agent Waste and Recycling Records, and water and wastewater treatment plant records to Agent Water Records; power plant records, energy bills, tariffs and utility contracts belong to Agent Energy; inventory counts, receiving records, stock records and stock reconciliation belong to Agent Inventory; workers’ compensation and insurance claim paper belongs to Agent Claims; and product shipment and delivery paper belongs to Agent Logistics. The family’s ground is the manufacturing operator’s own paper trail: whether an equipment register entry’s inspections, certificates and service status match the asset’s own entries, whether batch records reconcile their materials, quantities, yield and deviations, whether process runs stay inside the limits their record states, whether nonconformances carry corrective actions and dispositions, whether instruments and gauges stay calibrated before use, whether maintenance keeps its intervals and closes open items, whether safety-program areas and elements carry their entries, and whether incidents carry their notifications. 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-manufacturing-records-contract. Human page: https://weverlabs.com/agent-manufacturing-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": {
      "batch": "<batch>",
      "bom": "<bom>",
      "issues": "<issues>"
    },
    "name": "wever_mfg-batch-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
bomYesBill of materials lines.
as_ofNoThe reading moment, a calendar day such as 2026-03-02.
batchYes
issuesYesMaterial issue entries.
entriesNoBatch entries by class.
deviationsNoDeviation entries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description usefully reinforces this by saying it reads records as supplied only, runs no machine, certifies nothing and makes no external write. It also adds auth and pricing context (X-Wever-Wallet-Proof bound to the JSON arguments, 0.10 USDC via x402, 10 free signed-wallet calls per 30 days) and notes that an Ed25519 signed receipt is returned. However, the blanket statement of 'no ... payment' sits awkwardly beside a paid endpoint, and nothing is said about rate limits beyond the free-call allowance or about failure behavior.

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 core purpose is front-loaded, but the body is a dense run-on of semicolon-chained clauses followed by an enormous negative-scope catalog enumerating other agents' domains, most of which is irrelevant to invoking this one tool. An agent must wade through a wall of exclusions to extract the operative rules.

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?

For a six-parameter, deeply nested check with no output schema, the description covers everything needed: the exact input shape, the four possible verdicts by name, the contents of the signed report (evidence read, findings with fixes, what would change the verdict), the unverified edge case, and the contract and human-page references.

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 already 83%, so the schema does most of the work. The description nevertheless adds real meaning beyond it by explaining the cross-checks each field participates in — the issued total against issue entries, output against good and rejected quantities, yield against the stated band, deviations against disposition, and a batch marked complete against the required entry classes — plus normalization rules (letters and digits, classes as written, whole counts, dates by the day).

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 opens with a specific verb and resource: submit a manufacturing batch record for one batch or lot of non-food production, together with its bill of materials, issue entries, deviations and batch entries. It is clearly distinguishable from siblings such as process-record-check or quality-record-check because it names the exact artifacts it reconciles (BOM lines, issued totals, yield band, deviations, required entry classes).

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

Usage Guidelines4/5

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

It states the input domain and rules out food production batch paper, routing that to Agent Food Safety Records, and warns that a batch input carrying an operator name field does not match the input shape. What is missing is an explicit positive statement of when to prefer this check over the sibling manufacturing checks (process, quality, equipment) when a record spans several of those areas.

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