Lalamove MCP by usefulapi
v1.19.4Read Lalamove cities, vehicles, quotations and orders; quote, place, tip and cancel deliveries.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lalamove_list_cities List cities, vehicles and special requests
The cities of the connected market with the vehicle types (serviceType keys such as MOTORCYCLE or CAR), their size and load, and the special requests each vehicle accepts. Use these exact keys in lalamove_create_quotation. GET /v3/cities.
lalamove_get_quotation Get quotation
A quotation by id: stops (with stopId), vehicle, price breakdown, currency, distance and expiresAt (a quotation can be ordered for 5 minutes). GET /v3/quotations/{quotationId}.
| Parameter | Type | Description |
|---|---|---|
quotation_id * | string | Lalamove quotation id (quotationId from lalamove_create_quotation). |
lalamove_get_order Get order
One delivery order: status (ASSIGNING_DRIVER, ON_GOING, PICKED_UP, COMPLETED, CANCELED, REJECTED, EXPIRED), price breakdown, driver id, share link, distance, stops with proof of delivery and metadata. Only orders from the last 60 days can be read. GET /v3/orders/{orderId}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
lalamove_get_driver Get driver and location
The driver of an order: name, phone, masked plate number, photo and last known coordinates (updated about every 10 seconds). Lalamove only shares this from 1 hour before the scheduled pickup (or the driver's arrival, whichever is earlier) until the order is completed; outside that window it answers 403. GET /v3/orders/{orderId}/drivers/{driverId}.
| Parameter | Type | Description |
|---|---|---|
driver_id * | string | Lalamove driver id (the driverId of the order once a driver accepted it). |
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
lalamove_track_order Track order
Where is my delivery: the order status, stop-level proof of delivery and share link, plus (when a driver has the order and it is on its way) the driver's name and live coordinates. Two reads: GET /v3/orders/{orderId} and, if a driver is assigned and the order is ON_GOING or PICKED_UP, GET /v3/orders/{orderId}/drivers/{driverId}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
lalamove_create_quotation Get a delivery quotation
Price a delivery: 2-16 stops (the first is the pickup, the rest are drop-offs), a vehicle type and optional extras. Returns quotationId, per-stop stopId, the price breakdown and currency, distance and expiresAt (about 5 minutes). It creates a quotation only: nothing is ordered and nothing is charged. Get the vehicle keys from lalamove_list_cities. Show the price to the user before placing an order. POST /v3/quotations.
| Parameter | Type | Description |
|---|---|---|
service_type * | string | Vehicle key from lalamove_list_cities, e.g. MOTORCYCLE, CAR, VAN. |
stops * | array | The stops in order: stop 1 = pickup, the others = drop-offs (2-16 stops). |
item | object | Item information (only supported in Thailand, Vietnam and Hong Kong). |
language | string | Address language key, e.g. en_HK or zh_HK. Default: English for the market. |
priority_tier | boolean | Priority tier: faster matching, higher price. Default false (regular tier). |
route_optimized | boolean | Let Lalamove reorder the drop-offs for the cheapest route (needs 3+ stops). |
schedule_at | string | Pickup time in UTC (ISO 8601, ending in Z), up to 30 days ahead. Omit for an immediate delivery. Local 15:00 in Singapore (UTC+8) is 07:00Z. |
special_requests | array | Special request keys valid for the vehicle (lalamove_list_cities), e.g. COD, DOOR_TO_DOOR. |
lalamove_place_order Place delivery order (charges the wallet)
WRITE, SPENDS MONEY: order a delivery from a quotation. In production the total price is charged to the prepaid Lalamove wallet and a driver is dispatched; cancellation is only free within Lalamove's policy. Only call it after the user has seen the quotation price and said yes. confirm_total must equal the quotation total (it is checked against Lalamove, and an expired quotation is refused). The recipients are given in stop order and matched to the quotation's drop-off stops by the tool. The order is placed once: do not retry after an error without checking lalamove_get_order. POST /v3/orders.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. Set it only after the user has explicitly confirmed this action. |
confirm_total * | string | The total price the user approved, exactly as in the quotation priceBreakdown.total (e.g. "124"). |
quotation_id * | string | Lalamove quotation id (quotationId from lalamove_create_quotation). |
recipients * | array | One contact per drop-off stop, in the same order as the quotation's stops after the pickup. |
sender * | object | Contact at the pickup stop. |
metadata | object | Your own reference key/value pairs stored on the order (e.g. your order number). |
proof_of_delivery | boolean | Ask the driver for a photo or signature at each stop. |
lalamove_add_priority_fee Add priority fee (tip, charges the wallet)
WRITE, SPENDS MONEY: add a priority fee (tip) to an order to attract a driver. Only possible before a driver accepts the order. The amount replaces the earlier fee and must be higher than it; the difference is charged to the wallet. Amount in the market's currency (see the order's priceBreakdown.currency). POST /v3/orders/{orderId}/priority-fee.
| Parameter | Type | Description |
|---|---|---|
amount * | string | The new total priority fee, e.g. "20". |
confirm * | boolean | Must be true. Set it only after the user has explicitly confirmed this action. |
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
lalamove_cancel_order Cancel order
WRITE, DESTRUCTIVE: cancel a delivery order. Lalamove only allows it while the order is ASSIGNING_DRIVER, or less than 5 minutes after a driver accepted it; otherwise it answers ERR_CANCELLATION_FORBIDDEN. A cancelled order cannot be revived, only re-placed from a new quotation. DELETE /v3/orders/{orderId}.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. Set it only after the user has explicitly confirmed this action. |
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
lalamove_change_driver Change driver
WRITE: ask Lalamove to replace the driver of an order (no extra fee). Allowed 15 minutes after the driver was matched and before pickup; the order goes back to ASSIGNING_DRIVER and a new driver is looked for. Needs the current driver id from lalamove_get_order. DELETE /v3/orders/{orderId}/drivers/{driverId}.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. Set it only after the user has explicitly confirmed this action. |
driver_id * | string | Lalamove driver id (the driverId of the order once a driver accepted it). |
order_id * | string | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). |
reason * | string | Why the driver is changed. |