Logistics & Postal Intelligence · Deterministic Engine Slug: tracking_number_detector 0-LLM Deterministic

Shipping Tracking Number Carrier Detector & Checksum API

Order-tracking portals, customer support bots, and 3PL webhook routers receive raw tracking strings without a carrier label—and wasting external carrier API calls on typos drives up cost and latency.

5-Second Try-Now Console Connect via /mcp FastMesh SuperBus

How It Works & Live Probe Telemetry

Running locally in 0.1 ms, this detector strips whitespace/hyphens, normalizes uppercase characters, evaluates regex patterns across UPS (1Z...), FedEx (12, 15, 20, and 22 digits), DHL (10-digit Express / JJD eCommerce), and USPS (20–22 digits / IMpb), and computes carrier-specific check digits—including the UPS 1Z alphanumeric letter-to-digit table and Modulo-10 check digit. Testing 1Z999AA10123456784 identifies primary_carrier 'UPS' with checksum_valid: true.

Verified Endpoint & Billing Contract

MCP Tool Nametracking_number_detector
Subdomain & Modelogistics_address · deterministic
REST EndpointPOST https://devour-com.fastmesh.dev/v1/organs/tracking_number_detector/invoke
MCP EndpointPOST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp)
Verified Probe Latency0.1 ms (HTTP 200, verified 2026-12-02T10:50:00Z)
Archive Cache TTL30 days (2592000s) cross-tenant verified-hit cache
Empty / Error RuleCharge $0.00 when tracking string is empty, malformed, or matches zero known carrier pattern/checksum.
Plans & PrivacyStarter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale

Production Use Cases

ScenarioTrigger InputDeterministic Output Value
Support Ticket Auto-RoutingCustomer pastes tracking code in helpdesk chat without naming carrierIdentifies primary_carrier and verifies checksum before calling carrier tracking APIs
WMS Label Sanity GateCatch corrupted barcode scans prior to customer dispatch emailFlags checksum_valid: false at $0 cost before notifying buyers
Multi-Carrier Webhook NormalizationIngest mixed CSV manifests from regional fulfillment partnersTags UPS, FedEx, DHL, and USPS shipments uniformly

MCP JSON-RPC 2.0 & REST Invocation Examples

Call via MCP tools/call on https://devour-com.fastmesh.dev/mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tracking_number_detector",
    "arguments": {
      "tracking_number": "1Z999AA10123456784"
    }
  }
}

Or invoke directly via REST (POST /v1/organs/tracking_number_detector/invoke):

curl -sS -X POST https://devour-com.fastmesh.dev/v1/organs/tracking_number_detector/invoke \
  -H 'Content-Type: application/json' \
  -d '{"input": {"tracking_number": "1Z999AA10123456784"}}'

Verified structured JSON response:

{
  "ok": true,
  "normalized_tracking": "1Z999AA10123456784",
  "detected_carriers": [
    "UPS"
  ],
  "primary_carrier": "UPS",
  "checksum_valid": true,
  "billable_usd": "0.005"
}

Strict Input Schema

{
  "type": "object",
  "properties": {
    "tracking_number": {
      "type": "string",
      "minLength": 8,
      "maxLength": 40,
      "description": "Tracking code for UPS (1Z...), FedEx (12/15/20/22 digits), DHL (10-digit/JJD), or USPS (20-22 digits / IMpb)."
    }
  },
  "required": [
    "tracking_number"
  ],
  "additionalProperties": false
}

Frequently Asked Questions

How does UPS 1Z check-digit verification work?

After the '1Z' prefix, the next 15 alphanumeric characters are mapped (letters A-Z map to digits 2-9 repeating modulo 10), odd/even positions are weighted 1x and 2x, and the Modulo-10 remainder must match the final check digit.

What if a tracking number matches no known carrier format?

detected_carriers returns empty, checksum_valid is false, and the invocation bills $0.00.

Related Commerce & Marketing MCP Tools