get_line_detail
获取指定路线的完整详情:行程安排、注意事项、参考价格,以及发布该路线的向导信息。入参 lineKid 来自 search_lines 结果。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineKid | Yes | 路线唯一标识(search_lines 返回的 lineKid) |
获取指定路线的完整详情:行程安排、注意事项、参考价格,以及发布该路线的向导信息。入参 lineKid 来自 search_lines 结果。
| Name | Required | Description | Default |
|---|---|---|---|
| lineKid | Yes | 路线唯一标识(search_lines 返回的 lineKid) |
Changes observed during successful MCP inspections.
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 implies a read-only lookup and usefully discloses what content the response contains (行程安排、注意事项、参考价格、向导信息), but says nothing about permissions, side effects, or behavior on a missing/invalid lineKid.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero waste, with the resource scope front-loaded and the parameter provenance trailing. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description must describe returns — and it does, listing the four returned content areas. For a one-parameter lookup tool this is nearly complete, with only error/missing-case behavior left unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single parameter is already fully documented in the schema, so baseline is 3. The description only adds the source of the value (search_lines output), not format or edge-case semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource (获取指定路线的完整详情) and enumerates the payload (行程安排、注意事项、参考价格、向导信息), which distinguishes it from search_lines and get_guide_detail. It does not explicitly name the siblings it is not, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says lineKid comes from search_lines results, which establishes the prerequisite workflow (search first, then detail). No explicit when-not or alternative comparison is given, so a 4 rather than 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.