Skip to main content
Glama

container-loading

export_plan

Export a load as a machine-readable LOADING WORK ORDER: a numbered stuffing sequence (which SKU, where, in what order and orientation), the securing/bracing action list, a securing shopping list per container (securingBom: straps, airbags, timber, bars, with quantities, specs and the work-order steps each goes to; recommendations to verify with the carrier), the key declarable figures (VGM, axle load, centre of gravity), and an optional per-retailer inbound-packaging check (Amazon FBA / Walmart). Feed it to a WES/TMS, a robotic palletiser, or a printable worker sheet. A real API key packs it with the production PackingSolver optimizer (the same plan plan_load returns for the same cargo); the public demo key uses the offline preview packer; engine in the result says which one ran. This is decision support to MEET published retailer/carrier specs — verify in your own portal; it is not a retailer certification.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "export_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoTransport mode for auto right-size (ignored when equipmentCode is given).sea
itemsYesCargo lines to load
retailersNoRetailer inbound-packaging profiles to check the load against.
equipmentCodeNoEquipment code, e.g. 40HC (see list_equipment). Omit to auto right-size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / rotatable
      Added value: +{
      +  "default": true,
      +  "description": "false = keep the unit exactly as entered: never turned on the floor, never tipped onto its side",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / thisSideUp
      Added value: +{
      +  "default": false,
      +  "description": "Must stay upright — restricts the packer to upright orientations",
      +  "type": "boolean"
      +}
  3. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / items / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / items / items / properties / quantity / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / items / items / properties / unNumber
      Added value: +{
      +  "description": "UN number (e.g. \"UN1263\") — derives the IMDG class/PG/segregation/stowage/EmS from the DGL.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that a real API key runs the production PackingSolver while the demo key runs an offline preview packer, and that `engine` in the result reveals which ran. It also flags that securingBom entries are recommendations to verify with the carrier and that the output is not a retailer certification — exactly the caveats an agent needs to relay.

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

Conciseness4/5

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

Front-loaded with the payload enumeration before the consumers and caveats, and every sentence contributes. The closing disclaimers ('verify in your own portal; it is not a retailer certification') partly restate the earlier 'recommendations to verify with the carrier' and add density to an already long single paragraph.

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?

There is no output schema, yet the description fully specifies the return artifact and its provenance via the `engine` field, plus the optional retailer check. For a 4-parameter export tool with rich nested item semantics in the schema, nothing an agent needs to select or call it is missing.

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 the baseline is 3, but the description adds meaning beyond types: retailers maps to a per-retailer inbound-packaging check with named profiles (Amazon FBA / Walmart), items map to SKU/placement/orientation in the stuffing sequence, and equipmentCode omission triggers auto right-size. It does not add anything for `mode` beyond what the schema already states.

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?

Names a specific verb and a concrete, enumerated artifact: 'Export a load as a machine-readable LOADING WORK ORDER' followed by the exact contents (numbered stuffing sequence, securing action list, securingBom, VGM/axle load/CoG, optional retailer check). It also distinguishes itself from plan_load by stating it returns the same plan for the same cargo, so an agent can separate export from planning.

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?

Gives concrete downstream consumers ('Feed it to a WES/TMS, a robotic palletiser, or a printable worker sheet') and clarifies the intent is decision support to MEET retailer/carrier specs, not certification. It does not explicitly prescribe sequencing (e.g. call plan_load first, or when to prefer export_dg_paperwork for hazmat paperwork), so the when-not side is only implied.

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.