Skip to main content

Tool Reference

Mailhub MCP exposes eight tools. That is the entire surface: there are no MCP resources and no MCP prompts, and no tool exists beyond this list.

ToolUsePermissionChanges dataConfirmationSpends funds
mailhub_list_ordersPage through the account's OrdersView access to OrdersNoNot requiredNo
mailhub_get_orderRead one Order and its ShipmentView access to OrdersNoNot requiredNo
mailhub_create_orderCreate an Order from addresses and parcelsUpdate access to OrdersYesconfirm: trueNo
mailhub_get_shipment_ratesGet carrier Rates for a ShipmentUpdate access to OrdersNoNot requiredNo
mailhub_buy_labelBuy a Label for a selected RateUpdate access to OrdersYesconfirm: trueYes
mailhub_download_labelGet the Mailhub link for a purchased LabelView access to OrdersNoNot requiredNo
mailhub_cancel_labelCancel a purchased LabelUpdate access to OrdersYesconfirm: trueNo
mailhub_update_order_statusMove one Order to another statusUpdate access to OrdersYesconfirm: trueNo

mailhub_get_shipment_rates is the exception worth remembering: it reads, but it needs update access, so a view-only user is refused. Confirmations & Spend Safety owns the confirmation and spend rules behind the last three columns.

How the objects fit together

Order → Shipment → Rate → Label. Each step hands the next one an identifier:

IdentifierWhere you get itWhat it is for
orderIdmailhub_list_orders, or creating an OrderReading an Order, changing its status
shipmentIdOn the Order you listed, read, or createdRating, and buying against a Rate
rateIdmailhub_get_shipment_ratesBuying a Label
labelIdOn the Order once a Label existsCancelling a Label

The normal path

  1. mailhub_create_order — or start from an Order that already exists, found with mailhub_list_orders.
  2. mailhub_get_shipment_rates — get the Rates for the Order's Shipment and choose one.
  3. mailhub_buy_label — buy the Label for that Rate.
  4. mailhub_download_label — hand the user the Mailhub link to print it.

Rating and buying work from the Order as it stands. You do not need to move the Order to Packed, or to any other status, before asking for Rates or buying a Label.

Corrections

mailhub_update_order_status and mailhub_cancel_label fix a path that has gone wrong rather than advancing it — see Working with Labels for cancelling a Label safely.

What each page promises

Every tool page states its exact inputs with types and defaults. What it promises about the result depends on the tool:

ResultTools
Exact top-level fields you can rely onmailhub_get_shipment_rates, mailhub_create_order, mailhub_download_label
No data payload at allmailhub_cancel_label
Described by behavior, with no stable field setmailhub_list_orders, mailhub_get_order, mailhub_update_order_status, mailhub_buy_label

The last group returns Mailhub's own payload, which this documentation does not pin field by field — read those sections as a description of what comes back, not as a schema to code against. Identifiers in examples are placeholders.

Next

Start with the first tool your task needs — usually mailhub_list_orders to find an Order, or mailhub_create_order to make one.