Skip to main content
Glama

Ship history (account)

vessel_track
Read-onlyIdempotent

Where a ship has been between two times (UTC, ISO 8601), from the AIS Trail archive. 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_…' (keys at https://aistrail.com). Resolution: raw (up to 24 h per call), 1m (up to 7 days) or 1h (up to 366 days); at most 200 points per call, as rows of [time, lat, lon, speed_kn, course_deg]. The plan's history depth, credits (as on the track endpoint: 1 per vessel-day) and rate limit apply, and the 24-hour delay on recent data on plans without live data. sources_through gives, per source, the time up to which the archive holds its data; pending_days lists days in the range a source has not delivered yet, so no points on those days does not mean the ship was absent.

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>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "vessel_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd, e.g. 2026-10-02T00:00:00Z
fromYesStart, e.g. 2026-10-01T00:00:00Z
mmsiYes9-digit MMSI of the ship
resolutionNoraw: every position (up to 24 h per call); 1m: one point per minute (up to 7 days); 1h: one point per hour (up to 366 days)1m

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mmsi / description
      Added value: +"9-digit MMSI of the ship"
    • addedInput schema / properties / resolution / description
      Added value: +"raw: every position (up to 24 h per call); 1m: one point per minute (up to 7 days); 1h: one point per hour (up to 366 days)"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, and the description adds real substance beyond them: account/auth requirements, credit cost of 1 per vessel-day, rate limits, plan history depth, a 24-hour delay on non-live plans, and the 200-point cap. The only shortfall is that it does not say what happens when the cap is hit (truncation vs error).

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?

It is one dense paragraph, but the core purpose is front-loaded and every later sentence carries operational facts an agent needs. The resolution limits are restated verbatim from the schema, which is the main redundancy.

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 correctly takes on the return shape, specifying rows of [time, lat, lon, speed_kn, course_deg] plus the sources_through and pending_days fields. It also pre-empts the key misinterpretation that missing days mean an absent ship, which is exactly the caveat a caller needs.

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 coverage is 100%, so the schema already documents mmsi, from, to and the resolution enum with the same per-option limits the description repeats. The description adds little parameter-level meaning beyond the schema, so the baseline 3 applies.

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 names a specific resource and scope: a ship's positions between two UTC timestamps from the AIS Trail archive. That is enough to separate it from event- or port-call-oriented siblings like vessel_events and vessel_port_calls, though no sibling is named explicitly.

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?

It gives operational guidance on choosing a resolution and its lookback limits, plus the auth path, but never states when to prefer this tool over vessel_events, data_status or vessels_near. Usage is implied by the resource rather than contrasted with alternatives.

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.