Skip to main content
Glama

A vessel's port calls

vessel_port_calls
Read-onlyIdempotent

Where a vessel called, from when to when, the gaps when no receiver heard her and the events along the way, for the last days asked (default 7), from all the AIS we hear (the ports and times; a position only where we may pass it on). Reach back: as set in your Data API agreement. Credits: 1 per call. Needs a Data API plan (see https://gangwayais.com/#pricing or write to desk@gangwayais.com).

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": {
      "mmsi": "<mmsi>"
    },
    "name": "vessel_port_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays back from now (default 7)
mmsiYesThe vessel's MMSI, nine digits

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent and non-destructive behavior, and the description goes well beyond them: it discloses the credit cost (1 per call), the requirement of a Data API plan with a pricing link and contact address, a retention ceiling tied to the customer's agreement, and important data-quality caveats (receiver gaps, and positions only where redistribution is permitted). What is missing is any statement of response format or volume, but the operational and licensing traits an agent needs before calling are covered.

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

Conciseness3/5

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

The purpose is front-loaded and there is little filler, but the prose is elliptical and hard to parse on first read ('the ports and times; a position only where we may pass it on'), and the pricing URL plus email consume space mid-sentence. It earns most of its length but could be reflowed into clearer clauses.

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?

With only two parameters, no nested objects and no output schema, the definition is nearly sufficient: it describes what comes back (ports, times, gaps, events), the lookback limit, the cost and the access prerequisite. The remaining gap is that, absent an output schema, the shape and pagination of the returned port-call records are not described.

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 genuine meaning: the days parameter's real upper bound is the reach-back set in the Data API agreement, which qualifies the schema's hard maximum of 365. That is a constraint the schema cannot express on its own.

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 opening clause states a specific resource and scope: where a single vessel called, the time span, the AIS coverage gaps, and the events in between, bounded to the last N days. An agent can distinguish this from vessel_track or port_calls_on_date because the subject is one hull's call history over a lookback window. It stops short of naming a sibling or stating exclusions, so it is not a 5.

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?

Usage context is implied rather than directed: the 'last days asked (default 7)' and reach-back note tell you how to scope a query, and the plan/credits sentence signals a precondition. There is no explicit when-to-use-this-versus-another-tool guidance, and no exclusions 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