Skip to main content
Glama

List expected containers

list_expected_containers
Read-onlyIdempotent

Containers suppliers have agreed to send that may not be tracked yet: the supplier, order number, produce, boxes, expected week, the proformas and other documents received for each, and once the container is tracked, the shipment it was matched to (shipment_id, shp_...). Planned ones by default: use it for "what is expected from Supplier X in the coming weeks" and "which expected containers are overdue" (overdue is true when the expected week has passed with no match). status can be matched or cancelled too. To see one supplier's containers, find its id with list_companies and pass it as supplier_id. query matches order number, produce, variety or supplier. Returns expected containers, newest first, with has_more and the id (exs_...) of the last one to pass as starting_after. A planned container lists its suggestions: tracked shipments the matcher thinks it might be, with an id (esg_...) for accept_expected_container_suggestion and reject_expected_container_suggestion. To plan, change or match containers use create_expected_containers, update_expected_container and match_expected_container.

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_expected_containers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 100.
queryNoMatches an order number, a produce, a variety or a supplier.
statusNoplanned (default), matched, cancelled or all.planned
supplier_idNoOnly this supplier's containers. A company id such as "cmp_123", from list_companies.
starting_afterNoPaging cursor: the id of the last result of the previous page. Only when has_more was true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive operation. Beyond that, the description explains return ordering, has_more/starting_after paging, the overdue condition, and how planned containers expose suggestions for accept/reject tools.

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?

The description is front-loaded and every sentence carries useful information, but it is a dense single paragraph covering many concerns. Bullet points or shorter sentences could improve scanability without adding content.

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?

There is no output schema, so the description must explain return shape and paging, which it does. It also covers overdue semantics, suggestion IDs, and alternatives for mutating containers, making it complete for this list tool.

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 limit, query, status, supplier_id, and starting_after. The description reinforces supplier_id and query usage but adds little parameter meaning beyond what the schema provides.

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?

The description states a specific verb and resource, defines expected containers as supplier-agreed containers that may not yet be tracked, and lists the fields returned. It clearly separates this read/list tool from create, update, match, and suggestion-handling siblings.

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?

It gives explicit default behavior (planned), concrete use cases such as what is expected from a supplier and which containers are overdue, and notes that status can also be matched or cancelled. It names list_companies for resolving supplier_id and routes planning/changing/matching to the appropriate sibling tools.

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