Upper Route Planner MCP by usefulapi
v1.17.1Read Upper drivers and stops; create and optimize routes, assign drivers, share routes to the app.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
upper_list_drivers List drivers
List the active drivers on the Upper team that owns the API token: id, name, email and phone. Use the ids with upper_assign_drivers and upper_share_route_to_drivers. GET /ext-get-drivers.
upper_list_stops List stops
List the team's stops in optimized order: address, coordinates, contact, time window, duration, status, route_id and custom ids. Pass route_id for one route (optionally scheduled=true/false); pass unscheduled=true (without route_id) for stops not on any route; with no filter all active stops are returned. Upper has no paging, so this tool pages locally: `limit` stops (default 100, max 500) starting at `offset`; the reply says if more remain (truncated, next_offset). GET /ext-get-stops.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most stops to return, 1-500 (default 100). |
offset | integer | Skip this many stops (use next_offset from the previous reply to read on). |
route_id | integer | Only the stops on this route. |
scheduled | boolean | With route_id only: true = scheduled stops, false = unscheduled stops of that route. |
unscheduled | boolean | Without route_id: true = unscheduled stops across all routes. |
upper_get_optimization_status Get route optimization status
Check whether a route is optimized: status is optimized, pending (still running) or not_optimized, plus the queue_id of the last job. Poll this after upper_optimize_route. GET /ext-optimization-status.
| Parameter | Type | Description |
|---|---|---|
route_id * | integer | The route id. |
upper_get_custom_fields Get stop custom fields
The workspace's five stop custom-field slots (custom1 - custom5: type, label, enabled, required) and which are enabled. Needs the Custom fields feature in the Upper plan. GET /ext-get-custom-fields.
upper_get_capacity_fields Get capacity fields
The workspace's five capacity-field slots (capacity1 - capacity5: label, unit, enabled) used for load planning. GET /ext-get-capacity-fields.
upper_create_route Create route
WRITE: create a new, empty route (name, date, optimization preference, units, pickup sequencing, service time). Omitted settings fall back to the account's defaults. Returns the new route_id; add stops with upper_create_stop. Calling it twice creates two routes. POST /ext-create-route.
| Parameter | Type | Description |
|---|---|---|
optimize_for | string | Optimize for time or distance. |
pickup_settings | string | When pickups are sequenced: auto, before or after the deliveries. |
route_date | string | Route start date, yyyy-mm-dd (default today). |
route_name | string | Route name (default: New Route). |
service_time | integer | Per-stop service (dwell) time in seconds. |
units | string | Distance units: miles or km. |
upper_update_route Update route
WRITE: change settings of an existing route (name, date, optimize_for, units, pickup_settings, service_time). Only the fields you pass change. POST /ext-update-route.
| Parameter | Type | Description |
|---|---|---|
route_id * | integer | The route to update. |
optimize_for | string | Optimize for time or distance. |
pickup_settings | string | When pickups are sequenced: auto, before or after. |
route_date | string | New start date, yyyy-mm-dd. |
route_name | string | New route name. |
service_time | integer | Per-stop service (dwell) time in seconds. |
units | string | Distance units: miles or km. |
upper_create_stop Create stop
WRITE: create a stop. The address is geocoded by Upper. Pass route_id to put it on a route (the route must not be active/in progress; an optimized route is flagged for re-optimization); omit it for an unscheduled stop. Calling it twice creates two stops. POST /ext-create-stop.
| Parameter | Type | Description |
|---|---|---|
address * | string | Street address of the stop (geocoded by Upper). |
capacity_fields | object | Capacity values (integers) for load planning, keys capacity1 - capacity5. |
city | string | City (overrides the geocoded value). |
company_name | string | Company name for the stop. |
contact_name | string | Contact (recipient) name. |
custom_fields | object | Custom field values keyed by slot (custom1 - custom5). Only fields enabled in the workspace (and in the plan) are stored. |
customer_system_id | string | Your own identifier for the stop (for cross-referencing). |
email | string | Contact email. |
end_time | string | Latest service time (time window end), HH:MM or HH:MM:SS. |
nick_name | string | Short label for the stop. |
note | string | Free-text note shown to the driver. |
parcel_count | integer | Number of parcels at the stop. |
phone | string | Contact phone number; non-digits are stripped by Upper. |
phone_country_code | string | Phone dialing code, for example 1. |
pin_color | string | Map pin colour, hex like #FF6600. |
route_id | integer | Route to attach the stop to; omit for an unscheduled stop. |
start_time | string | Earliest service time (time window start), HH:MM or HH:MM:SS. |
state | string | State or region (overrides the geocoded value). |
stop_duration | integer | Service duration at the stop, in seconds. |
stop_priority | string | Stop priority, for example Normal, High, Urgent. |
stop_type | string | Stop type, for example Delivery or Pickup. |
zipcode | string | Postal code (overrides the geocoded value). |
upper_update_stop Update stop
WRITE: change an existing stop; only the fields you pass change. A new address is re-geocoded (city/state/zipcode you pass with it are ignored); city/state/zipcode apply only without an address. Passing route_id moves the stop to that route. Editing a stop on an optimized route flags the route for re-optimization; stops on an active route cannot be edited. POST /ext-update-stop.
| Parameter | Type | Description |
|---|---|---|
stop_id * | integer | The stop to update. |
address | string | New street address (re-geocoded). |
capacity_fields | object | Capacity values (integers) for load planning, keys capacity1 - capacity5. |
city | string | City (only used when no address is passed). |
company_name | string | Company name for the stop. |
contact_name | string | Contact (recipient) name. |
custom_fields | object | Custom field values keyed by slot (custom1 - custom5). Only fields enabled in the workspace (and in the plan) are stored. |
customer_system_id | string | Your own identifier for the stop (for cross-referencing). |
email | string | Contact email. |
end_time | string | Latest service time (time window end), HH:MM or HH:MM:SS. |
nick_name | string | Short label for the stop. |
note | string | Free-text note shown to the driver. |
parcel_count | integer | Number of parcels at the stop. |
phone | string | Contact phone number; non-digits are stripped by Upper. |
phone_country_code | string | Phone dialing code, for example 1. |
pin_color | string | Map pin colour, hex like #FF6600. |
route_id | integer | Move the stop to this route. |
start_time | string | Earliest service time (time window start), HH:MM or HH:MM:SS. |
state | string | State or region (only used when no address is passed). |
stop_duration | integer | Service duration at the stop, in seconds. |
stop_priority | string | Stop priority, for example Normal, High, Urgent. |
stop_type | string | Stop type, for example Delivery or Pickup. |
zipcode | string | Postal code (only used when no address is passed). |
upper_assign_drivers Assign drivers to a route
WRITE: assign one or more drivers (ids from upper_list_drivers) to a route, replacing the route's drivers. Every id must be an active driver on the team. If the route was already optimized it is reset to unoptimized (needs_optimization: true), so run upper_optimize_route again. POST /ext-assign-drivers.
| Parameter | Type | Description |
|---|---|---|
driver_ids * | array | Driver ids to assign. |
route_id * | integer | The route. |
upper_optimize_route Optimize route
WRITE: start optimizing a route's stop order. The route needs at least one stop and one assigned driver (upper_assign_drivers). It runs asynchronously: this returns status pending and a queue_id, then poll upper_get_optimization_status. If a job is already running, that job is returned. POST /ext-optimize-route.
| Parameter | Type | Description |
|---|---|---|
route_id * | integer | The route to optimize. |
timezone | string | IANA timezone for the optimization, for example America/New_York. |