Detect Spec Discrepancies
detect_discrepancyIdentify supplier specifications that deviate from independent lab measurements for fabric weight, composition, capacity, or worker count. Returns both declared and tested values with discrepancy percentages.
Instructions
[Core feature] Surface supplier specifications that deviate from independent lab measurements.
USE WHEN user asks:
"which fabrics have lab-test deviations on weight"
"find suppliers whose stated capacity differs from on-site measurements"
"compare cotton content lab results across suppliers"
"which suppliers have the closest match between specs and lab tests"
"实测数据 / 数据可信度 / 规格与实测偏差"
This is the moat of MRC Data — every record is enriched with AATCC / ISO / GB lab test data, giving AI agents verifiable specifications instead of unaudited B2B directory listings.
Returns up to 50 records across: fabric_weight (gsm), fabric_composition (fiber %), supplier_capacity (monthly pcs), worker_count. Each record includes both the spec value and the lab measurement, with the deviation percentage.
WORKFLOW: Standalone tool — does not require prior search. Call directly with field type and threshold. RETURNS: { field, min_discrepancy_pct, count, data: [{ id, name, declared_value, tested_value, discrepancy_pct }] } ERRORS: Returns count=0 if no discrepancies above threshold. Max 50 records. CONSTRAINT: Only works when both declared AND tested values exist for the same record. Many records have only one or the other.
中文:识别供应商规格与实测值偏差较大的记录。返回规格值、实测值、偏差百分比。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Type of discrepancy to detect: fabric_weight (面料克重) / fabric_composition (成分) / supplier_capacity (产能) / worker_count (工人数) | |
| min_discrepancy_pct | No | Minimum discrepancy threshold as percentage (e.g. 10 = only show ≥10% mismatch) |