Skip to main content
Glama

Complete Pick List

complete_pick_list
Destructive

Finish picking a pick list — the pick screen's Complete button. mode=complete (default) needs every line fully picked; mode=partial closes the list with what has been picked so far and leaves the rest unpicked on the order. The picked units are confirmed on the order and handed to packing (a ship list, when the account creates them on pick completion — see list_ship_lists). A work order moves to ready-for-production once all its pick lists are complete. 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": {
      "pickListId": "<pickListId>"
    },
    "name": "complete_pick_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNocomplete (default; every line fully picked) or partial.
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.
pickListIdYesPick list id (GUID) or number from list_pick_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
pickListIdNo
shipListIdNo
statusAfterNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
pickListNumberNo
previewReceiptNo
shipListNumberNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare destructive=true and idempotentHint=false; the description goes well beyond them by disclosing the two-step preview/commit requirement with a single-use previewReceipt, the downstream handoff to packing/ship lists, and the work-order state transition to ready-for-production. These are non-obvious side effects an agent must know before calling.

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 action and its UI anchor, then the mode distinction, then side effects, then the two-step requirement. Sentences are dense but each carries distinct information; the ship-list aside is slightly parenthetical but still useful.

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?

An output schema exists, so return values need not be explained, and the description covers the mutation's consequences and the required call sequence. It stops short of stating failure conditions (e.g., what happens when mode=complete but lines are short-picked) or permission requirements.

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 coverage is 100%, so mode, preview, previewReceipt, and idempotencyKey are already documented in structured fields. The description restates the mode semantics and the receipt/idempotency pairing but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 ('Finish picking a pick list') and anchors it to a concrete UI action ('the pick screen's Complete button'). That framing distinguishes it from siblings like pick_items, update_pick_list, and get_pick_list without needing their schemas.

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?

Explicitly distinguishes mode=complete (every line fully picked) from mode=partial (close with what is picked, leave the rest on the order), and gives the required preview-then-commit sequence. It does not name an alternative sibling for the case where the agent should be picking items instead of completing the list, which keeps it short of a 5.

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