TomTom Search Along Route
tomtom-search-along-routeFinds points of interest such as restaurants, gas stations, or hotels along a route corridor and returns those within a configurable distance of the calculated route.
Instructions
Find points of interest (restaurants, gas stations, hotels, etc.) along a route corridor. Calculates the route between origin and destination, then searches for POIs within a configurable distance from the route. The route line is omitted unless response_detail is 'geometry'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of POI results (1-100). Default: 10. | |
| query | Yes | What to search for along the route. Examples: 'gas station', 'restaurant', 'coffee', 'hotel', 'EV charging'. | |
| origin | Yes | Route starting point as [longitude, latitude] (GeoJSON convention). Use precise coordinates from geocoding. Example: [4.89707, 52.377956]. | |
| 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 | |
| language | No | Language for results (IETF tag). Examples: 'en-US', 'de-DE'. | |
| routeType | No | Route optimization for the base route: 'fast', 'short', 'efficient' or 'thrilling'. Default: 'fast'. | |
| destination | Yes | Route ending point as [longitude, latitude] (GeoJSON convention). Use precise coordinates from geocoding. Example: [13.404954, 52.520008]. | |
| corridorWidth | No | Search corridor width in meters from the route centerline. Default: 5000 (5km). Smaller values = closer to route. | |
| poiCategories | No | Filter POI results by UPPER_SNAKE_CASE text category codes (e.g. 'RESTAURANT', 'PARKING_GARAGE'), NOT numeric IDs. IMPORTANT: Never guess codes — always call tomtom-poi-categories first with the user's intent as keywords to discover valid codes. | |
| 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 |