Skip to main content
Glama

Start tracking a container, B/L or air waybill

track_container
Idempotent

Changes data: makes a shipment from a container number, bill of lading number or air waybill number and starts tracking it, as the person who connected this app, and records it in the organization's audit log. This registers the shipment with the carrier's tracking service and is billed to the organization like any new shipment, so ask the user to confirm the number before calling, and call it only when they ask to track it. If the organization already has a live shipment with that number, nothing new is made or billed: it answers with that shipment, and starts its tracking only if it was never started (also billed). Safe to repeat: the same number again answers with the same shipment, with created false, within 24 hours, even if it has since been archived. The plan or fair use can refuse a new shipment, which answers with the reason; tell the user and do not retry. A number that fails its check digit or format is refused: check it with the user. Answers with the shipment; tracking_started says whether this call registered it, and the carrier's events arrive within minutes, so read get_tracking_timeline a little later.

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": {
      "transport_reference": "<transport_reference>"
    },
    "name": "track_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
transport_referenceYesAn ISO 6346 container number such as "MSCU1234566", a bill of lading number such as "MAEU123456789", or an air waybill number such as "016-25645270".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true) the description discloses the billing consequence ('billed to the organization like any new shipment'), the audit-log record, and attribution to the connecting user. It also spells out the idempotency nuance the annotation cannot express: repeat calls within 24 hours return the same shipment with created=false, even if archived, and an existing live shipment is reused without a new charge. Failure modes (policy refusal, check-digit/format rejection) and latency of carrier events are covered too.

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?

The main action is front-loaded and nearly every sentence carries operational weight (billing, idempotency, failure handling, follow-up tool). Some sentences are awkwardly dense and clause-stacked, particularly the opening, but there is little outright 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?

With no output schema, the description still explains the response shape ('Answers with the shipment; tracking_started says whether this call registered it') and sets expectations about when carrier events appear. For a single-parameter, billed, side-effecting tool, an agent has everything needed to call it safely and interpret the result.

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% and the single parameter is fully documented with ISO 6346, B/L and air waybill examples, so baseline is 3. The description adds validation meaning beyond the schema by noting that a number failing its check digit or format is refused and should be checked with the user, but it adds no further format or syntax detail.

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 states a concrete verb and resource: it creates a shipment from a container, B/L or air waybill number and starts carrier tracking, recording it against the connected user and the audit log. It also names the follow-up tool get_tracking_timeline, so the agent knows where tracking events land. It does not differentiate itself from the sibling start_tracking, which an agent could plausibly confuse with this tool.

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?

It gives explicit preconditions ('ask the user to confirm the number before calling'), an explicit trigger ('call it only when they ask to track it'), and explicit do-not-retry guidance when the plan or fair-use policy refuses the shipment. It stops short of naming an alternative for the cases where this tool is the wrong choice, notably the start_tracking sibling, so the routing story is incomplete.

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