warp-agent-mcp
v0.20.1Quote, book, and track LTL, FTL, cargo van, and box-truck freight via the Warp API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
freight_workflow Start a Freight Review
Get a ready-to-use shipment intake CSV header, results CSV header, and starter prompt for shipment quoting, weekly freight comparison, or invoice review. Guidance only: does not read files, fetch rates, schedule work, or book. Use this when an operator asks how to start or supplies invoices/a shipment sheet.
| Parameter | Type | Description |
|---|---|---|
workflow * | string |
compare_freight_costs Compare Freight Costs Against Evidence
Calculate USD cost differences for up to 50 distinct shipments using supplied invoice/quote amounts and explicit comparability evidence. Excludes mismatched or unknown terms, keeps losses, separates quoted opportunities from invoice differences. Does not fetch rates, verify documents, annualize savings, or book. One candidate per shipment per call.
| Parameter | Type | Description |
|---|---|---|
rows * | array |
van_quote Get Cargo Van Quote
Quote a cargo van shipment (1-3 pallets, firm price)
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pallets * | integer | Number of pallets (1-3) |
pickup_date * | string | Pickup date YYYY-MM-DD |
weight_lbs_per_pallet * | number | Weight per pallet in lbs |
commodity | string | Commodity description |
delivery_services | array | Delivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery |
height_in | number | Per-pallet height in inches (defaults to 48) |
length_in | number | Per-pallet length in inches (defaults to 48) |
pickup_services | array | Pickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup |
width_in | number | Per-pallet width in inches (defaults to 40) |
box_truck_quote Get Box Truck Quote
Quote a 26' box truck shipment (1-12 pallets, firm price)
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pallets * | integer | Number of pallets (1-12) |
pickup_date * | string | Pickup date YYYY-MM-DD |
weight_lbs_per_pallet * | number | Weight per pallet in lbs |
commodity | string | Commodity description |
delivery_services | array | Delivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery |
height_in | number | Per-pallet height in inches (defaults to 48) |
length_in | number | Per-pallet length in inches (defaults to 48) |
pickup_services | array | Pickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup |
width_in | number | Per-pallet width in inches (defaults to 40) |
ftl_quote Get Full Truckload Quote
Quote a full truckload (53' dry van). Only origin, destination, and date required.
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pickup_date * | string | Pickup date YYYY-MM-DD |
commodity | string | Commodity description |
pallets | integer | Pallets (optional, display only) |
weight_lbs_per_pallet | number | Weight per pallet (optional) |
ltl_quote Get LTL Freight Quote
Quote an LTL shipment — returns Warp's all-inclusive rate FAST (~1-2s) so the user sees a price immediately. The inline quote card shows the Warp rate plus a 'finding other carrier rates…' loading indicator. IMMEDIATELY follow up by calling ltl_market_options with the same parameters to fill in the multi-carrier comparison (~15s). Provide dims + commodity for an exact firm quote; if you don't have dims, quote anyway — it assumes a standard 48x40x48 pallet (FAK, no freight class) for an instant price. Don't block on asking for pallet dimensions; quote first, then pass real dims for an exa…
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pickup_date * | string | Pickup date YYYY-MM-DD |
commodity | string | Commodity description |
delivery_services | array | Delivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery |
freight_class | string | Freight class (optional, FAK rates used if omitted) |
hazmat | boolean | Hazardous materials flag |
height_in | number | Pallet height in inches |
length_in | number | Pallet length in inches |
pallets | integer | Number of pallets |
pickup_services | array | Pickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup |
stackable | boolean | Whether pallets are stackable |
weight_lbs_per_pallet | number | Weight per pallet in lbs |
width_in | number | Pallet width in inches |
ltl_market_options Compare LTL Carriers
Multi-carrier LTL comparison — returns 30+ carrier rates ranked by price (slow, ~15s). Call IMMEDIATELY AFTER ltl_quote with the same parameters; this fills in the 'finding other carrier rates…' section the fast quote card was showing. Useful when the user wants to compare carriers or pick a specific one. Do not declare a winner or recommend a specific carrier; just present the ranked list.
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pickup_date * | string | Pickup date YYYY-MM-DD |
commodity | string | Commodity description |
delivery_services | array | Delivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery |
freight_class | string | Freight class (optional, FAK rates used if omitted) |
hazmat | boolean | Hazardous materials flag |
height_in | number | Pallet height in inches |
length_in | number | Pallet length in inches |
pallets | integer | Number of pallets |
pickup_services | array | Pickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup |
stackable | boolean | Whether pallets are stackable |
weight_lbs_per_pallet | number | Weight per pallet in lbs |
width_in | number | Pallet width in inches |
compare_modes Compare Freight Modes
THE ONE CALL for "what's the cheapest/best way to ship this?". Prices ALL FOUR freight modes (LTL / full truckload / cargo van / 26' box truck) in ONE keyless call to Warp's all-modes engine and returns a decision-complete recommendation: the winning mode, its rate, transit, a bookable quote_id, the trade-off math against the runner-up, and every mode that couldn't price (with the reason). Prefer this over calling the individual quote tools and comparing them yourself — one round trip, and modes Warp can't serve are returned as explicitly unavailable WITH the reason rather than being dropped…
| Parameter | Type | Description |
|---|---|---|
destination_zip * | string | 5-digit US ZIP code |
origin_zip * | string | 5-digit US ZIP code |
pallets * | integer | Number of pallets (1-26) |
pickup_date * | string | Pickup date YYYY-MM-DD |
weight_lbs_per_pallet * | number | Weight per pallet in lbs |
benchmark_market | boolean | Also benchmark Warp's rate against the live 30+ carrier LTL market for this lane. Makes the answer decision-complete (is this rate actually good?) but costs ~15-25s — the mode comparison alone retur… |
commodity | string | Commodity description |
delivery_services | array | Delivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery |
freight_class | string | Freight class (optional, FAK rates used if omitted) |
hazmat | boolean | Hazardous materials flag |
height_in | number | Pallet height in inches (defaults to 48) |
length_in | number | Pallet length in inches (defaults to 48) |
pickup_services | array | Pickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup |
priority | string | What to optimize the recommendation for. Defaults to 'cheapest'. |
stackable | boolean | Whether pallets are stackable |
width_in | number | Pallet width in inches (defaults to 40) |
batch_quote Batch Quote Lanes
Price up to 50 lanes in one call for a specified mode per row (defaults to LTL). This returns a Warp rate per row, NOT all-mode or all-carrier comparison. For Compare All use compare_modes per shipment; for LTL carrier alternatives use ltl_market_options. Never imply this tool compared every carrier. Returns a single batch-quote card with one row per lane (origin → dest · mode · pallets · price · transit). Each priced lane keeps its quote_id and can be booked individually with book ("book row 3").
| Parameter | Type | Description |
|---|---|---|
lanes * | array | Array of lane requests (1-50). Each row maps to one quote. |
book Book Shipment
Book a quoted shipment using any quote_id or option id returned from a quote tool (Warp or market carrier). Requires quote_id + pickup and delivery addresses. Auth required.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote ID from warp_quote_id (Warp) or id field of any market option returned by a quote tool. Use the id from your MOST RECENT quote — market-option ids rotate on every quote call and stale ids are… |
accessorials | object | Pickup/delivery accessorial services. Should match the accessorials used when quoting. |
delivery | object | Delivery address. Required if this lane has not been shipped before. |
delivery_window | object | Delivery time window, 24h HH:MM, e.g. { from: '09:00', to: '12:00' }. Defaults to a full business day if omitted. |
notes | string | Special instructions for the shipment |
pickup | object | Pickup address. Required if no default shipper is saved on your account. |
pickup_window | object | Pickup time window, 24h HH:MM, e.g. { from: '08:00', to: '17:00' }. Defaults to a full business day if omitted. |
reference | string | Your internal reference number |
batch_book Batch Book Shipments
Book MANY already-quoted lanes in ONE call (sequential, one card charge per row). Use this after batch_quote when the user says "book all of them" or "book rows 1, 3, 5" — do NOT call book in a loop. Each row needs a quote_id (the same one batch_quote returned for that row). Pickup/delivery default to the shared addresses at the top level so a single warehouse → many destinations only needs one address pair. Returns a progress card showing per-row Booked/Failed status with tracking numbers.
| Parameter | Type | Description |
|---|---|---|
bookings * | array | Array of bookings to confirm (1-25). Each is one freight shipment, one card charge. |
shared_accessorials | object | |
shared_delivery | object | Delivery address applied to every row that doesn't supply its own. Uncommon (usually each row goes somewhere different). |
shared_delivery_window | object | |
shared_notes | string | Notes applied to every row without their own. |
shared_pickup | object | Pickup address applied to every row that doesn't supply its own (FBA case: one warehouse → many destinations). |
shared_pickup_window | object | |
shared_reference | string | Reference applied to every row without its own. |
multistop_quote Get Multi-stop FTL Quote
Quote a multi-stop FTL route: ONE truck visits 3+ stops in order (first pickup → intermediate stops → final delivery). Use for milk runs, pool distribution, or multi-store replenishment on a single truck — for a simple A→B truckload use ftl_quote. Auth required (free account). Coverage is route-dependent — not every route has a rate yet.
| Parameter | Type | Description |
|---|---|---|
delivery_zip * | string | 5-digit ZIP of the final delivery stop |
pickup_date * | string | Pickup date YYYY-MM-DD |
pickup_zip * | string | 5-digit ZIP of the first pickup stop |
stop_zips * | array | 5-digit ZIPs of the intermediate stops, in route order (at least 1) |
commodity | string | Commodity description |
pallets | integer | Total pallets riding the route (default 1) |
total_weight_lbs | number | Total weight across all freight in lbs (default 500 per pallet) |
vehicle_type | string | Vehicle code (default DRY_VAN_53) |
multistop_book Book Multi-stop FTL
Book a multi-stop FTL route quoted by multistop_quote. Send one shipments[] leg per pickup→delivery pair riding the truck (minimum 2 legs), each leg referencing the quoted stop sequence by stop_index with full address + arrival window. No card charge fires from this call — multi-stop pricing settles via your Warp account. Auth required.
| Parameter | Type | Description |
|---|---|---|
quote_id * | string | Quote ID from multistop_quote (PRICING_MULTI_…). Use the id from your MOST RECENT quote — ids expire and rotate. |
shipments * | array | One leg per pickup→delivery pair (the gateway requires at least 2) |
track Track Shipment
Track a shipment by ID or tracking number. Auth required.
| Parameter | Type | Description |
|---|---|---|
shipment_id * | string | Shipment ID or tracking number (e.g. S-12345-2616) |
lane_history View Lane History
Get shipping history for your lanes (past shipments, last consignee, counts). Auth required.
list_bookings List Bookings
List recent bookings for this API key, newest first. Returns shipments across all channels and all time, including cancelled — a broader population than shipper_profile's counts (agent-API bookings over the last 180 days, excluding cancelled), so the totals can differ. Auth required. Renders an interactive shipments card (click a shipment to expand pickup/delivery, freight, and a tracking link).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max bookings to return (default 25, max 100) |
status Check API Status
Check Warp API health and version. Also validates your API key if one is configured.
events Get Shipment Events
Get the full tracking event history for a shipment (timeline of pickups, in-transit updates, deliveries). Auth required.
| Parameter | Type | Description |
|---|---|---|
shipment_id * | string | Shipment ID from book response |
get_invoice Get Invoice
Retrieve the invoice for a delivered shipment (line items, taxes, payment status). Auth required.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID (typically the same as shipment_id) |
get_documents Get Shipment Documents
List shipment documents (BOL, POD, customs forms, etc.). Returns download URLs. Auth required. To fetch the Bill of Lading, pass document_type='bol' — this is how EXTERNAL / brokered (market-carrier) BOLs are returned now, not just Warp-carrier ones.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID (typically the same as shipment_id) |
document_type | string | Filter to one document type. Common: 'bol' (Bill of Lading — required for external/market carrier BOLs), 'pod' (proof of delivery). Omit to list all documents. |
quote_history View Quote History
List your recent freight quotes (LTL, van, box truck, FTL) from all sessions. Useful for surfacing prior pricing on similar lanes. Auth required.
login Log In to Warp
Log in to Warp with email and password. Saves credentials locally so booking tools work. Call this if the user needs to authenticate or if payment_status says no key is configured.
| Parameter | Type | Description |
|---|---|---|
email * | string | Warp account email |
password * | string | Warp account password |
consolidate Find Consolidation Savings
Find consolidation savings across 2-12 upcoming loads: clusters loads sharing an origin+destination zip whose pickup dates fall within window_days (default 3) that together fit one 53' dry van, then prices each cluster BOTH ways — one combined FTL vs the sum of per-load LTLs — through real quotes with bookable quote ids. Use when the user has several loads to ship this week, asks if anything can ride together, or wants to cut freight spend. Loads that can't consolidate come back with the reason (no lane partner / outside window / exceeds trailer / cluster full) — relay reasons honestly.…
| Parameter | Type | Description |
|---|---|---|
loads * | array | The loads you plan to ship |
window_days | integer | Loads picking up within this many days of each other may ride together (default 3) |
shipper_profile Shipper Profile
Read how this account actually ships — top lanes with ship counts, typical pallet count, usual pickup weekday, recent booked spend (derived server-side from the account's own quotes and bookings) plus explicit owner-set preferences: default accessorials, preferred mode, standard pallet dims, max transit days. The ship/booking counts here count bookings via the agent API over the last 180 days, excluding cancelled — a narrower population than list_bookings (all channels, all time, including cancelled), so the totals can differ. READ THIS BEFORE asking the user questions it already answers:…
| Parameter | Type | Description |
|---|---|---|
set_preferences | object | Omit to read. Provide to merge-update the explicit preferences. |
automate_lane Automate a Recurring Lane
Set up a RECURRING weekly shipment (standing order): describe the lane once, and after the account owner approves by email, Warp re-quotes it fresh every week and books the best option automatically while the price stays at or under the owner's ceiling. Over-ceiling weeks book nothing and notify the owner. THIS TOOL ONLY PROPOSES — nothing books now, and nothing ever books without the owner's one-time email approval. Auth required.
| Parameter | Type | Description |
|---|---|---|
book * | object | Booking payload used each run — same shape as the book tool's pickup/delivery addresses and contacts (patch.pickup, patch.delivery). quote_id and reference are set automatically each run |
ceiling_usd * | number | Max auto-booked price per shipment in USD; above this the week books nothing and the owner is emailed |
quote * | object | Lane payload re-quoted each run — same fields as the quote tools (add length_in/width_in/height_in and commodity for firm LTL pricing). pickup_date is set automatically each week |
weekday * | integer | Pickup day each week: 0=Sunday … 6=Saturday |
criteria | string | How to pick the winning option each week (default lowest_price) |
end_date | string | Optional YYYY-MM-DD; the automation retires itself after the last pickup on or before this date |
label | string | Human-readable lane label for the owner's emails, e.g. 'Ontario CA → Dallas TX, 6 pallets' |
manage_automation Manage an Automation
Check or stop a recurring lane automation. Actions: 'status' (read-only), 'pause', 'cancel' (permanent), 'skip_next' (skip one week's pickup — nothing books or charges that week). STOP-ONLY by design: there is no agent-side resume, reactivate, or ceiling change — those exist only behind the account owner's emailed approval link. Auth required.
| Parameter | Type | Description |
|---|---|---|
action * | string | status is read-only; pause/cancel/skip_next stop or shrink the automation |
token * | string | automation token from automate_lane (so_…) |
automation_receipts Automation Authorization Record
Authorization record for an automation's bookings: one entry per booking attempt showing the checks it passed at commit time against the owner's approval — same lane, price within ceiling, automation active, quote live — plus the shipment id it produced. Entries marked confirmation_required did NOT book autonomously; they fell back to owner confirmation. Read-only. Auth required.
| Parameter | Type | Description |
|---|---|---|
token * | string | automation token from automate_lane (so_…) |
payment_status Check Payment Status
Check if the current Warp account has a payment method on file. Call this if the user asks about their payment status, or before booking if you want to confirm they can book. Returns has_card and onboard_url if a card needs to be added.
analytics Summarise Shipping History
Summarise your own shipping history: how many bookings, what you spent, and the split by mode, status and lane over a window. Both the headline count and every breakdown are computed from ONE population — your bookings via the agent API (warp-site /bookings) — so the total always matches the splits. Auth required.
| Parameter | Type | Description |
|---|---|---|
group_by | string | Which breakdown to lead with. All three are returned regardless; this only orders the response. |
limit | integer | How many of your most recent bookings to summarise (default 100, max 500) |
locations List Saved Locations
List the agent's saved pickup/delivery locations (addresses Warp has on file for this account), so you can reuse them when booking instead of re-typing addresses. Auth required.
load_templates List Load Templates
List the agent's saved load templates — reusable shipment configs (name, dims, weight, commodity). Recall one to quote/book a repeat kind of load without re-entering details. Auth required.
save_load_template Save Load Template
Save a reusable load template (a named shipment config) so it can be recalled for repeat lanes. Auth required.
| Parameter | Type | Description |
|---|---|---|
height_in * | number | Height in inches |
length_in * | number | Length in inches |
name * | string | Friendly name, e.g. 'Standard 2-pallet LA load' |
weight_lbs * | number | Total weight in lbs |
width_in * | number | Width in inches |
commodity | string | Commodity description |
freight_class | string | Freight class (optional; FAK pricing if omitted) |
hazmat | boolean | Whether the freight is hazmat |
stackable | boolean | Whether the freight is stackable |
delete_load_template Delete Load Template
Delete a saved load template by its id (starts with lt_). Auth required.
| Parameter | Type | Description |
|---|---|---|
load_template_id * | string | Template id to delete (starts with lt_) |