Skip to main content
Glama

Ship Out

ship_out
Destructive

Ship a fully packed ship list out — the packing screen's Finish packing and Ship out buttons. step=ship (default) finishes packing if needed and ships: the packed units leave inventory against the order (a sales order's stock is sold; a transfer's goes in transit to the destination) and the order's status moves on. step=finish_packing only marks the list ready to ship. Every line must be packed exactly (see get_ship_list). Does not buy a carrier label or create an invoice. Two-step: preview=true, then commit with the previewReceipt.

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": {
      "shipListId": "<shipListId>"
    },
    "name": "ship_out"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNoship (default) or finish_packing.
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing is written until the commit call.
clientIdNoOptional client id (GUID) for operator (unpinned) credentials on 3PL tenants.
shipListIdYesShip list id (GUID) or number from list_ship_lists.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2: the receipt returned by the preview call. Supply with a fresh idempotencyKey to commit.

Output Schema

NameRequiredDescriptionDefault
okNo
previewNo
expiresAtNo
shipListIdNo
statusAfterNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
shipListNumberNo
idempotentReplayNo
documentStatusAfterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes well beyond them by specifying the actual consequence: packed units leave inventory against the order, a sales order's stock is sold while a transfer's goes in transit, and the order status advances. It also discloses the preview-gated write protocol and the idempotency requirement, which are exactly the operational details annotations cannot express.

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?

Front-loads the action, then the mode split, then the side effects, then the exclusions, then the write protocol — a logical order with no filler. The UI-button reference ('the packing screen's Finish packing and Ship out buttons') briefly grounds the tool in the product surface without wasting much space.

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?

An output schema exists, so return values need not be explained; the description instead covers what an agent cannot get elsewhere — inventory and status side effects, the packing precondition, the two-step preview/commit requirement, and the idempotency key. For a destructive, non-idempotent write tool this is complete enough to call correctly.

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 schema carries most parameter documentation and the baseline is 3. The description still adds real meaning beyond the schema by explaining the practical difference between the two step values and the precondition that applies to the write, rather than merely restating the enum-like labels.

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?

States a specific verb and resource ('Ship a fully packed ship list out') and immediately disambiguates the two modes, step=ship vs step=finish_packing. It also draws the boundary against adjacent operations ('Does not buy a carrier label or create an invoice'), so an agent can tell it apart from siblings like get_ship_list or close_out_campaign without opening a schema.

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?

Explicitly defines the conditions for each mode: step=ship finishes packing if needed and ships, step=finish_packing only marks the list ready to ship. It names the prerequisite ('Every line must be packed exactly') with a cross-reference to get_ship_list, and states the required two-step protocol (preview=true, then commit with the receipt), which tells the agent not just when to use it but how to sequence the calls.

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