Skip to main content
Glama

maps_direction_driving

Plan driving routes with options for waypoints, route strategy, license plate restrictions, and avoidance areas. Returns directions between coordinates.

Instructions

驾车路径规划(路径规划 2.0,v5 接口)。支持途经点、算路策略、车牌限行规避、避让区域等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ferryNo(可选)是否使用轮渡:0 使用(默认)、1 不使用
plateNo(可选)车牌号,如"京AHA322",用于规避限行路段,支持 6 位传统和 7 位新能源车牌
originYes起点坐标,格式"经度,纬度"
cartypeNo(可选)车辆类型:0 普通燃油(默认)、1 纯电动、2 插电混动
strategyNo(可选)算路策略,默认 32(高德推荐)。可选:0 速度优先、1 费用优先、2 常规最快、32 高德推荐、33 躲避拥堵、34 高速优先、35 不走高速、36 少收费、37 大路优先、38 速度最快、39-45 组合策略
origin_idNo(可选)起点 POI ID,填写可提升规划精度
waypointsNo(可选)途经点坐标串,多个用英文分号分隔,最多 16 个,格式"经度,纬度;经度,纬度"
destinationYes终点坐标,格式"经度,纬度"
show_fieldsNo(可选)控制返回字段,多个用逗号分隔。可选:cost(费用/耗时)、tmcs(路况详情)、navi(导航动作)、cities(途径城市)、polyline(坐标串)
avoidpolygonsNo(可选)避让区域坐标串,多个区域用 | 分隔,每个区域最多 16 个顶点,最多 32 个区域
destination_idNo(可选)终点 POI ID,填写可提升规划精度
destination_typeNo(可选)终点 POI 类别,如"餐饮"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It lists supported features (waypoints, strategy, plate avoidance, avoidance areas) but these merely restate what the schema already documents. It does not disclose expected behavior like what is returned, error conditions, or any constraints or side effects of the driving route calculation.

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

Conciseness4/5

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

The description is a single concise sentence, front-loaded with the core purpose and then enumerating the most relevant capabilities. It wastes no words, though '等' is a slight filler that leaves the list open-ended.

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?

Given 12 parameters and no output schema, the description is adequate but not complete. It conveys the main purpose and key features, but it does not describe what the response contains, and it provides no usage context relative to the sibling direction tools. The rich schema compensates for parameter-level completeness.

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?

Input schema coverage is 100%, so the schema describes every parameter, including formats and option values. The description adds little semantics beyond listing four feature categories already visible in the schema, so the baseline score of 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?

The description clearly states '驾车路径规划' (driving route planning), identifying both the specific action and the resource. The '驾车' qualifier distinguishes it from sibling tools like maps_direction_walking, maps_bicycling, and maps_direction_transit_integrated without ambiguity.

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

Usage Guidelines2/5

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

The description does not explicitly state when to use this tool over alternatives. It implies driving use from the name and description, but provides no guidance such as 'use walking/bicycling/transit tools for non-driving routes' or any conditions that would select this tool.

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