Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

ldm_calculator

Read-onlyIdempotent

Calculate loading metres (LDM) to determine how much trailer length pallets occupy, for accurate road freight quoting and trailer utilisation assessment.

Instructions

Calculate loading metres (LDM) for road freight shipments.

LDM measures how much of a trailer's length a pallet load occupies. European trailers are 13.6m long and 2.4m wide. LDM = (pallet_length x pallet_width x quantity) / (trailer_width x stack_factor).

Use this tool when you need to:

  • Quote European road freight (FTL/LTL)

  • Calculate trailer utilisation percentage

  • Check if pallets fit within vehicle weight/space limits

Supports pallet presets (euro, uk, half, quarter) or custom dimensions. Supports vehicles: artic (13.6m), rigid10, rigid75, luton, or custom length.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
palletNoPallet preset. Euro=1200x800mm, UK=1200x1000mm, Half=800x600mm, Quarter=600x400mm
vehicleNoVehicle type (default: artic 13.6m)
quantityNoNumber of pallets (default: 1)
width_mmNoCustom pallet width in mm (use instead of preset)
length_mmNoCustom pallet length in mm (use instead of preset)
stackableNoCan pallets be stacked? (default: false)
weight_kgNoWeight per pallet in kg
stack_heightNoStack height: 2 or 3 (default: 2)
vehicle_length_mNoCustom vehicle length in metres (required if vehicle=custom)
Behavior5/5

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

Annotations already indicate readOnly=true, destructive=false, idempotent=true. The description adds behavioral context: it performs calculation using given formula, supports pallet presets and custom dimensions, multiple vehicle types, and stacking. No contradictions.

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 concise at ~5 sentences, well-structured with a purpose statement, formula, bulleted use cases, and a final sentence on supported options. Every sentence adds value, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 9 parameters and no output schema, the description covers the calculation logic, pallet/vehicle options, and use cases well. However, it does not describe the exact output format (e.g., returns a single LDM value, or includes utilisation, weight check results). Slight gap in return value expectations.

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% (all parameters described in schema). The description adds aggregate context, explains preset dimensions, default values for parameters like quantity and stackable, and the relationship between presets and custom parameters. This goes beyond baseline 3, but some parameter details (e.g., weight_kg usage, vehicle_length_m requirement) are only in 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?

The description clearly states 'Calculate loading metres (LDM) for road freight shipments' with a specific verb and resource. It explains the concept of LDM and provides the formula, distinguishing it from sibling tools like cbm_calculator or pallet_fitting_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 explicitly lists three use cases: quoting European road freight, calculating trailer utilisation, and checking pallet fit. This gives clear guidance on when to use the tool, effectively differentiating it from siblings.

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