Skip to main content
Glama

Kubova — 3D Container Loading

pack_containers

Read-only

Pack a list of cargo SKUs into one or more shipping containers using the Kubova solver. Supports bulk loading (cartons straight into the container) and pallet loading (loadingMode:"pallet" + a pallet — cartons are stacked onto pallets first, then the pallets loaded). Per-SKU you can set allowed orientations, no-overstack/no-understack, and loading order. Returns per-container placements with x,y,z coordinates in cm, volume utilization, weight, a weightBalance object (centre of gravity + front/back & left/right weight split, flags an unbalanced load) for bulk loads, and any unplaced pieces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cargosYes
palletNoThe pallet to stack onto. Required when loadingMode is "pallet".
optionsNo
containerNo
containersNo
loadingModeNo'bulk' (default) loads cartons straight into the container. 'pallet' first stacks cartons onto pallets, then loads the pallets — requires the `pallet` field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds substantial value by describing the return payload (placements with coordinates, volume utilization, weight, weightBalance object, unplaced pieces) and per-SKU configuration options. It does not mention failure modes or rate limits, but the annotation covers the safety profile, and the added context is genuinely useful.

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 a compact four-sentence paragraph with a clear structure: main purpose first, then loading modes, per-SKU options, and return values. Every sentence adds meaningful information with no fluff or repetition, making it efficient and easy to parse.

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 tool's complexity (nested schemas, 6 parameters) and lack of output schema, the description does a good job covering the return payload, both loading modes, and key per-SKU settings. It falls slightly short by not explaining how to specify containers (single vs list) or the options object, but the schema provides some of that structure.

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?

Schema description coverage is low (33% at top level), and the description highlights important parameters like loadingMode, orientations, no-overstack/no-understack, and loading order. However, it does not explain the distinction between 'container' and 'containers' or the 'options' fields, so it only partially compensates for the low schema coverage.

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?

Clearly states the tool packs cargo SKUs into shipping containers using the Kubova solver, distinguishing it from sibling tools like estimate_capacity and generate_report. It also specifies the two loading modes (bulk vs pallet) and the nature of the return value, leaving no ambiguity about the tool's function.

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?

Provides clear context on when to use this tool (to pack SKUs into containers) and explains the pallet mode prerequisite (loadingMode:"pallet" + a pallet), which guides correct invocation. However, it does not explicitly contrast with sibling tools or state when not to use it, so it lacks explicit exclusion/alternative guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources