Skip to main content
Glama

ordercloud.orders.fulfill

Fulfill an order by retrieving its worksheet, creating a shipment, adding line items, and optionally updating order or shipment status.

Instructions

Get order worksheet, create a shipment for the order, add line items to shipment, and optionally update order/shipment status

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": {
      "direction": "<direction>",
      "orderId": "<orderId>"
    },
    "name": "ordercloud.orders.fulfill"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesOrder ID to fulfill
shipperNoShipper/carrier nameDefault
directionYesOrder direction
shipmentIdNoShipment ID (auto-generated from orderId if omitted)
updateOrderStatusNoOptional order status to set after creating shipment (e.g. Processing)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does reveal the multi-step side effects (worksheet read, shipment creation, line-item attachment, optional status change). However, it omits critical behavior for a mutation tool: whether the steps are atomic or can partially fail, whether line items means all order line items, permission requirements, and irreversibility of shipment creation.

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?

A single front-loaded sentence enumerates the steps in execution order with no filler, which is efficient for a compound tool. It would read better as an explicit ordered list, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, multi-step mutation with no annotations and no output schema, the description covers what the tool does but not what it returns, how failures mid-workflow are handled, or which line items are selected. Functional but noticeably incomplete for the tool's complexity.

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 description coverage is 100%, so all five parameters including the direction enum and the auto-generated shipmentId fallback are already documented in the schema. The description adds no parameter-level semantics beyond naming the fields in prose, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verbs (get, create, add, update) against specific resources (worksheet, shipment, line items), so the agent knows this is a bundled fulfillment workflow rather than a single CRUD call. It is clear but does not explicitly distinguish itself from siblings like ordercloud.orders.getWorksheet or ordercloud.orders.submit, leaving the boundary to be inferred from the name 'fulfill'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this composite operation versus calling getWorksheet and shipment creation separately, and no exclusions or prerequisites. The order of steps implies a workflow but gives the agent no decision rule for choosing this tool over its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools