Skip to main content
Glama

driving_route

Compute driving routes between two points with detailed navigation, distance, time, and cost estimates. Supports waypoints, strategies, and road avoidance.

Instructions

计算两点间的驾车路径,提供详细的导航信息、距离、时间和费用估算。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ferryNo是否使用轮渡:0=不使用,1=使用,默认1
plateNo车牌号,用于限行路段规避,如:"京A12345"
originYes起点坐标,格式为"经度,纬度",如:"116.397499,39.908722"
cartypeNo车辆类型:0=小车,1=货车,默认0
strategyNo路径策略:0=速度优先,1=费用优先,2=距离优先,3=不走高速,默认0
avoidroadNo避让道路名称,如:"京藏高速"
waypointsNo途经点坐标,多个点用";"分隔,如:"116.45,39.95;116.46,39.96",最多支持16个
destinationYes终点坐标,格式为"经度,纬度",如:"116.481499,39.990475"
avoidpolygonsNo避让区域,多边形坐标点,格式:"经度1,纬度1;经度2,纬度2;..."
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool provides navigation info, distance, time, and cost estimates, but it does not explicitly disclose whether the operation is read-only, any prerequisites, or side effects. This is insufficient for a tool with no annotations.

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

Conciseness5/5

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

The description is a single, concise sentence that is front-loaded with the primary purpose and key outputs. There is no wasted content or unnecessary details.

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

Completeness3/5

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

The tool has 9 parameters and no output schema, yet the description only captures the basic function and outputs. It does not mention the tool's advanced capabilities such as waypoints, avoidance areas, vehicle type, or strategies, which are significant features. While the schema covers these, the description lacks a high-level overview of the tool's full scope.

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 baseline is 3. The description does not add meaning beyond the schema; it only refers to two points (origin and destination), while the schema already provides detailed descriptions for all parameters. No additional value is provided.

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?

The description clearly states the tool calculates driving routes between two points and lists the types of output (navigation info, distance, time, cost estimates). It is specific and distinguishes from sibling tools like walking_route and transit_route by explicitly saying '驾车' (driving).

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

Usage Guidelines3/5

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

The description implies usage for driving directions, as it mentions '驾车' (driving), but it does not explicitly state when to use it over alternatives like walking or transit. No exclusions or alternative tools are mentioned, so the guidance is only implied.

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

Install Server

Other Tools

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/luodora/mcp-amap'

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