TomTom Plan Route
tomtom-plan-routeCalculate driving routes for A-to-B or multi-stop trips with live traffic, distance, travel time, and turn-by-turn directions.
Instructions
Calculate a driving route through an ordered list of locations. Use this for any directions, travel-time or distance question, whether A-to-B or a multi-stop itinerary. Name the places directly — each entry in locations is a place NAME ({ query }) or explicit coordinates ({ position }) — so there is no separate geocoding step. The route ALREADY CARRIES LIVE TRAFFIC: summary.trafficDelayInSeconds and summary.trafficLengthInMeters give the delay, and sections.traffic lists each hold-up along the way. Answer "any delays on this route?" from that — calling tomtom-get-traffic for the route's delay is a wasted hop. Every route also lists, in driving order, its main roads (each by the number on its signs, with the kind of road as shield: deu-motorway 3 is the A3) and its countries, each with its length, driving time and toll-road length, and every section says where it starts (startsAfterMeters) and how long it runs. Each route also gives the time usual traffic and empty roads would take (summary.historicTrafficTravelTimeInSeconds, summary.noTrafficTravelTimeInSeconds; traffic.delayVersusUsualInSeconds is today against usual), the distance at each speed limit (speedLimits), its tunnels and built-up length, and guidance: its turns, roundabouts, forks and motorway exits, counted from its turn-by-turn instructions. Ask for more in the same call rather than computing it: maxAlternatives compares each alternative with the first route (roads only it takes, the tolls, ferries and traffic it adds or avoids, and with curves the curves); curves measures winding roads and hairpins; compareWithUsualRoute says what live traffic changed; directions lists the turn-by-turn steps; insertStops orders extra stops; checkpoints says where you are after a time or distance. response_detail: "full" returns the routes as the API sent them, without any of these summaries. The route line is omitted unless response_detail is 'geometry'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locations": "<locations>"
},
"name": "tomtom-plan-route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avoid | No | Route features to avoid. May increase travel time. | |
| curves | No | Analyse each route's curves: counts of curves, hairpins and hard curves, a curviness score, and its curviest stretches with where they start and the road they are on. Set it to keep a car-sick passenger off winding roads or to find twisty roads for a motorbike; with alternatives, compare the routes on it. | |
| show_ui | No | Request the interactive map widget. Only hosts that support MCP Apps render it. It adds no coordinates to the text response. Default: false | |
| traffic | No | Traffic consideration: 'live' (real-time + historical), 'historical' (historical only). | |
| arriveAt | No | Arrival time, ISO 8601. Without an offset it is the local time at the destination; with one it is that instant. Cannot be used with departAt. | |
| departAt | No | Departure time, ISO 8601. Without an offset ('2025-06-24T08:15:00') it is the local time at the origin, so pass a stated local time that way; with one ('2025-06-24T14:30:00Z') it is that instant. Cannot be used with arriveAt. | |
| locations | Yes | Ordered [origin, ...stops, destination] — at least two. Each entry is a place NAME ({ query }) or explicit coordinates ({ position }), such as a place an earlier search found. Name places directly: no separate geocode step. | |
| routeType | No | Route optimization: 'fast' (time-optimized), 'short' (distance-optimized), 'efficient' (fuel-efficient), 'thrilling' (scenic). Default: 'fast'. | |
| directions | No | List the first route's turn-by-turn steps: each manoeuvre, how far along it comes, and what to do there ("Take exit 31 onto the N230 toward Utrecht-Noord."). Every route already counts its turns, roundabouts and exits in `guidance`, so set this only for the steps themselves. | |
| travelMode | No | Transportation mode. Default: 'car'. | |
| checkpoints | No | Points along the first route by driving time or distance, each reported with its position and the town it is near, for "where will I be after 3 hours?". | |
| insertStops | No | Stops to fit into the trip where each costs the least extra driving, in whatever order suits the route: `locations` keeps its order and the stops are slotted between its entries. The result's `waypoints` list the visiting order, each inserted stop marked. | |
| maxAlternatives | No | Number of alternative routes (0-5). Each alternative is compared with the first route: its extra time and distance, the roads only it takes, the tolls, ferries and traffic it adds or avoids, and, with `curves`, the curves. | |
| response_detail | No | Response detail level. 'compact' (default): essential fields and point coordinates, no geometry. 'geometry': compact plus a 'geometry' key holding a GeoJSON FeatureCollection ([lon, lat], at most 1,000 vertices per feature); use this to get coordinates to draw or process. 'full': the raw API response, lossless and many times larger. | compact |
| compareWithUsualRoute | No | Also plan the route usual traffic would take and say how today's live route differs: whether it takes other roads, the jams and closures it avoids, and its extra time over the usual drive. Use it for "why does it send me this way?" or "is traffic changing my route today?". Without it, `traffic.delayVersusUsualInSeconds` compares a route only with itself under usual traffic. |