Skip to main content
Glama

ordercloud.shipments.listForOrder

Lists shipments for a specific order, supporting pagination and incoming/outgoing direction filters to help inspect fulfillment details.

Instructions

List all shipments for a specific order

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
orderIdYesThe order ID
pageSizeNoItems per page (max 100)
directionYesOrder direction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden. 'List' weakly implies a read-only operation, but it says nothing about pagination behavior, result ordering, required auth/scopes, or whether the listing is bounded — all relevant for a paged collection endpoint with 4 parameters.

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 economical sentence with the resource and scope front-loaded; nothing is wasted. It is, however, so terse that it contains no structural elements (no caveats, no alternatives) beyond the core statement.

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

Completeness2/5

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

For a tool with 2 required params (including a mandatory enum direction), no annotations, and no output schema, the description is thin — it does not explain what a shipment record contains, how paging terminates, or which parameters matter. An agent could call it, but only by relying entirely on the schema.

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 the schema already documents page, pageSize, orderId, and direction. The description only reinforces that the order is scoped ('for a specific order') and says nothing about the required direction enum or the max-100 page size. Baseline 3 applies since the schema does the heavy lifting.

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 states a specific verb ('List') and resource ('shipments') plus the scoping entity ('for a specific order'), which lets an agent distinguish it from shipments.get, shipments.search, or shipments.create. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The phrase 'for a specific order' implies the usage context (order-scoped retrieval), but there is no explicit when-to-use vs. when-not, and no pointer to alternatives such as shipments.search for cross-order queries or shipments.get for a single shipment. Guidance is only implied.

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