Skip to main content
Glama

Ship port calls (account)

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 account: sign in when the MCP client asks, or send an API key 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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "vessel_port_calls"
  }
}

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/5.0
Behavior5/5

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

Annotations only cover safety (readOnly/idempotent/non-destructive/openWorld); the description adds the details an agent actually needs: authentication via sign-in or 'Authorization: Bearer ap_live_…', 1 credit per port call returned, rate limits, plan history depth, and a 24-hour data delay. It also warns that the sanctions column is informational only and not a compliance determination, and explains that departure is null while the ship is still in port.

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-loads the result contents before constraints and auth, and every sentence carries information (fields, port-call semantics, auth, limits, credits, sanctions disclaimer). It is dense rather than padded, though it is long enough that a reader must scan several sentences to reach invocation constraints.

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 takes on the burden of describing the return shape and does so fully: port, arrival, departure, draught on arrival/departure, cargo estimate, previous/next port, and sanctions codes. Combined with auth, credit, rate-limit and delay disclosures, nothing material an agent needs to call this correctly 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 description coverage is 100%, so mmsi/imo/from/to are already documented, including the 'give mmsi or imo' one-of hint. The description adds only marginal meaning beyond the schema—UTC/ISO 8601 formatting and the 366-day maximum span—which is a legitimate but small increment over the structured fields.

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?

Opens with a specific verb+resource+scope ('Port calls of a ship between two times ... from the AIS Trail archive') and even enumerates the returned fields, so an agent knows exactly what it gets. It does not explicitly distinguish itself from the sibling 'port_calls' beyond the '(account)' title and the AIS Trail account requirement, so it falls short of full sibling differentiation.

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

Usage Guidelines3/5

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

Gives clear operating context (needs an AIS Trail account, supply mmsi or imo, max 100 calls and 366 days) and a usable definition of what a port call is. It never states when to prefer this over the siblings 'port_calls' or 'vessel_events', so the selection guidance remains implied rather than explicit.

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.