Skip to main content
Glama

Get Tracking Results

get_tracking_results
Read-only

Returns full tracking results for an existing tracker: metadata, shipment status, all events in order, and delivery statistics. Primary tool for "where is my package?" when you have a trackerId. statusMilestone values: pending | info_received | in_transit | out_for_delivery | failed_attempt | available_for_pickup | delivered | exception.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchByNoHow to interpret trackerId: default is Ship24 trackerId, use "clientTrackerId" for your own reference.
trackerIdYesShip24 trackerId, or clientTrackerId when searchBy="clientTrackerId".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
trackingsYesOne entry per matched tracker or shipment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "trackings": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "events": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "courierCode": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Courier code linked to this event; refers to the get_couriers list."
      +                        },
      +                        "datetime": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "DEPRECATED — use occurrenceDatetime."
      +                        },
      +                        "eventId": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Unique identifier of this event in Ship24."
      +                        },
      +                        "eventTrackingNumber": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "The tracking number the event was actually found on."
      +                        },
      +                        "hasNoTime": {
      +                          "anyOf": [
      +                            {
      +                              "type": "boolean"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "DEPRECATED — true when the courier reported a date with no time."
      +                        },
      +                        "location": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Raw location text as reported by the courier."
      +                        },
      +                        "occurrenceDatetime": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "When the event occurred."
      +                        },
      +                        "order": {
      +                          "anyOf": [
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Tie-breaker when several events share the same occurrenceDatetime; lower comes first."
      +                        },
      +                        "sourceCode": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Internal code of the source this event came from. These codes may change at any time."
      +                        },
      +                        "status": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Raw status text as reported by the courier."
      +                        },
      +                        "statusCategory": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Ship24 status category for the event."
      +                        },
      +                        "statusCode": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Ship24 normalised status code for the event."
      +                        },
      +                        "statusMilestone": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "Milestone at the time of the event: pending | info_received | in_transit | out_for_delivery | failed_attempt | available_for_pickup | delivered | exception."
      +                        },
      +                        "trackingNumber": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "The original tracking number used to create the tracker."
      +                        },
      +                        "utcOffset": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ],
      +                          "description": "DEPRECATED — the offset is already carried by occurrenceDatetime."
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Tracking events, most recent first."
      +              },
      +              "shipment": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "delivery": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": {},
      +                            "properties": {
      +                              "aiPredictiveDeliveryDate": {
      +                                "anyOf": [
      +                                  {
      +                                    "additionalProperties": {},
      +                                    "properties": {
      +                                      "from": {
      +                                        "anyOf": [
      +                                          {
      +                                            "type": "string"
      +                                          },
      +                                          {
      +                                            "type": "null"
      +                                          }
      +                                        ],
      +                                        "description": "Earliest date of the window."
      +                                      },
      +                                      "to": {
      +                                        "anyOf": [
      +                                          {
      +                                            "type": "string"
      +                                          },
      +                                          {
      +                                            "type": "null"
      +                                          }
      +                                        ],
      +                                        "description": "Latest date of the window."
      +                                      }
      +                                    },
      +                                    "type": "object"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Ship24 AI-predicted window. Omitted entirely unless enabled on the account."
      +                              },
      +                              "courierEstimatedDeliveryDate": {
      +                                "anyOf": [
      +                                  {
      +                                    "additionalProperties": {},
      +                                    "properties": {
      +                                      "from": {
      +                                        "anyOf": [
      +                                          {
      +                                            "type": "string"
      +                                          },
      +                                          {
      +                                            "type": "null"
      +                                          }
      +                                        ],
      +                                        "description": "Earliest date of the window."
      +                                      },
      +                                      "to": {
      +                                        "anyOf": [
      +                                          {
      +                                            "type": "string"
      +                                          },
      +                                          {
      +                                            "type": "null"
      +                                          }
      +                                        ],
      +                                        "description": "Latest date of the window."
      +                                      }
      +                                    },
      +                                    "type": "object"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Window promised by the courier."
      +                              },
      +                              "estimatedDeliveryDate": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Estimated delivery date, when the courier provides one."
      +                              },
      +                              "service": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Name of the logistics service or product used."
      +                              },
      +                              "signedBy": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "DEPRECATED — always null."
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Delivery dates and service level."
      +                      },
      +                      "destinationCountryCode": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Detected destination country (ISO alpha-2)."
      +                      },
      +                      "originCountryCode": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Detected origin country (ISO alpha-2)."
      +                      },
      +                      "recipient": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": {},
      +                            "properties": {
      +                              "address": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Recipient address."
      +                              },
      +                              "city": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Recipient city."
      +                              },
      +                              "name": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Recipient name."
      +                              },
      +                              "postCode": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Recipient postal code."
      +                              },
      +                              "subdivision": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "Recipient state or province."
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Recipient details. All fields are nulled unless the account may receive personal data."
      +                      },
      +                      "shipmentId": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Unique identifier of the parcel in Ship24."
      +                      },
      +                      "statusCategory": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Ship24 status category for the shipment."
      +                      },
      +                      "statusCode": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Ship24 normalised status code for the shipment."
      +                      },
      +                      "statusMilestone": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Current milestone; same value set as event.statusMilestone."
      +                      },
      +                      "trackingNumbers": {
      +                        "anyOf": [
      +                          {
      +                            "items": {
      +                              "additionalProperties": {},
      +                              "properties": {
      +                                "tn": {
      +                                  "anyOf": [
      +                                    {
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "null"
      +                                    }
      +                                  ],
      +                                  "description": "A tracking number linked to the shipment."
      +                                }
      +                              },
      +                              "type": "object"
      +                            },
      +                            "type": "array"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "All tracking numbers linked to the shipment."
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "General shipment information and current status."
      +              },
      +              "statistics": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "timestamps": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": {},
      +                            "properties": {
      +                              "availableForPickupDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the available_for_pickup milestone."
      +                              },
      +                              "deliveredDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the delivered milestone."
      +                              },
      +                              "exceptionDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the exception milestone."
      +                              },
      +                              "failedAttemptDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the failed_attempt milestone."
      +                              },
      +                              "inTransitDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the in_transit milestone."
      +                              },
      +                              "infoReceivedDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the info_received milestone."
      +                              },
      +                              "outForDeliveryDatetime": {
      +                                "anyOf": [
      +                                  {
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ],
      +                                "description": "First occurrence of the out_for_delivery milestone."
      +                              }
      +                            },
      +                            "type": "object"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "When each milestone was first reached; null for milestones never reached."
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Milestone timestamps for the shipment lifecycle."
      +              },
      +              "tracker": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "clientTrackerId": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Your own tracker identifier, usable with searchBy=clientTrackerId."
      +                      },
      +                      "courierCode": {
      +                        "anyOf": [
      +                          {
      +                            "anyOf": [
      +                              {
      +                                "items": {
      +                                  "type": "string"
      +                                },
      +                                "type": "array"
      +                              },
      +                              {
      +                                "type": "string"
      +                              }
      +                            ]
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Courier code(s) pinned on this tracker."
      +                      },
      +                      "createdAt": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "When the tracker was created."
      +                      },
      +                      "isSubscribed": {
      +                        "anyOf": [
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "False means the tracker is archived and no longer used for tracking."
      +                      },
      +                      "isTracked": {
      +                        "anyOf": [
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "False means tracking stopped (delivered, inactive or unsubscribed); existing results remain."
      +                      },
      +                      "shipmentReference": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Your own shipment reference, as supplied at creation."
      +                      },
      +                      "trackerId": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Ship24 tracker identifier; pass this to get_tracking_results."
      +                      },
      +                      "trackingNumber": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Tracking number this tracker follows."
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The tracker this result comes from. Absent for search_tracking, which creates no tracker."
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "One entry per matched tracker or shipment."
      +    }
      +  },
      +  "required": [
      +    "trackings"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes further by specifying that events are returned in order and listing the allowed statusMilestone values. It does not discuss pagination or errors, but for a read-only lookup with an output schema this is adequate added behavioral context.

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?

Three short sentences each earn their place: the return payload, the primary use case, and the statusMilestone enum. It is front-loaded with the core behavior and contains no filler.

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?

The tool is a simple read-only getter with one required parameter, a fully described input schema, and an output schema. The description covers what it returns, in what order, and when to use it, so an agent has enough to invoke it correctly.

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?

Input schema description coverage is 100%, so the schema already documents trackerId and searchBy meanings. The description mentions needing a trackerId and alludes to status values, but adds no parameter-level detail beyond the schema, giving the baseline score.

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?

Description states a specific verb ('Returns') and resource ('full tracking results for an existing tracker') and enumerates the content: metadata, shipment status, events in order, and delivery statistics. It also marks itself as the primary tool for 'where is my package?' when a trackerId is available, distinguishing it from search-oriented siblings.

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 explicitly says when to use this tool: when you have a trackerId and need package status context. It does not explicitly name sibling tools as alternatives or state when not to use it, but the 'primary tool for...' framing gives clear usage context.

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