Skip to main content
Glama

A ship's track

get_track
Read-only

Where one ship has been, by MMSI: her positions oldest first, over the last hours (1 to 168) or between two times within the last 180 days (at most 14 days). Each point is a time, latitude, longitude, speed and course, as columns names them. Shiptrail hears ships from receivers near coasts, so open sea shows as gaps; positions are kept where she turned or every few minutes, not every report.

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": "get_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe window's end; now when left out. At most 14 days after from.
fromNoThe window's start, within the last 180 days.
mmsiYesHer MMSI: the whole nine-digit number, not part of it (find it with search_ships).
hoursNoThe last this many hours. Or give from and to instead.

Output Schema

NameRequiredDescriptionDefault
toYesThe window's end, to the minute.
urlYesHer page, or the port's, on shiptrail.io.
fromYesThe window's start, to the minute.
mmsiYes
nameNo
pointsYesHer positions, oldest first.
columnsYesWhat each point holds, in order: at, lat, lon, speedKn, courseDeg (null where not reported).
thinnedNoPresent when the window held more points than one answer carries: these were chosen evenly, her first and last among them.
pointCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"The window's start, within the last 90 days."New value: +"The window's start, within the last 180 days."
  2. Changed4 schema fields changed
    • addedInput schema / properties / from / maxLength
      Added value: +24
    • addedInput schema / properties / to / maxLength
      Added value: +24
    • addedOutput schema / properties / from / maxLength
      Added value: +24
    • addedOutput schema / properties / to / maxLength
      Added value: +24
  3. Changed1 schema field changed
    • changedInput schema / properties / mmsi / description
      Previous value: -"Her MMSI."New value: +"Her MMSI: the whole nine-digit number, not part of it (find it with search_ships)."
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds real behavioral value beyond that: the coastal-receiver coverage model explaining gaps over open sea, and the downsampling policy (points kept at turns or every few minutes, not every report). It stops short of saying anything about result-size limits or truncation.

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?

Two dense sentences that front-load what the tool returns before giving windows and data-quality caveats. Minor awkwardness in 'as columns names them', but no wasted sentences.

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 an output schema present, point structure needn't be spelled out, and the description still covers ordering, window bounds and the gap/downsampling caveats an agent needs to interpret results. Missing only edge behavior such as empty results or maximum points returned.

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 window semantics, defaults and the 14-day/180-day bounds are already documented. The description restates those bounds and adds only the mutual-exclusivity hint between hours and from/to, so it is a baseline 3 rather than adding meaning 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?

States a specific resource — the historical positions of one ship identified by MMSI — and pins down the ordering ('oldest first') and the shape of each point. An agent can tell this apart from get_ship (single snapshot) and get_area_history (multiple ships/area) without opening a schema.

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 clearly frames the two windows (last N hours vs. from/to) and points to search_ships for obtaining an MMSI, which is genuine usage context. However, it never says when to prefer this over siblings such as get_ship or get_area_history, nor what to do when no positions are returned.

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.