Skip to main content
Glama

Set Transfer Expected Arrival

set_transfer_expected_arrival
DestructiveIdempotent

Set a stock transfer's expected arrival date (YYYY-MM-DD), or explicitly clear it with clearExpectedArrivalDate=true when unknown. Dates determine when incoming finished goods can cover manufacturing demand; this does not receive stock or change status. Delivered/canceled transfers and write-offs cannot be edited. Client-pinned credentials may edit only transfers whose every line belongs to their client. Requires Write + replenishment.prepare. Preview first, then repeat identical arguments with sourceVersion, previewReceipt and idempotencyKey. In-app assistants get a confirm card the user applies.

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": {
      "transferOrderId": "<transferOrderId>"
    },
    "name": "set_transfer_expected_arrival"
  }
}

Input Schema

NameRequiredDescriptionDefault
previewNo
sourceVersionNo
idempotencyKeyNo
previewReceiptNo
transferOrderIdYes
expectedArrivalDateNo
clearExpectedArrivalDateNo

Output Schema

NameRequiredDescriptionDefault
previewNo
nextStepNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true) the description discloses permission requirements (Write + replenishment.prepare), editability exclusions, the client-pinning restriction, and the two-call preview/apply protocol with sourceVersion, previewReceipt and idempotencyKey. It does not spell out what clearing a date destroys downstream or how the confirm card behaves, keeping it short of a 5.

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 core action and the clearing alternative, then constraints, then the workflow. Dense but nearly every clause carries operational information; the semicolon-chained middle paragraph packs a lot into one long sentence rather than grouping prerequisites with the workflow step.

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?

For a 7-parameter destructive mutation with an output schema, the description covers purpose, permissions, exclusions, side-effect boundaries, and the mandatory preview-then-apply protocol. Return values are handled by the output schema, so nothing an agent needs to invoke this correctly 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 description coverage is 0%, so the description carries the full burden, and it does cover most of the 7 parameters: date format (YYYY-MM-DD), clearExpectedArrivalDate semantics, and the roles of preview, sourceVersion, previewReceipt and idempotencyKey in the flow. It never says where sourceVersion or previewReceipt values come from, leaving a gap for an agent assembling the second call.

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 ('Set a stock transfer's expected arrival date') and immediately bounds the scope with 'this does not receive stock or change status', which is exactly the confusion an agent would have with sibling transfer tools like transfer_pickup_order or create_transfer_order.

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?

Gives explicit when-to-use branching: set a date, or clear it with clearExpectedArrivalDate=true 'when unknown'. It also names when-not-to-use (delivered/canceled transfers and write-offs cannot be edited; client-pinned credentials restricted to fully-owned transfers) and prescribes the preview-first sequence before applying.

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