omni_freight_density_nmfc
Calculate shipment density in pounds per cubic foot and determine the NMFC freight class from pallet dimensions and weight for LTL rate pricing.
Instructions
Freight Density & NMFC Freight Class Calculator. Calculate shipment density in pounds per cubic foot (PCF) and determine the National Motor Freight Classification (NMFC) freight class for LTL shipping. Discipline: LOGISTICS. Governing mathematical model / formula: Density (PCF) = Total Weight (lbs) / (Length × Width × Height / 1,728).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of calculated_density_pcf (Shipment Density (PCF)), recommended_nmfc_class (Standard NMFC Freight Class), total_cubic_feet (Total Shipment Volume), ltl_rate_impact (Freight Rate Pricing Tier) using shipment_length_in (Pallet Length (Inches) in in), shipment_width_in (Pallet Width (Inches) in in), shipment_height_in (Pallet Height (Inches) in in), shipment_weight_lbs (Total Gross Weight (lbs) in lbs). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
SIBLING ROUTING: Use this dedicated specialist tool for 'Freight Density & NMFC Freight Class Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "freight-density-nmfc"
category (string): "logistics"
name (string): "Freight Density & NMFC Freight Class Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.calculated_density_pcf (Shipment Density (PCF)): Formatted display string (e.g. '12.2 PCF')
metrics.recommended_nmfc_class (Standard NMFC Freight Class): Formatted display string (e.g. 'Class 85')
metrics.total_cubic_feet (Total Shipment Volume): Formatted display string (e.g. '53.3 cu ft')
metrics.ltl_rate_impact (Freight Rate Pricing Tier): Formatted display string (e.g. 'Medium Density (Standard)')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_freight_density_nmfc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipment_width_in | No | Pallet Width (Inches) (in). Width of packaged skid. Default: 40. Min: 10. Max: 96. | |
| shipment_height_in | No | Pallet Height (Inches) (in). Height from floor to top of load. Default: 48. Min: 10. Max: 108. | |
| shipment_length_in | No | Pallet Length (Inches) (in). Length of packaged skid. Default: 48. Min: 10. Max: 120. | |
| shipment_weight_lbs | No | Total Gross Weight (lbs) (lbs). Total scale weight including pallet. Default: 650. Min: 25. Max: 10000. |