warp-agent-mcp

v0.20.1
io.github.warpfreight/warp-agent-mcp Checked 9 hours ago Published 2 months ago

Quote, 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.

ParameterTypeDescription
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.

ParameterTypeDescription
rows *array

van_quote Get Cargo Van Quote

Quote a cargo van shipment (1-3 pallets, firm price)

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pallets *integerNumber of pallets (1-3)
pickup_date *stringPickup date YYYY-MM-DD
weight_lbs_per_pallet *numberWeight per pallet in lbs
commoditystringCommodity description
delivery_servicesarrayDelivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery
height_innumberPer-pallet height in inches (defaults to 48)
length_innumberPer-pallet length in inches (defaults to 48)
pickup_servicesarrayPickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup
width_innumberPer-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)

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pallets *integerNumber of pallets (1-12)
pickup_date *stringPickup date YYYY-MM-DD
weight_lbs_per_pallet *numberWeight per pallet in lbs
commoditystringCommodity description
delivery_servicesarrayDelivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery
height_innumberPer-pallet height in inches (defaults to 48)
length_innumberPer-pallet length in inches (defaults to 48)
pickup_servicesarrayPickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup
width_innumberPer-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.

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pickup_date *stringPickup date YYYY-MM-DD
commoditystringCommodity description
palletsintegerPallets (optional, display only)
weight_lbs_per_palletnumberWeight 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…

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pickup_date *stringPickup date YYYY-MM-DD
commoditystringCommodity description
delivery_servicesarrayDelivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery
freight_classstringFreight class (optional, FAK rates used if omitted)
hazmatbooleanHazardous materials flag
height_innumberPallet height in inches
length_innumberPallet length in inches
palletsintegerNumber of pallets
pickup_servicesarrayPickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup
stackablebooleanWhether pallets are stackable
weight_lbs_per_palletnumberWeight per pallet in lbs
width_innumberPallet 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.

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pickup_date *stringPickup date YYYY-MM-DD
commoditystringCommodity description
delivery_servicesarrayDelivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery
freight_classstringFreight class (optional, FAK rates used if omitted)
hazmatbooleanHazardous materials flag
height_innumberPallet height in inches
length_innumberPallet length in inches
palletsintegerNumber of pallets
pickup_servicesarrayPickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup
stackablebooleanWhether pallets are stackable
weight_lbs_per_palletnumberWeight per pallet in lbs
width_innumberPallet 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…

ParameterTypeDescription
destination_zip *string5-digit US ZIP code
origin_zip *string5-digit US ZIP code
pallets *integerNumber of pallets (1-26)
pickup_date *stringPickup date YYYY-MM-DD
weight_lbs_per_pallet *numberWeight per pallet in lbs
benchmark_marketbooleanAlso 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…
commoditystringCommodity description
delivery_servicesarrayDelivery accessorials: delivery-appointment, liftgate-delivery, residential-delivery, limited-access-delivery, inside-delivery, driver-assist-delivery
freight_classstringFreight class (optional, FAK rates used if omitted)
hazmatbooleanHazardous materials flag
height_innumberPallet height in inches (defaults to 48)
length_innumberPallet length in inches (defaults to 48)
pickup_servicesarrayPickup accessorials: pickup-appointment, liftgate-pickup, residential-pickup, limited-access-pickup, inside-pickup, driver-assist-pickup
prioritystringWhat to optimize the recommendation for. Defaults to 'cheapest'.
stackablebooleanWhether pallets are stackable
width_innumberPallet 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").

ParameterTypeDescription
lanes *arrayArray 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.

ParameterTypeDescription
quote_id *stringQuote 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…
accessorialsobjectPickup/delivery accessorial services. Should match the accessorials used when quoting.
deliveryobjectDelivery address. Required if this lane has not been shipped before.
delivery_windowobjectDelivery time window, 24h HH:MM, e.g. { from: '09:00', to: '12:00' }. Defaults to a full business day if omitted.
notesstringSpecial instructions for the shipment
pickupobjectPickup address. Required if no default shipper is saved on your account.
pickup_windowobjectPickup time window, 24h HH:MM, e.g. { from: '08:00', to: '17:00' }. Defaults to a full business day if omitted.
referencestringYour 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.

ParameterTypeDescription
bookings *arrayArray of bookings to confirm (1-25). Each is one freight shipment, one card charge.
shared_accessorialsobject
shared_deliveryobjectDelivery address applied to every row that doesn't supply its own. Uncommon (usually each row goes somewhere different).
shared_delivery_windowobject
shared_notesstringNotes applied to every row without their own.
shared_pickupobjectPickup address applied to every row that doesn't supply its own (FBA case: one warehouse → many destinations).
shared_pickup_windowobject
shared_referencestringReference 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.

ParameterTypeDescription
delivery_zip *string5-digit ZIP of the final delivery stop
pickup_date *stringPickup date YYYY-MM-DD
pickup_zip *string5-digit ZIP of the first pickup stop
stop_zips *array5-digit ZIPs of the intermediate stops, in route order (at least 1)
commoditystringCommodity description
palletsintegerTotal pallets riding the route (default 1)
total_weight_lbsnumberTotal weight across all freight in lbs (default 500 per pallet)
vehicle_typestringVehicle 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.

ParameterTypeDescription
quote_id *stringQuote ID from multistop_quote (PRICING_MULTI_…). Use the id from your MOST RECENT quote — ids expire and rotate.
shipments *arrayOne leg per pickup→delivery pair (the gateway requires at least 2)

track Track Shipment

Track a shipment by ID or tracking number. Auth required.

ParameterTypeDescription
shipment_id *stringShipment 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).

ParameterTypeDescription
limitintegerMax 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.

ParameterTypeDescription
shipment_id *stringShipment ID from book response

get_invoice Get Invoice

Retrieve the invoice for a delivered shipment (line items, taxes, payment status). Auth required.

ParameterTypeDescription
order_id *stringOrder 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.

ParameterTypeDescription
order_id *stringOrder ID (typically the same as shipment_id)
document_typestringFilter 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.

ParameterTypeDescription
email *stringWarp account email
password *stringWarp 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.…

ParameterTypeDescription
loads *arrayThe loads you plan to ship
window_daysintegerLoads 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:…

ParameterTypeDescription
set_preferencesobjectOmit 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.

ParameterTypeDescription
book *objectBooking 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 *numberMax auto-booked price per shipment in USD; above this the week books nothing and the owner is emailed
quote *objectLane 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 *integerPickup day each week: 0=Sunday … 6=Saturday
criteriastringHow to pick the winning option each week (default lowest_price)
end_datestringOptional YYYY-MM-DD; the automation retires itself after the last pickup on or before this date
labelstringHuman-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.

ParameterTypeDescription
action *stringstatus is read-only; pause/cancel/skip_next stop or shrink the automation
token *stringautomation 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.

ParameterTypeDescription
token *stringautomation 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.

ParameterTypeDescription
group_bystringWhich breakdown to lead with. All three are returned regardless; this only orders the response.
limitintegerHow 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.

ParameterTypeDescription
height_in *numberHeight in inches
length_in *numberLength in inches
name *stringFriendly name, e.g. 'Standard 2-pallet LA load'
weight_lbs *numberTotal weight in lbs
width_in *numberWidth in inches
commoditystringCommodity description
freight_classstringFreight class (optional; FAK pricing if omitted)
hazmatbooleanWhether the freight is hazmat
stackablebooleanWhether the freight is stackable

delete_load_template Delete Load Template

Delete a saved load template by its id (starts with lt_). Auth required.

ParameterTypeDescription
load_template_id *stringTemplate id to delete (starts with lt_)