Skip to main content
Glama

Moltline Shipping Maths

Server Details

Dimensional weight, parcel fit, landed cost and freight class. 4 of 6 tools free.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

6 tools
dim_weightDim Weight
Read-onlyIdempotent
Inspect

Work out whether a parcel bills on its size or its weight. FREE.

Carriers charge the greater of actual weight and dimensional weight, so a light bulky box costs more than the scale suggests. Typical input {"length": 18, "width": 12, "height": 10, "actual_weight": 6} returns {"cubic": 2160.0, "dim_weight": 15.54, "actual_weight": 6.0, "billable_weight": 15.54, "billed_on": "dimensional", "overage": 9.54, "divisor_used": 139.0, "note": "..."}.

Use when deciding whether a smaller box is worth the packing effort, or why an invoice exceeded the scale weight. Not for choosing a box from a list of candidates — that is parcel_fit. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "custom_divisor must be greater than 0 when divisor is 'custom'"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
widthYesSecond side, same unit as length. Must be greater than 0.
heightYesThird side, same unit as length. Must be greater than 0.
lengthYesLongest side of the packed parcel, in inches (or centimetres when using a metric divisor). Must be greater than 0.
divisorNoWhich published divisor to apply. "ups_daily" is 139 and "ups_retail" is 166 cubic inches per pound, as UPS states them; "usps" is 166; the metric options are cubic centimetres per kilogram. Use "custom" to supply a contracted divisor.ups_daily
actual_weightYesScale weight in pounds (or kilograms with a metric divisor). Must be greater than 0.
custom_divisorNoYour contracted divisor, used only when divisor is "custom". Must be greater than 0 in that case.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

free_shipping_thresholdFree Shipping Threshold
Read-onlyIdempotent
Inspect

Find the order value at which free shipping stops costing you money. PREMIUM (license).

Break-even is where the gross margin on the order covers the shipping you absorb. Typical input {"gross_margin_pct": 45, "ship_cost": 7.5, "current_aov": 38, "target_uplift_pct": 15} returns {"break_even": 16.67, "suggested_threshold": 43.7, "above_current_aov_by": 5.7, "rationale": "..."}.

Use when setting or defending a free-shipping bar. Not for what shipping should cost when it is not free — that is rate_card. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
ship_costYesWhat one shipment actually costs you to send.
current_aovYesYour current average order value.
gross_margin_pctYesGross margin on a typical order, e.g. 45 for 45%. Must be above 0 and at most 100.
target_uplift_pctNoHow far above current AOV you want the threshold set, to pull baskets up. Default 0, which returns break-even.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

freight_classFreight Class
Read-onlyIdempotent
Inspect

Derive a US LTL freight class from density. FREE.

Density in pounds per cubic foot maps to a class on the published NMFC density scale. Typical input {"length": 48, "width": 40, "height": 36, "weight": 400} returns {"cubic_feet": 40.0, "density_pcf": 10.0, "density_class": "100", "caveat": "..."}.

Use for a first estimate before a carrier quote. Not as a final classification: NMFC also weighs stowability, handling and liability, so a carrier can and does reclassify. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "dimensions produce zero volume"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
unitsNo"in_lb" for inches and pounds, or "cm_kg" for centimetres and kilograms. Default "in_lb".in_lb
widthYesSecond side. Must be greater than 0.
heightYesThird side, including the pallet. Must be greater than 0.
lengthYesLongest side of the palletised freight. Must be greater than 0.
weightYesGross weight including the pallet. Must be greater than 0.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

landed_costLanded Cost
Read-onlyIdempotent
Inspect

Total what a unit really costs once freight, duty and fees are in. FREE.

Duty is applied to goods value, tax to goods plus duty plus freight — the common import treatment — and the order is spelled out in the response so you can check it against your own broker's method. Typical input {"unit_cost": 8.5, "quantity": 200, "freight_total": 640, "duty_pct": 6.5, "tax_pct": 0} returns {"goods": 1700.0, "duty": 110.5, "freight": 640.0, "tax": 0.0, "total_landed": 2450.5, "landed_unit_cost": 12.25, ...}.

