Skip to main content
Glama

maps_direction_driving_by_coordinates

Plan driving routes using latitude and longitude coordinates to calculate distance, travel time, and navigation details for car commutes between specified locations.

Instructions

驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据

Args: origin (str): 起点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909") destination (str): 终点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909") Returns: Dict[str, Any]: 包含距离、时长和详细导航信息的路线数据

Input Schema

NameRequiredDescriptionDefault
originYes
destinationYes

Input Schema (JSON Schema)

{ "properties": { "destination": { "title": "Destination", "type": "string" }, "origin": { "title": "Origin", "type": "string" } }, "required": [ "origin", "destination" ], "type": "object" }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sugarforever/amap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server