Skip to main content
Glama

getPortCongestion

Live seaport congestion metrics, anchored vessels waiting count, and average berth wait times. Use when monitoring maritime seaport bottlenecks, anchored container vessel queues, berth waiting hours, and customs clearance delays. Do not use for ocean container freight pricing (use getContainerFreightRates) or air cargo. Aggregates live AIS vessel transponders and returns wait times in hours.

Input Schema

NameRequiredDescriptionDefault
port_code_or_nameYes5-character UN/LOCODE or major seaport name (e.g., NLRTM, USLAX, CNSHA, Felixstowe).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / port_code_or_name / examples
      Added value: +[
      +  "NLRTM"
      +]
    • addedInput schema / properties / port_code_or_name / minLength
      Added value: +3
  2. Changed1 schema field changed
    • changedInput schema / properties / port_code_or_name / description
      Previous value: -"UN/LOCODE or port name (e.g., NLRTM, USLAX, Shanghai, Felixstowe)"New value: +"5-character UN/LOCODE or major seaport name (e.g., NLRTM, USLAX, CNSHA, Felixstowe)."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the underlying data source (live AIS vessel transponders) and the unit convention (hours). It stops short of stating refresh cadence/true real-time latency behind 'live' or behavior on unrecognized port codes.

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 tight sentences with the capability front-loaded before usage and exclusions. Slight redundancy between 'anchored vessels waiting count' in sentence one and 'anchored container vessel queues' in sentence two costs a point.

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

Completeness4/5

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

For a one-parameter tool with no output schema, the description successfully sketches the return contents (waiting counts, average berth wait times in hours). What's missing is any freshness or reliability signal for data branded 'live'.

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 single parameter's format (UN/LOCODE or major seaport name) is already fully documented. The description adds no parameter-level guidance beyond implying a port identifier is needed, which is the baseline-3 case.

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+resource (live seaport congestion metrics, anchored vessel counts, average berth wait times) and explicitly distinguishes itself from getContainerFreightRates and air cargo. An agent can identify the tool's output shape without opening the 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?

Provides explicit when-to-use triggers (monitoring seaport bottlenecks, anchored vessel queues, berth waiting hours, customs clearance delays) and a named exclusion routing to getContainerFreightRates plus air cargo. Both the positive and negative conditions are stated.

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