Use before setting a price on imported stock. Not for the margin that price leaves you — that is the dropship server's margin_check. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
tax_pctNoImport VAT or GST as a percentage of goods plus duty plus freight, e.g. 20. Default 0.
duty_pctNoImport duty as a percentage of goods value, e.g. 6.5. Default 0.
quantityNoUnits in the shipment. Must be at least 1. Default 1.
unit_costYesEx-works cost of one unit in your currency. Must be greater than 0.
other_feesNoBrokerage, port and handling charges for the shipment. Default 0.
freight_totalNoTotal freight and insurance for the whole shipment, not per unit. Default 0.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

parcel_fitParcel Fit
Read-onlyIdempotent
Inspect

Pick the smallest box an item actually fits in, allowing for padding. FREE.

Tries every rotation of the item against every box, so an item that only fits diagonally-oriented is still found. Typical input {"item_length": 10, "item_width": 6, "item_height": 4, "box_options": [[12, 9, 4], [14, 10, 6]]} returns {"fits": [{"box": [14, 10, 6], "cubic": 840.0, "slack": [2, 2, 0]}], "best": [14, 10, 6], "rejected": [...]}.

Use when choosing packaging from stock. Not for what the carrier will bill once a box is chosen — that is dim_weight. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "box_options must contain at least one [l, w, h] box"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
paddingNoCushioning allowance added to every item side before the comparison, in the same unit. Default 1.0; use 0 for a bare fit.
item_widthYesItem's second side, same unit. Must be greater than 0.
box_optionsYesCandidate inner box dimensions, each a list of exactly three positive numbers, e.g. [[12, 9, 4], [14, 10, 6]].
item_heightYesItem's third side, same unit. Must be greater than 0.
item_lengthYesItem's longest side, in inches. Must be greater than 0.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

rate_cardRate Card
Read-onlyIdempotent
Inspect

Turn a cost model into a customer-facing weight-banded price table. PREMIUM (license).

Prices each band at its upper bound so you never under-charge inside a band, then rounds up to a tidy increment. Typical input {"base_cost": 4.2, "cost_per_lb": 0.65, "bands_lb": [1, 2, 5, 10], "margin_pct": 25} returns {"bands": [{"up_to_lb": 1, "cost": 4.85, "price": 6.5}, ...], "over_top_band": "quote individually"}.

Use when publishing shipping prices customers pay. Not for the cut-off at which shipping becomes free — that is free_shipping_threshold. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "bands_lb must contain at least one upper bound"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

ParametersJSON Schema
NameRequiredDescriptionDefault
bands_lbYesUpper weight bound of each band in ascending order, e.g. [1, 2, 5, 10]. At least one band, each greater than 0.
round_toNoIncrement to round each published price up to, e.g. 0.5 or 1. Default 0.5.
base_costYesFixed cost per shipment before weight, e.g. pick, pack and label. Must be greater than 0.
margin_pctNoMargin added on top of cost, e.g. 25 for 25%. Default 0.
cost_per_lbYesMarginal cost per pound. Use 0 for a flat rate card.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Plan optimal container & truck loads: 3D layouts, right-size the container mix, and check utilization, centre of gravity, crush protection and securing across 200+ equipment types.
    17
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    AI agent access to 11 freight calculation and reference tools — LDM, CBM, chargeable weight, pallet fitting, ADR dangerous goods (2,939 entries), airline codes (6,352), HS codes (6,940), INCOTERMS, container specs, unit converter, and ADR 1.1.3.6 exemption calculator.
    24
    1,385
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Ocean and multimodal freight intelligence suite providing cross-validated rates, total landed cost, transit reliability, customs, risk, emissions, and unified ship decisions through 47 tools.
    47
    10
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Quote, book, and track real LTL, FTL, cargo van, and box-truck freight through the Warp network - 20 tools, in-chat login, Stripe-charged bookings, and real carrier dispatch. Quoting is keyless; booking needs a free Warp account with a card on file.
    20
    395
    3
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources