Skip to main content
Glama

Terminal Vessel Schedule

terminal_vessel_schedule
Read-onlyIdempotent

Vessel arrival/departure schedule at a named APM Terminals facility, scheduled, latest and actual ETA/ETD, cargo and reefer cut-off times, berth, operator and shipping lines, covering vessels calling the terminal in the past 7 and upcoming 14 days. Look up by vessel name or vessel Lloyds code, optionally narrowed by inbound/outbound voyage number. BYO-key only: this product is billed per terminal per 30-day cycle by APM Terminals, so it requires your own API key (OAuth2 client credentials), see _apiKey. Pipeworx's shared key does not cover it.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "asset_id": "MAERSK NORTHAMPTON",
      "facility_code": "USLAX"
    },
    "name": "terminal_vessel_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoOAuth2 credentials as "<consumer_key>:<consumer_secret>" from a free APM Terminals API Store developer account (https://developer.apmterminals.com/), sign up, accept the free Data Services Plan, register an App to get a Consumer Key/Secret. Without this the tool refuses rather than guessing.
asset_idYesA single vessel name or vessel Lloyds code, e.g. "MAERSK NORTHAMPTON". Only one vessel per call.
facility_codeYesThe terminal's UN/LOCODE, e.g. "USLAX" (Los Angeles), "NLMSV" (Maasvlakte II, Rotterdam), "ESALG" (Algeciras), "ESBCN" (Barcelona), "USMOB" (Mobile), "USNWK" (Port Elizabeth), "USMIA" (Miami), "MAPTM" (Tangier), "SEGOT" (Gothenburg), "ITVDL" (Vado), "NGAPP" (Apapa), "BHKBS" (Bahrain), "ARBUE" (Buenos Aires), "INNSA" (Mumbai), "INPPV" (Pipavav), "JOAQJ" (Aqaba), "DKAAR" (Aarhus), "GTPRQ" (Puerto Quetzal), "GEPTI" (Poti), "CRMOB" (Moin), "COBUN" (Buenaventura), "HRRJK" (Rijeka), "ESGIJ" (Gijon), "PECLL" (Callao). Only one terminal per call. Data is not available for every APM Terminals facility, the vendor rolls coverage out gradually.
inbound_voyage_numberNoOptional inbound voyage number to narrow the match.
outbound_voyage_numberNoOptional outbound voyage number to narrow the match.

Output Schema

NameRequiredDescriptionDefault
sourceNoPublisher and dataset.
visitsNoVessel visits as returned by APM Terminals, normalized.
visit_countNoNumber of vessel visits returned.
facility_codeNoAPM Terminals facility code the lookup ran against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"OAuth2 credentials as \"<consumer_key>:<consumer_secret>\" from a free APM Terminals API Store developer account (https://developer.apmterminals.com/) — sign up, accept the free Data Services Plan, register an App to get a Consumer Key/Secret. Without this the tool refuses rather than guessing."New value: +"OAuth2 credentials as \"<consumer_key>:<consumer_secret>\" from a free APM Terminals API Store developer account (https://developer.apmterminals.com/), sign up, accept the free Data Services Plan, register an App to get a Consumer Key/Secret. Without this the tool refuses rather than guessing."
    • changedInput schema / properties / facility_code / description
      Previous value: -"The terminal's UN/LOCODE, e.g. \"USLAX\" (Los Angeles), \"NLMSV\" (Maasvlakte II, Rotterdam), \"ESALG\" (Algeciras), \"ESBCN\" (Barcelona), \"USMOB\" (Mobile), \"USNWK\" (Port Elizabeth), \"USMIA\" (Miami), \"MAPTM\" (Tangier), \"SEGOT\" (Gothenburg), \"ITVDL\" (Vado), \"NGAPP\" (Apapa), \"BHKBS\" (Bahrain), \"ARBUE\" (Buenos Aires), \"INNSA\" (Mumbai), \"INPPV\" (Pipavav), \"JOAQJ\" (Aqaba), \"DKAAR\" (Aarhus), \"GTPRQ\" (Puerto Quetzal), \"GEPTI\" (Poti), \"CRMOB\" (Moin), \"COBUN\" (Buenaventura), \"HRRJK\" (Rijeka), \"ESGIJ\" (Gijon), \"PECLL\" (Callao). Only one terminal per call. Data is not available for every APM Terminals facility — the vendor rolls coverage out gradually."New value: +"The terminal's UN/LOCODE, e.g. \"USLAX\" (Los Angeles), \"NLMSV\" (Maasvlakte II, Rotterdam), \"ESALG\" (Algeciras), \"ESBCN\" (Barcelona), \"USMOB\" (Mobile), \"USNWK\" (Port Elizabeth), \"USMIA\" (Miami), \"MAPTM\" (Tangier), \"SEGOT\" (Gothenburg), \"ITVDL\" (Vado), \"NGAPP\" (Apapa), \"BHKBS\" (Bahrain), \"ARBUE\" (Buenos Aires), \"INNSA\" (Mumbai), \"INPPV\" (Pipavav), \"JOAQJ\" (Aqaba), \"DKAAR\" (Aarhus), \"GTPRQ\" (Puerto Quetzal), \"GEPTI\" (Poti), \"CRMOB\" (Moin), \"COBUN\" (Buenaventura), \"HRRJK\" (Rijeka), \"ESGIJ\" (Gijon), \"PECLL\" (Callao). Only one terminal per call. Data is not available for every APM Terminals facility, the vendor rolls coverage out gradually."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description still adds substantive behavior: BYO-key OAuth2 client credentials, per-terminal per-30-day-cycle billing, refusal to run without a key, one vessel and one terminal per call, and the vendor's uneven facility coverage. These are exactly the operational facts an agent needs before invoking.

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?

Three sentences, front-loaded with the capability and window, then lookup keys, then the billing/key constraint. Dense but every clause carries information; the field enumeration is long yet useful.

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?

With an output schema present the description need not describe returns, and it still covers coverage window, coverage gaps across facilities, cardinality limits, and the full auth/billing model. Nothing material for a correct call is missing.

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 coverage is 100%, including a richly documented _apiKey and facility_code with many example UN/LOCODEs, so the schema already carries the semantics. The description restates the lookup keys and voyage narrowing but adds no format or edge-case detail beyond the schema, 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 opens with a specific verb+resource ('Vessel arrival/departure schedule at a named APM Terminals facility') and enumerates the returned fields (scheduled/latest/actual ETA/ETD, cargo and reefer cut-offs, berth, operator, shipping lines) plus the time window (past 7, upcoming 14 days). It never names a sibling to contrast against, so differentiation from container-level tools like container_event_history is left implicit.

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

Usage Guidelines4/5

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

It states the lookup keys (vessel name or Lloyds code) and the optional narrowing by inbound/outbound voyage number, and it flags the BYO-key prerequisite clearly. There is no explicit 'use this instead of X' routing and no statement of when the tool is the wrong choice.

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.