trueway-directions2
The TrueWay Directions2 MCP server provides a robust routing service designed to determine the optimal route between multiple locations.
TrueWay Directions2 MCP Server
Overview
The TrueWay Directions2 MCP server provides a robust routing service designed to determine the optimal route between multiple locations. Whether you're looking for the fastest path between two points considering real-time traffic conditions or needing to plan a trip with several stops, this server offers a comprehensive solution.
Key Features
- Global Road Network Coverage: Access to a worldwide road network ensures you can find routes anywhere.
- Route Optimization: Automatically reorder stops to find the most efficient path for multiple destinations.
- Traffic Considerations: Utilizes both historical and live traffic data to optimize routes for time of day.
- Flexible Route Preferences: Options to avoid toll roads, highways, or ferries to suit your preferences.
- Comprehensive Route Data: Provides detailed information on distance, duration, route geometry, and turn-by-turn directions.
- Multipoint Direction Capabilities: Supports multiple stops and complex routing needs.
Tools and Functions
1. FindDrivingRoute
Purpose: Determine the best route with multiple stops, optimizing the order of stops if needed.
-
Required Parameter:
stops
: A string containing two or more semicolon-delimited latitude/longitude locations, with a maximum of 25 stops.
-
Optional Parameters:
optimize
: Boolean to instruct the server to reorder the stops for an optimized route.avoid_highways
: Boolean to avoid highways.avoid_tolls
: Boolean to avoid toll roads.avoid_ferries
: Boolean to avoid ferries.geometry_format
: Specify the format of the route geometry (e.g., latlng, lnglat, geojson).
2. FindDrivingPath
Purpose: Determine the best route between a single origin and destination, optionally including waypoints.
-
Required Parameters:
origin
: The starting location for calculating directions.destination
: The endpoint for calculating directions.
-
Optional Parameters:
waypoints
: An array of intermediate locations to pass through on the route, up to 23 waypoints.geometry_format
: Specify the format of the route geometry (e.g., latlng, lnglat, geojson).avoid_highways
: Boolean to avoid highways.avoid_tolls
: Boolean to avoid toll roads.avoid_ferries
: Boolean to avoid ferries.start_time
: Specifies the expected start time of travel, accounting for traffic conditions.
Response Structure
The server returns detailed information about the optimal route, including:
- Distance: Total length of the route in meters.
- Duration: Estimated travel time in seconds.
- Route Geometry: The shape of the route, which can be used for visual representation.
- Bounds: Geographic boundaries of the route.
- Turn-by-Turn Directions: Step-by-step navigation instructions.
Route Components
-
Leg: A segment of the route between two waypoints, which includes:
- Distance and duration of the segment.
- Start and end points of the leg.
- Bounds and steps involved in the leg.
-
Step: A detailed instruction within a leg, which includes:
- Distance and duration of the step.
- Start and end points of the step.
- Maneuvers to be performed (e.g., "turn left", "turn right").
The TrueWay Directions2 MCP server is designed to simplify routing and navigation needs with comprehensive tools and adjustable parameters to fit any travel requirement.