Skip to main content
Glama

Get a shipment's tracking timeline

get_tracking_timeline
Read-onlyIdempotent

The journey of one shipment: its route legs, every tracking event in order (gate-in, loaded, discharged, and so on, with place, time and coordinates), and the history of ETA revisions. Use it for "what happened to shipment shp_123", "where is it on the map", "where is it now", "has the ETA moved" or "when was it discharged". Clients that show MCP Apps draw the voyage on a map: the sea route, its ports, the vessel and its track. eta_revisions lists each change with the previous and new date and the slip in seconds, so it answers "how much did the ETA slip". Only the most recent event_limit events are returned (40 by default); events_total says how many there are. For where a list of shipments stands, search_shipments' latest_event is enough: do not call this once per shipment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_limitNoHow many of the most recent tracking events to return, 1 to 500.
shipment_idYesA shipment id such as "shp_123", as returned by search_shipments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's real contribution is behavioral: the truncation rule (only the most recent `event_limit` events, 40 by default, `events_total` gives the full count) and the eta_revisions shape (previous/new date plus slip in seconds). It omits anything about auth, quotas, or ordering caveats, but for a read tool the truncation semantics are the key disclosure and they are present.

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?

Front-loaded with the core capability, then usage triggers, then return detail, then the routing exclusion. Dense and largely waste-free, though the quoted example-utterances list is longer than strictly necessary.

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 carries the burden of describing returns and does so: route legs, ordered events with place/time/coordinates, eta_revisions with previous/new dates and slip seconds, plus the map rendering for MCP Apps clients. Nothing essential to correct invocation is missing.

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; the description goes beyond the schema by explaining what `event_limit` actually does (windows the most recent events) and pairing it with the `events_total` counter that reports the unfiltered count. That is meaningful semantics an agent could not derive from the schema alone.

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?

Opens with a specific verb+resource scope ('The journey of one shipment') and enumerates the payload components (route legs, events, eta revisions). It also explicitly names the sibling it is not — search_shipments' `latest_event` — so an agent can distinguish it without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete triggering phrasings ('what happened to shipment shp_123', 'has the ETA moved') plus an explicit when-not: for a list of shipments, use search_shipments' `latest_event` rather than calling this per shipment. Both the use case and the anti-pattern 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