Skip to main content
Glama

Ship port calls (API key)

vessel_port_calls
Read-onlyIdempotent

Port calls of a ship between two times (UTC, ISO 8601), from the AIS Trail archive: port, arrival, departure, draught on arrival and departure, cargo estimate (loaded, ballast or unchanged, from the draught change), previous and next port. Give mmsi or imo. A port call starts when the ship stops inside a port area and ends when it leaves; departure is null while it is still in port. The sanctions column gives the codes of the sanctions lists (OFAC, UK, EU) that name the ship's IMO number; informational only, not a compliance determination. Needs an AIS Trail API key sent by the MCP client as the HTTP header 'Authorization: Bearer ap_live_…'. At most 100 port calls per call and at most 366 days; the plan's history depth, credits (1 per port call returned), rate limit and 24-hour delay (on plans without live data) apply.

Input Schema

NameRequiredDescriptionDefault
toYesEnd, e.g. 2026-10-01T00:00:00Z
imoNo7-digit IMO number of the ship; give mmsi or imo
fromYesStart, e.g. 2026-09-01T00:00:00Z
mmsiNo9-digit MMSI of the ship; give mmsi or imo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / imo / description
      Added value: +"7-digit IMO number of the ship; give mmsi or imo"
    • addedInput schema / properties / mmsi / description
      Added value: +"9-digit MMSI of the ship; give mmsi or imo"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: defines port-call semantics (starts when stopped inside a port area, ends on leaving), notes departure is null while in port, flags the sanctions column as informational only, and discloses credit cost, rate limits and the 24-hour delay on non-live plans.

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?

Front-loaded with the core purpose and return fields, then constraints and auth in descending priority. It is a dense single paragraph; splitting the access/limit caveats into their own sentence would scan better, but no clause is filler.

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 no output schema, the description fully compensates by listing every returned field (port, arrival, departure, draughts, cargo estimate, adjacent ports, sanctions) and covering auth, limits and known-unknown behaviors like the null departure.

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, but the description adds value by stating 'give mmsi or imo' — the schema marks neither as required, so this clarifies a real constraint the structured data leaves ambiguous, and confirms UTC/ISO 8601 for the time bounds.

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 ('Port calls of a ship between two times ... from the AIS Trail archive') and enumerates the returned fields, so the agent knows exactly what it gets. The archive/API-key framing plus the title's '(API key)' distinguishes it from the sibling port_calls variant.

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?

Gives clear operating context: supply mmsi or imo, a UTC ISO 8601 window, max 100 calls and 366 days, and that an AIS Trail API key is required via the Authorization header. It does not explicitly contrast with siblings like vessel_events or vessel_track, so an agent must infer which to prefer.

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.