SpedirePRO MCP by usefulapi

v1.8.0
io.usefulapi/spedire Checked 1 day ago Published 1 hour ago

Get quotes, track shipments, create labels and book pickups in SpedirePRO.

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

spedire_get_account Get account

Return the SpedirePRO account name, email, wallet credit (credits_amount) and creation date. Also confirms the API key works. GET /v1/me.

spedire_get_wallet_movements Wallet movements

List wallet credit movements (top-ups, shipment charges, refunds), newest first. GET /v1/wallet.

ParameterTypeDescription
causalstringFilter by movement cause code, as the vendor defines it.
pageintegerPage number (default 1).

spedire_list_shipments List shipments

List shipments with status, tracker, sender, receiver, courier and price. Filter by any reference, status or archived flag. GET /v1/shipments-list.

ParameterTypeDescription
archivedbooleanFilter archived (true) or active (false) shipments.
global_return_searchstringSearch across reference, merchant_reference and order_reference at once.
merchant_referencestringYour merchant reference (partial match).
order_bystring
order_directionstring
pageintegerPage number (default 1).
receiverstringReceiver name filter.
referencestringSpedirePRO reference.
senderstringSender name filter.
statusstringStatus code: N validating, O label in progress, B created, E address error, S in transit, D delivered, R refunded, Y out for delivery, T departed, X problem in progress, L delayed, P at pickup point,…
trackerstringCourier tracking code.

spedire_get_shipment Get a shipment

Get one shipment by reference, tracker, order_reference or merchant_reference (give one). Returns status, exception_code, sender, receiver, courier and price. POST /v1/shipment (read only).

ParameterTypeDescription
merchant_referencestringYour merchant reference.
order_referencestringOrder reference.
referencestringSpedirePRO reference.
trackerstringCourier tracking code.

spedire_get_shipment_events Shipment events

List the webhook event history of one shipment (status changes sent to your webhook). Give reference or tracker. POST /v1/shipment/webhooks (read only).

ParameterTypeDescription
referencestringSpedirePRO reference.
trackerstringCourier tracking code.

spedire_get_label_url Get label download URL

Return a download URL (url, expire) for the shipping label PDF of a shipment. Creates no new label. POST /v1/get-label (read only).

ParameterTypeDescription
reference *stringThe SpedirePRO shipment reference (reference field).

spedire_get_quotes Get shipping quotes

Return courier rates for a route and parcels (from, to, packages, optional insurance protection_amount). Creates no shipment. POST /v1/get-quotes.

ParameterTypeDescription
from *objectSender place.
packages *array
to *objectReceiver place.
protection_amountnumberProtection (insured) amount, optional.

spedire_list_couriers List couriers

List the couriers enabled for the account, with their alias (the value for create_shipment courier), service info, mockable and pickup_type. GET /v1/couriers.

ParameterTypeDescription
directionstringShipment type: N national, X national to SCS, E EU export, F non-EU export, I EU import, T non-EU import, Y SCS import from EU, Z SCS import from non-EU, W abroad to abroad.
main_courierstringMain courier name, e.g. ups, inpost, sda (case-insensitive).

spedire_lookup_postcode Resolve postcode

Look up a postcode in a country to check address data before creating a shipment. GET /v1/geo/{country}/{postcode}.

ParameterTypeDescription
country *stringISO country code, e.g. IT.
postcode *string

spedire_find_drop_off_points Find drop-off points

Search lockers and post offices near a city or postcode. direction sender = pickup side (ritiro), receiver = delivery side (consegna). Points come back in the raw format that create_shipment expects. POST /v1/drop-off-points (read only).

ParameterTypeDescription
country *stringISO country code, e.g. IT.
citystring
directionstring
postcodestring
sender_countrystringSender country when it differs from country.
vendorsarrayCarrier vendors to include, e.g. ups, poste, inpost, mondial_relay.

spedire_get_drop_off_point Get a drop-off point

Return one drop-off point by vendor and point_id (from spedire_find_drop_off_points). POST /v1/drop-off-by-id (read only).

ParameterTypeDescription
country *stringISO country code, e.g. IT.
point_id *string
vendor *string

spedire_create_shipment Create a shipment

Create a shipment and its label with a courier. This is a real booking: it charges the account wallet credit (amount in the reply) and cannot be undone by this tool. Get the courier alias from spedire_list_couriers and rates from spedire_get_quotes first. Pass drop-off points exactly as spedire_find_drop_off_points returned them. POST /v1/create-label.

ParameterTypeDescription
merchant_reference *stringYour own reference, saved on the shipment.
packages *array
receiver *object
sender *object
addonsarray
book_pickupbooleanAlso book a courier pickup where the courier supports it.
contentobjectParcel contents description and declared amount, optional.
courierstringCourier alias from spedire_list_couriers. Omit to let SpedirePRO choose.
courier_fallbackbooleanIf true, pick the cheapest available courier when the chosen one is not available for this route.
include_priceboolean
servicesobjectDrop-off points to use, passed through unchanged from spedire_find_drop_off_points.

spedire_correct_address Correct shipment addresses

Correct the sender and receiver addresses of a shipment, for example one with address error status E. Send both full addresses. POST /v1/shipment/patch.

ParameterTypeDescription
receiver *object
reference *stringThe SpedirePRO shipment reference (reference field).
sender *object

spedire_book_pickup Book a courier pickup

Book a courier pickup on one date for a list of shipment references. The courier collects the parcels at the sender address. POST /v1/book-pickup.

ParameterTypeDescription
date *stringPickup date, yyyy-mm-dd.
references *arrayShipment references to collect.