Skip to main content
Glama
TomTom MCP Server

TomTom MCP Server

Official

TomTom Plan Route

tomtom-plan-route
Read-onlyIdempotent

Calculate 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

NameRequiredDescriptionDefault
avoidNoRoute features to avoid. May increase travel time.
curvesNoAnalyse 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_uiNoRequest the interactive map widget. Only hosts that support MCP Apps render it. It adds no coordinates to the text response. Default: false
trafficNoTraffic consideration: 'live' (real-time + historical), 'historical' (historical only).
arriveAtNoArrival 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.
departAtNoDeparture 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.
locationsYesOrdered [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.
routeTypeNoRoute optimization: 'fast' (time-optimized), 'short' (distance-optimized), 'efficient' (fuel-efficient), 'thrilling' (scenic). Default: 'fast'.
directionsNoList 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.
travelModeNoTransportation mode. Default: 'car'.
checkpointsNoPoints 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?".
insertStopsNoStops 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.
maxAlternativesNoNumber 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_detailNoResponse 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
compareWithUsualRouteNoAlso 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description goes well beyond them: it names the exact response keys carrying live traffic (summary.trafficDelayInSeconds, sections.traffic), explains that maxAlternatives compares each route against the first, and warns that response_detail 'full' is 'lossless and many times larger' while the route line is omitted unless 'geometry'. That is precisely the kind of cost/behavior disclosure an agent needs for a heavy call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded correctly — purpose, use case and geocoding note come first — but the body balloons into a ~350-word block of nested parentheticals enumerating roads, countries, speedLimits, tunnels and guidance counts. Much of that duplicates the input schema's parameter descriptions, and the density makes it hard to scan; several clauses could be trimmed without losing an agent's ability to call it correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full return-value burden, and it does: response shape, traffic fields, alternatives comparison, geometry behavior and the 'full' raw mode are all disclosed. For a 15-parameter routing tool with no output schema, nothing an agent needs to interpret results or choose options is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains every parameter, including the meaning of maxAlternatives, curves, checkpoints and response_detail. The description's parameter discussion largely restates those schema texts near-verbatim; its only added value is the framing 'ask for more in the same call rather than computing it' and the grouping of optional analyses. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Calculate a driving route through an ordered list of locations.' It then scopes the tool against siblings by stating that 'calling tomtom-get-traffic for the route's delay is a wasted hop' and that there is 'no separate geocoding step', so an agent can distinguish it from tomtom-get-traffic and tomtom-locate-place without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use condition ('any directions, travel-time or distance question, whether A-to-B or a multi-stop itinerary') plus a named when-not-to-use with the alternative (use the built-in traffic fields instead of tomtom-get-traffic). It also instructs 'Ask for more in the same call rather than computing it', steering the agent toward optional parameters instead of extra hops.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.