Skip to main content
Glama

List shipments

list_shipments
Read-onlyIdempotent

List or search the company's own tracked shipments, newest first. Use it to find a shipment (free-text q: reference, customer reference, container number, vessel) or to filter by status (default active), carrier SCAC, phase, tag, ETA window (eta_after / eta_before, ISO 8601) or predicted eta_risk. For one shipment's full detail use get_shipment; for the next N days use list_arriving_shipments; for slipped ETAs use list_delayed_shipments; shipments other companies share with you are in list_shared_shipments. All arguments are optional. Returns: shipments[] {id, reference, ref_type, carrier, customer_reference, status, tracking_status, phase, pol, pod, eta, original_eta, delay_hours, predicted_eta, eta_risk, vessel, containers, booking_number, bl_number, tracked_via}, has_more, next_cursor. Paging: limit 1-100 (default 20); pass next_cursor as cursor for the next page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_shipments"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch text: reference, customer reference, container number or vessel name.
tagNoOnly shipments with this tag (exact tag name, as shown in the web app).
limitNoPage size, 1-100 (default 20).
phaseNoOnly shipments in this phase: pending (no carrier data yet), booked, in_transit, arrived or delivered.
cursorNonext_cursor from a previous call.
statusNoactive (default) = being tracked; archived; or all.active
carrierNoCarrier SCAC, e.g. MSCU, MAEU.
companyNoWhich company to act for: its id, @handle or exact name (see list_companies). Omit for the connection's default company.
eta_riskNoPredicted ETA risk (estimate based on vessel position).
eta_afterNoOnly ETAs at or after this (ISO 8601).
eta_beforeNoOnly ETAs at or before this (ISO 8601).

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?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered; the description adds the default status=active filter (a non-obvious default that silently excludes archived records), newest-first ordering, and the paging contract with has_more/next_cursor. With no output schema, it also enumerates the returned fields. It stops short of stating rate limits or result caps beyond limit max 100.

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?

Purpose and ordering come first, then use cases, then a compact sibling-routing sentence, then return shape and paging — a sensible front-loading order. It is dense but every clause carries information; the returned-field enumeration is the longest block and is somewhat redundant with the schema, costing a point on tightness.

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 an 11-parameter read-only list tool with no output schema and no annotations covering behavior, the description supplies the missing pieces: default filtering behavior, sort order, result shape, and pagination mechanics. An agent can call it correctly, paginate it, and choose the right sibling without further context.

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 baseline is 3; the description earns above that by explaining that all arguments are optional and by grouping the filters conceptually (free-text search vs. status/carrier/phase/tag/ETA/predicted-risk filters) and restating the ISO 8601 and limit 1-100 default 20 constraints. It adds little syntax detail beyond the schema and never explains the company parameter, which is the one argument most likely to cause a wrong-tenant 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 ("List or search the company's own tracked shipments") plus ordering (newest first) and notes the scope restriction to the company's own shipments. It explicitly names four sibling tools and the conditions that select each, so an agent can distinguish it from get_shipment, list_arriving_shipments, list_delayed_shipments and list_shared_shipments 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?

Gives both when-to-use (find a shipment by free-text q, or filter by status/carrier/phase/tag/ETA window/eta_risk) and when-not-to-use, with an explicit routing table to get_shipment for single-record detail, list_arriving_shipments for a forward window, list_delayed_shipments for slipped ETAs, and list_shared_shipments for inbound shares. The domain boundary (own tracked shipments vs. shared) is stated, not inferred.

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.