Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

shipment_summary

Read-onlyIdempotent

Analyze shipments across road, air, sea, or multimodal modes. Get volume, chargeable weight, LDM, pallet spaces, vehicle/container suggestions, ADR flags, and UK duty estimates in one call.

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
Behavior5/5

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

Even with annotations declaring readOnlyHint=true, idempotentHint=true, and destructiveHint=false, the description adds substantial behavioral context: direct engine calls, inline arithmetic vs call-outs, the 2.40 m LDM divisor, 'no stackable flag = NOT stacked' logic, the distinction between palletSpaces (floor positions) and palletRows, partial-failure behavior via warnings, rate limiting with 429 handling, and camelCase vs snake_case legacy shape. This far exceeds what annotations convey.

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

Conciseness5/5

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

The description is long but every sentence earns its place. It is structured into clear paragraphs: overview, behavior, returns, limitations, related. It front-loads the main purpose and then provides necessary technical details. No redundancy or filler.

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?

Given the tool's complexity (7 params, nested objects, no output schema shown but a return shape described), the description covers everything the agent needs: what it does, how it behaves internally, how failures are surfaced, rate limits, the result envelope, limitations, and related tools. It is complete for safe selection and invocation.

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 baseline is 3. The description adds meaning by grouping parameters (mode, items, origin/destination and incoterm refine duty) and explaining enabling conditions (un_number enables dangerous-goods section; hs_code + customs_value enables duty). This is helpful but the schema itself already describes each field well, so not a 5.

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 very specific composite analysis scope: volume, weights, LDM with pallet spaces and vehicle suggestion, volumetric weight, revenue tonnes with container suggestion, dangerous-goods presence, and UK duty estimates. It clearly distinguishes from siblings by naming the engines it calls (ldm_calculator, adr_lookup, uk_duty_calculator) and the canonical consignment_calculator.

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?

The description explains when to use this composite tool ('Composite shipment analysis in one call') and provides alternative tools in the Related section, explicitly stating which is canonical for snake_case line items (consignment_calculator) and which are single-purpose equivalents. It also notes limitations: 'a planning summary, not a quotation or compliance determination,' setting clear expectations.

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

Install Server

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