Skip to main content
Glama

get_tracking

Read-only

Retrieve a shipment's carrier and tracking number from its Amazon package tracking page using the order ID and shipment ID.

Instructions

Get the carrier and tracking number of a Shipment from its package tracking page.

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": {
      "order_id": "<order_id>",
      "shipment_id": "<shipment_id>"
    },
    "name": "get_tracking"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`).
accountNoAnother Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`).
order_idYesThe Amazon Order ID of the Shipment.
shipment_idYesThe Shipment's `shipment_id`. Amazon stops showing the tracking link it comes from on older Orders.

Output Schema

NameRequiredDescriptionDefault
carrierNoThe carrier the page names, e.g. `UPS`, or `None` when it names none (the "Delivery Info" layout).
tracking_numberNoThe carrier's tracking number, e.g. `1Z999AA10123456784` or `TBA000000000000`. Always a `str`, since many (e.g. USPS) are all digits and may have leading zeros.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • addedInput schema / properties / account
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`)."
      +}
  2. Changed1 schema field changedv2.1.3
    • changedOutput schema / properties / carrier / description
      Previous value: -"The carrier name, e.g. `UPS`, or `Amazon` for Amazon's own delivery network."New value: +"The carrier the page names, e.g. `UPS`, or `None` when it names none (the \"Delivery Info\" layout)."
  3. Changed3 schema fields changedv2.1.2
    • removedInput schema / properties / order_id / title
      Removed value: -"Order Id"
    • removedInput schema / properties / shipment_id / title
      Removed value: -"Shipment Id"
    • removedInput schema / properties / site / title
      Removed value: -"Site"
  4. Changed1 schema field changedv1.4.2
    • addedInput schema / properties / site
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`).",
      +  "title": "Site"
      +}
  5. Addedv1.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that the values come from a live package tracking page, hinting at a network fetch and possible absence of data, but it does not state what happens when no tracking link exists or whether the call fails versus returns empty. Some added context, but thin beyond the annotations.

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?

A single front-loaded sentence with zero filler; the returned fields are stated before the source. It is not padded, though it is arguably too terse for the workflow it implies.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and all four parameters are documented in the schema. What remains uncovered is behavioral: whether this is expected to be called after get_order, and what the agent should expect when the tracking page or link is missing for older orders.

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 site, account, order_id and shipment_id are all documented in the schema, including the caveat that Amazon hides the tracking link on older Orders. The description adds no parameter meaning of its own, 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 description names a specific verb ('Get') and a specific return payload ('carrier and tracking number') scoped to a Shipment, plus the source ('its package tracking page'). That is enough to distinguish it from get_order/get_orders, though it never explicitly says which sibling to use instead.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: no statement that this is the follow-up to reading a Shipment via get_order, no preconditions, and no routing to an alternative when tracking data is unavailable. The agent must infer the workflow entirely from the schema's shipment_id description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.