Skip to main content
Glama

track_parcel

Read-onlyIdempotent

Query real-time tracking milestones and delivery status across Steadfast, Pathao, RedX, and Paperfly by consignment ID or tracking code. Auto-detects courier and returns normalized status history.

Instructions

Query live, real-time tracking milestones and delivery telemetry across Steadfast, Pathao, RedX, and Paperfly networks using consignment ID or tracking code. READ-ONLY OPERATION: Does not alter shipment state or carrier data. Returns normalized status, current location, carrier status notes, and timestamp history. Returns structured error code 'CONSIGNMENT_NOT_FOUND' with 'couriers_checked' if the consignment does not exist. Carrier provider is auto-detected from consignment prefix if omitted.

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": {
      "tracking_code": "<tracking_code>"
    },
    "name": "track_parcel"
  }
}

Input Schema

NameRequiredDescriptionDefault
courierNoOptional courier provider name. If omitted, provider is auto-detected from tracking code prefix.
tracking_codeYesConsignment ID or tracking code (e.g. 'DS190926QZNGJT' for Pathao, 'SF12345678' for Steadfast, 'REDX123' for RedX)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.4.2
    • changedInput schema / properties / courier / description
      Previous value: -"Optional courier name if known"New value: +"Optional courier provider name. If omitted, provider is auto-detected from tracking code prefix."
    • changedInput schema / properties / tracking_code / description
      Previous value: -"Consignment ID or tracking code"New value: +"Consignment ID or tracking code (e.g. 'DS190926QZNGJT' for Pathao, 'SF12345678' for Steadfast, 'REDX123' for RedX)"
  2. Changed9 schema fields changedv2.4.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / consignmentId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / courier / default
      Removed value: -"steadfast"
    • addedInput schema / properties / courier / description
      Added value: +"Optional courier name if known"
    • removedInput schema / properties / invoice
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / trackingCode
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / tracking_code
      Added value: +{
      +  "description": "Consignment ID or tracking code",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "tracking_code"
      +]
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered; the description still adds substantial context by disclosing the returned fields (normalized status, current location, carrier notes, timestamp history) and the structured error contract 'CONSIGNMENT_NOT_FOUND' with 'couriers_checked'. It also explains the auto-detection fallback behavior when courier is omitted, which annotations cannot express.

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?

Four sentences, each carrying distinct information: purpose and scope first, then the read-only guarantee, then return shape, then error contract and courier resolution. Nothing is repeated or wasted.

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 takes on the burden of describing returns and does so (status, location, carrier notes, timestamp history). Error behavior and the courier/prefix resolution rule round out what an agent needs to call and interpret 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?

Schema description coverage is 100% and both parameters are documented there, including the auto-detection rule for courier and example codes for tracking_code. The description restates the consignment ID / tracking code duality and prefix auto-detection but adds no new syntax or format detail beyond the schema, so baseline 3 applies.

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?

States a specific verb (query) and resource (live tracking milestones and delivery telemetry), names the four carrier networks it covers, and identifies the two accepted identifiers. It is immediately distinguishable from mutation siblings like create_parcel, update_parcel, and cancel_parcel.

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?

Clear context: use this to look up the status of an existing consignment, and the explicit 'READ-ONLY OPERATION: Does not alter shipment state' line tells the agent this is not the tool for state changes. It stops short of naming an alternative for cases like bulk lookups or webhook-based tracking, so no explicit exclusions.

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