Transdirect MCP by usefulapi

v1.6.1
io.usefulapi/transdirect Checked 2 days ago Published 1 day ago

Get courier quotes, book and pay for shipments, track parcels and cancel bookings in Transdirect.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

transdirect_get_member Get member account

Get the Transdirect member account behind the API key: company, credit limit and available credit, charge type, discount factor. Transdirect API: GET /member.

transdirect_list_payment_methods List payment methods

List the saved payment methods (credit card or PayPal) on the member account. Use an id as payment_method in transdirect_confirm_booking. Transdirect API: GET /members/payment-methods.

transdirect_list_couriers List couriers

List the couriers Transdirect supports, grouped by carrier, with the courier ids used in quotes and transdirect_confirm_booking. Transdirect API: GET /couriers.

transdirect_search_locations Search suburbs and postcodes

Search valid Australian suburbs and postcodes for an address. Use the suburb, state and postcode in quotes. Transdirect API: GET /locations/search.

ParameterTypeDescription
q *stringSuburb name or postcode to search for.
limitintegerMaximum results (default set by Transdirect).

transdirect_list_bookings List bookings

List the member's bookings, optionally since a value Transdirect accepts for `since`. Each booking has status, courier, connote and cost. Transdirect API: GET /bookings.

ParameterTypeDescription
sincestringOnly bookings changed since this value (format per Transdirect).
sortstringSort order, as Transdirect accepts it.

transdirect_get_booking Get a booking

Get one booking: status, is_paid, courier, sender and receiver, items, cost, connote and checks. Transdirect API: GET /bookings/{id}.

ParameterTypeDescription
booking_id *stringTransdirect booking id.

transdirect_get_label_url Get a label link

Get a signed public URL for the booking's shipping label PDF. The link opens the PDF without a login. Transdirect API: GET /bookings/{id}/public_url.

ParameterTypeDescription
booking_id *stringTransdirect booking id.

transdirect_track_shipment Track a shipment

Track a shipment by its reference or connote: state (picked_up, in_transit, delivered, attention, ...), headline and per-item events. Transdirect API: GET /tracking/{reference}.

ParameterTypeDescription
reference *stringShipment reference or connote.

transdirect_get_quotes Get courier quotes

Create a DRAFT booking for a shipment and return courier quotes (prices and tiers). Nothing is paid or lodged. Quotes can include a demo courier (sandbox only): never confirm a demo quote for a real shipment. Transdirect API: POST /bookings.

ParameterTypeDescription
items *arrayPackages. Weight in kg, dimensions in cm.
receiver *objectDelivery address.
sender *objectPickup address.
customer_referencestringYour own order or consignment reference.
declared_valuenumberDeclared value of the goods in AUD (transit cover). Default 0.
goods_descriptionstringShort description of the goods.
pickup_datestringPickup date yyyy-mm-dd.
tailgate_deliverybooleanTailgate at delivery.
tailgate_pickupbooleanTailgate at pickup.

transdirect_confirm_booking Confirm and pay for a booking

PAYS and lodges a draft booking with the chosen courier. Charges the payment method you pass. Call only after the user approves this courier, tier, price and payment method. Demo is refused. Transdirect API: POST /bookings/{id}/confirm.

ParameterTypeDescription
booking_id *stringTransdirect booking id.
confirm *booleanMust be true: the user explicitly approved paying for and lodging this booking now.
courier *stringCourier id from transdirect_get_quotes, e.g. couriers_please.
payment_method *stringPayment: 'credit' (member credit account) or a saved method id nab_<id> / paypal_<id>. Demo is refused.
pickup_datestringPickup date yyyy-mm-dd, if the quote asks for one.
tierintegerQuote tier number, when the courier offers several.

transdirect_cancel_booking Cancel a booking

Cancel a booking. Transdirect applies its own refund, courier cancellation or support escalation. Call only after the user approves the cancellation. Transdirect API: POST /bookings/{id}/cancel.

ParameterTypeDescription
booking_id *stringTransdirect booking id.
confirm *booleanMust be true: the user explicitly approved cancelling this booking now.
reason *stringReason for the cancellation (sent to Transdirect).