Skip to main content
Glama

Create pallets

create_pallets

Create pallets in Logistics. Each pallet is one physical pallet and gets its own SSCC, the 18-digit GS1 pallet number, from the GS1 company prefix saved under Barcode settings. Pass product_name and cartons (cartons on one pallet). count is how many identical pallets to make, 1 to 100, default 1. Optional: sku, carton_gtin (the 14-digit GTIN on the carton, not the item barcode; a wrong check digit is refused), units_per_carton, batch (up to 20 characters, no spaces), best_before and production_date as YYYY-MM-DD, note. Optional item_id with sheet_number links the pallet to a product row; with remember_packaging true the cartons per pallet, units per carton and carton GTIN are saved for that product. Ask the user for batch and best before; do not invent them. Every SSCC is used once and logged. Nothing is created when a value is refused or no company prefix is saved. For a mixed pallet, one SSCC holding several products, pass products instead: an array of up to 50 entries with the same fields per product (product_name, cartons, and the optional ones). count then makes that many identical mixed pallets. Do not send both products and the single-product fields. Requires the Logistics feature (Business plan or higher). Returns each pallet with its id, sscc and contents. Print the labels with print_pallet_labels. A mixed pallet label lists the contents in text and carries the SSCC barcode only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_pallets"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNo
noteNo
batchNo
countNo
cartonsNo
item_idNo
productsNo
best_beforeNo
carton_gtinNo
product_nameNo
sheet_numberNo
production_dateNo
units_per_cartonNo
remember_packagingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / products
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "batch": {
      +        "maxLength": 20,
      +        "type": "string"
      +      },
      +      "best_before": {
      +        "maxLength": 10,
      +        "type": "string"
      +      },
      +      "carton_gtin": {
      +        "maxLength": 20,
      +        "type": "string"
      +      },
      +      "cartons": {
      +        "maximum": 100000,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "item_id": {
      +        "type": "string"
      +      },
      +      "product_name": {
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "production_date": {
      +        "maxLength": 10,
      +        "type": "string"
      +      },
      +      "sheet_number": {
      +        "maximum": 20,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "sku": {
      +        "maxLength": 100,
      +        "type": "string"
      +      },
      +      "units_per_carton": {
      +        "maximum": 100000,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "product_name",
      +      "cartons"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "product_name",
      -  "cartons"
      -]
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources