Skip to main content
Glama
SoapyRED

FreightUtils MCP Server

pallet_fitting_calculator

Read-onlyIdempotent

Calculate optimal box layout on a pallet with layer stacking, 90° rotation, and weight limits to maximize fit.

Instructions

Calculate how many boxes fit on a pallet (layers, rotation, weight limits).

This tool determines the optimal arrangement of identical boxes on a pallet, accounting for:

  • Layer-by-layer stacking up to the max height

  • 90-degree rotation to find the best fit

  • Weight capacity limits

  • Volume utilisation percentage

Use this tool when you need to:

  • Plan pallet loading for warehouse/shipping

  • Calculate total boxes per pallet

  • Check if weight limits will be reached before space runs out

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
box_width_cmYesBox width in cm
box_height_cmYesBox height in cm
box_length_cmYesBox length in cm
box_weight_kgNoBox weight in kg
allow_rotationNoAllow 90-degree box rotation (default: true)
max_payload_kgNoMaximum pallet payload weight in kg
pallet_width_cmYesPallet width in cm
pallet_length_cmYesPallet length in cm
pallet_max_height_cmYesMaximum stack height in cm (including pallet deck)
pallet_deck_height_cmNoPallet deck height in cm (default: 15)
Behavior4/5

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

Annotations already indicate readOnlyHint=true, destructiveHint=false, idempotentHint=true, establishing that it is a safe, read-only, idempotent operation. The description adds behavioral context beyond annotations by explaining the algorithm aspects: layer-by-layer stacking, 90-degree rotation, weight capacity limits, and volume utilization percentage. 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 two paragraphs: a precise one-sentence summary followed by succinct bullet-list details and usage guidance. Every sentence adds value (factors, use cases). No extraneous information, well front-loaded with the primary action.

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 the complexity (10 parameters, no output schema), the description covers the main calculation aspects and intended use cases. It mentions output dimensions like layers and volume utilization, but does not specify exact return fields or format. Still, it provides sufficient context for an agent to decide and invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 10 parameters are described in the schema with full coverage (100%). The description adds limited extra meaning beyond the schema, e.g., noting that 'pallet_deck_height_cm' has a default of 15 (also in schema) and that max height includes pallet deck. Since schema coverage is high, the baseline is 3 and the description does not significantly enhance parameter understanding.

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?

Description clearly states it calculates how many boxes fit on a pallet, including layers, rotation, weight limits, and volume utilisation. The title in annotations reinforces 'Pallet Fitting Calculator', and among sibling tools like cbm_calculator or chargeable_weight_calculator, this tool's purpose is distinct and immediately understandable.

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

Usage Guidelines4/5

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

The description lists explicit use cases ('Use this tool when you need to:') such as planning pallet loading, calculating total boxes, and checking weight limits. While it doesn't mention when not to use it or alternative tools, the provided guidance is clear and actionable for an AI agent.

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