Skip to main content
Glama
vessel-api

VesselAPI MCP Server

by vessel-api

get_port_events_by_vessel

Retrieve arrival and departure events for a vessel by IMO or MMSI. Filter by event type, time range, and paginate results to track port activity.

Instructions

Get port events (arrivals/departures) for a specific vessel

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page, 1 to 50. Defaults to 20.
idTypeNoIdentifier type: imo (default) or mmsi
timeToNoEnd time (ISO 8601 format)
timeFromNoStart time (ISO 8601 format)
vesselIdYesVessel identifier (IMO number by default)
eventTypeNoFilter by event type. Omit for both arrivals and departures
nextTokenNoPagination token from previous response
sortOrderNoSort order by timestamp

Schema Changelog

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

  1. Changed10 schema fields changedv2.0.0
    • changedInput schema / properties / eventType / description
      Previous value: -"Filter by event type (arrival, departure)"New value: +"Filter by event type. Omit for both arrivals and departures"
    • addedInput schema / properties / eventType / enum
      Added value: +[
      +  "arrival",
      +  "departure",
      +  "all"
      +]
    • changedInput schema / properties / idType / description
      Previous value: -"Identifier type: imo (default), mmsi, or vesselId"New value: +"Identifier type: imo (default) or mmsi"
    • addedInput schema / properties / idType / enum
      Added value: +[
      +  "imo",
      +  "mmsi"
      +]
    • 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"
    • changedInput schema / properties / sortOrder / description
      Previous value: -"Sort order by timestamp (asc or desc)"New value: +"Sort order by timestamp"
    • addedInput schema / properties / sortOrder / enum
      Added value: +[
      +  "asc",
      +  "desc"
      +]
  2. Addedv1.3.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden of explaining behavior, but it only restates the function without noting default sorting, pagination, or filtering capabilities. The input schema covers parameter details, so the bar is lowered, but the description adds no extra behavioral context beyond what the name implies.

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 a single, direct sentence that is appropriately front-loaded with the verb and object. It is concise and to the point without unnecessary details.

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

Completeness2/5

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

Given the tool's complexity (8 parameters, pagination, filtering, sorting) and the absence of an output schema, the description is insufficient. It does not explain what the response contains (e.g., a list of events, fields returned) or mention pagination behavior. The description should provide more context about the returned data and usage examples.

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?

The schema has 100% parameter description coverage, so the baseline is 3. The description itself does not add any additional meaning to the parameters; it merely repeats the vessel focus. It does not clarify any ambiguous fields or provide context beyond the schema.

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?

The description clearly states the action ('Get') and the resource ('port events') with a specific scope ('for a specific vessel'). It effectively distinguishes from siblings like 'get_port_events' (which likely targets a port) and 'search_port_events_by_vessel' (which implies search semantics vs direct retrieval).

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?

The description implies when to use it: when you have a known vessel identifier and need its port events. However, it does not explicitly mention alternatives or situations where this tool should be avoided (e.g., when searching with flexible criteria, use 'search_port_events_by_vessel'). The guidance 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