Skip to main content
Glama
vessel-api

VesselAPI MCP Server

by vessel-api

get_port_events

Retrieve port arrival and departure events by UN/LOCODE. Optionally set a time window to fetch historical data beyond the default 2-hour span.

Instructions

Get port events (arrivals/departures) for a specific port. Covers only the last 2 hours unless timeFrom is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page, 1 to 50. Defaults to 20.
timeToNoEnd of the time window, RFC3339. Defaults to now.
timeFromNoStart of the time window, RFC3339. Without it the service returns only the last 2 hours.
unlocodeYesUN/LOCODE of the port
nextTokenNoPagination token from previous response

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed6 schema fields changedv2.0.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max results per page"New value: +"Results per page, 1 to 50. Defaults to 20."
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / timeFrom
      Added value: +{
      +  "description": "Start of the time window, RFC3339. Without it the service returns only the last 2 hours.",
      +  "type": "string"
      +}
    • addedInput schema / properties / timeTo
      Added value: +{
      +  "description": "End of the time window, RFC3339. Defaults to now.",
      +  "type": "string"
      +}
  2. Addedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose a significant behavioral trait: the default 2-hour window unless timeFrom is given. This is valuable information. However, it says nothing about authentication, rate limits, or the nature of the response (e.g., pagination, ordering). For a read-only tool, some behavior is disclosed, but not comprehensively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, both essential. The first sentence states the purpose, the second clarifies a critical default behavior. No redundant filler or repetition of schema info. The content is front-loaded and appropriately sized for the tool's complexity.

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?

Given 5 parameters all documented in the schema and no output schema, the description provides the key missing context: the default time window. The tool is moderately simple, and the description covers the main behavioral nuance. It doesn't discuss the return structure, but without an output schema that is expected. The presence of many siblings could have been handled with differentiation, but that's a minor gap.

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 describes all parameters. The description adds no parameter-specific syntax or meaning beyond what the schema provides. It mentions timeFrom in relation to the default window, but that is already stated in the schema's description for timeFrom. Thus, the description adds no meaningful supplemental parameter semantics.

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 states the action clearly: 'Get port events (arrivals/departures) for a specific port.' It specifies the resource (port) and the type of data (events). While it distinguishes from vessel-specific event tools like get_port_events_by_vessel, it doesn't explicitly differentiate from list_port_events or search_port_events_by_port, which are similar port-event tools. The verb 'Get' and resource 'port events' are specific enough, but sibling differentiation is incomplete.

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?

The description implicitly advises on a key usage condition: 'Covers only the last 2 hours unless timeFrom is given.' That hints at when to set timeFrom. However, it provides no explicit guidance on when to choose this tool over alternatives like list_port_events or search_port_events_by_port, nor any exclusions. The context is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vessel-api/vesselapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server