Skip to main content
Glama

Start tracking an existing shipment

start_tracking
Idempotent

Changes data: starts tracking on one shipment that has a container, B/L or air waybill number but was never registered, such as a draft made from an uploaded document, 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, so ask the user first, and call it only when they ask to start tracking that shipment. Safe to repeat: a shipment already tracking is left as it is and not billed again, with tracking_started false. A shipment with no number, an archived one or a road shipment is refused with the reason, and the plan or fair use can refuse it too; tell the user and do not retry. For a number with no shipment yet, use track_container. Answers with the shipment, and the carrier's events arrive within minutes.

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

Input Schema

NameRequiredDescriptionDefault
shipment_idYesA shipment id such as "shp_123", as returned by search_shipments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the action is attributed to the connected user, written to the audit log, registered with the carrier, and billed to the organization. It also spells out idempotency semantics in concrete terms (already-tracking shipments are left alone, not re-billed, tracking_started false) and that carrier events follow within minutes. Annotations already declare idempotentHint and non-destructive, so this is additive rather than load-bearing.

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-loads the mutation fact ("Changes data:") and then layers eligibility, consent, idempotency, refusals, alternative, and return behavior in a logical order. The content is dense but a single undivided paragraph makes the refusal and do-not-retry rules easy to skim past.

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?

For a one-parameter mutating tool with no output schema, everything an agent needs is present: consent requirement, billing consequence, identity of the acting user, idempotent behavior and the flag returned, all refusal causes with the do-not-retry rule, and what happens after the call.

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% and the single parameter is documented as a shipment id from search_shipments, so the baseline is 3. The description still adds real meaning by constraining which shipment ids are valid (must have a number and not already be registered) and by tying the id to a specific user intent.

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 ("starts tracking on one shipment") and narrows the eligible set precisely: a shipment with a container, B/L or air waybill number that was never registered, e.g. a draft from an uploaded document. It explicitly names the sibling it is not (track_container) for the case of a bare number with no shipment record.

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?

Gives explicit when-to-use ("call it only when they ask to start tracking that shipment"), a consent prerequisite ("ask the user first" because it is billed), when-not conditions (no number, archived, road shipment, plan/fair-use refusal) with the instruction not to retry, and the alternative tool for a different starting condition.

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