Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

shipment_summary

Read-onlyIdempotent

Run a composite freight analysis in one call: volume, chargeable weight, LDM/pallet planning, revenue tonnes, dangerous-goods flags and UK duty estimates for road, air, sea, or multimodal shipments.

Instructions

Composite shipment analysis in one call: volume (CBM), gross and chargeable weight, road LDM with pallet spaces and a vehicle suggestion (road mode), volumetric weight (air), revenue tonnes with a container suggestion (sea), dangerous-goods presence for items carrying un_number, and UK duty estimates for items carrying hs_code + customs_value.

Provide mode (road | air | sea | multimodal) and items[] (dims in cm, weight in kg, quantity; optional stackable, pallet_type, hs_code, un_number, customs_value); origin/destination and incoterm refine the duty leg.

Behavior: calls the ldm_calculator, adr_lookup and uk_duty_calculator engines directly; CBM, volumetric weight and revenue tonnes are the same arithmetic inline rather than a call out. Road LDM uses the 2.40 m loading-metre convention divisor and, like ldm_calculator, treats an item with no stackable flag as NOT stacked. modeSpecific.palletSpaces is pallet FLOOR POSITIONS (the figure ldm_calculator reports); palletRows is the separate row count. Sections that cannot run (e.g. duty without a customs value) surface in warnings instead of failing the whole call. Rate-limited (anonymous use: 25 requests/day per IP): a 429 error body carries retry_after_seconds and a Retry-After header — back off and retry, or call get_subscribe_link for higher limits.

Returns: mode, itemCount, totals {pieces, grossWeight, volumeCBM, chargeableWeight, billingBasis}, modeSpecific (LDM / pallet floor positions / pallet rows / suggested vehicle, or revenue tonnes / container), warnings and dataVersion (road mode attributes the vehicle dataset and the LDM divisor) under result — note this composite's result uses camelCase field names (legacy shape); plus confidence, _source and citation (the FreightUtils v1 response envelope).

Limitations: a planning summary, not a quotation or compliance determination.

Related: consignment_calculator (canonical snake_case lines[] shape with advisory flags), cbm_calculator, chargeable_weight_calculator, ldm_calculator, adr_lookup, uk_duty_calculator. ldm_calculator, adr_lookup and uk_duty_calculator are the engines this actually calls; the rest are the single-purpose equivalents of arithmetic it does inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesTransport mode — selects the mode-specific section of the result.
itemsYesShipment items with dimensions, weight and optional HS/UN codes.
originNoOrigin — ISO country code and optional UN/LOCODE.
incotermNoIncoterms 2020 three-letter code. Examples: "DAP", "EXW", "FOB".
destinationNoDestination — ISO country code and optional UN/LOCODE.
freight_costNoFreight cost in GBP for the duty calculation.
insurance_costNoInsurance cost in GBP for the duty calculation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
resultYes
_sourceYes
citationYes
validityNo
warningsNo
confidenceYes
blocking_errorsNo
envelope_versionYes
normalized_inputNo
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already carry readOnlyHint/idempotentHint/destructive=false, and the description adds substantial behavior beyond them: the 2.40 m loading-metre divisor, 'no stackable flag treated as NOT stacked', palletSpaces as floor positions versus palletRows, partial failures surfacing in warnings instead of failing the call, the 25 requests/day IP rate limit with 429 retry_after_seconds and Retry-After header, and the legacy camelCase result shape. No contradiction with annotations.

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

Conciseness4/5

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

Long (~350 words) but front-loaded: the first sentence states the entire scope, followed by clean Inputs/Behavior/Returns/Limitations/Related sections. Some redundancy exists (engine calls and pallet floor positions appear twice), but for a composite tool merging three engines across four modes, dense detail is warranted rather than waste.

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 7-parameter, 4-mode composite with nested objects and an output schema, the description is complete: all input semantics, mode-specific conventions, error/rate-limit handling, return shape summary, limitations ('planning summary, not a quotation or compliance determination'), and sibling routing are covered. The existence of an output schema excuses full return-value enumeration.

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 baseline is 3. The description adds relational meaning beyond individual field docs: 'origin/destination and incoterm refine the duty leg,' the conditional enabling of sections (hs_code + customs_value → duty; un_number → DG), and a compressed statement of the items[] field set and units. This is a modest but real increment over the schema.

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?

Opens with 'Composite shipment analysis in one call' and itemizes every computation: CBM, gross/chargeable weight, road LDM with pallet spaces and vehicle suggestion, volumetric weight, revenue tonnes with container suggestion, DG presence, and UK duty. The specific resource and scope are unmistakable, and the Related section hard-distinguishes it from the single-purpose siblings.

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

Usage Guidelines5/5

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

Explicitly names alternatives and their relationship: consignment_calculator (canonical snake_case lines[] shape with advisory flags), the three engines it actually cals (ldm_calculator, adr_lookup, uk_duty_calculator), and 'the rest are the single-purpose equivalents of arithmetic it does inline.' Also routes to get_subscribe_link for higher rate limits. When-to-us vs alternatives is fully stated.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SoapyRED/freightutils-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server