New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

get-train-route-stations

查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。

SERVER12306 Ticket Search Server SOURCEDeniseLewis200081/rail
Low RISK CLASS
Category Read
Parameters 40 required
Recommended Allowedsee the rule below
Registry record Grade A, identity unverified Pull the record →

This record as markdown: /tools/deniselewis200081-rail/get-train-route-stations.md

What get-train-route-stations does on 12306 Ticket Search Server

AI agents call get-train-route-stations to retrieve information from 12306 Ticket Search Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
trainNo string 要查询的实际车次编号 `train_no`,例如 "240000G10336",而非"G1033"。此编号通常可以从 `get-tickets` 的查询结果中获取,或者由用户直接提供。
departDate string 列车从 `fromStationTelecode` 指定的车站出发的日期 (格式: yyyy-MM-dd)。如果用户提供的是相对日期,请务必先调用 `get-current-date` 解析。
toStationTelecode string 该列车行程的**到达站**的 `station_telecode` (3位字母编码)。通常来自 `get-tickets` 结果中的 `telecode` 字段,或者通过 `get-station-code-by-names` 得到。
fromStationTelecode string 该列车行程的**出发站**的 `station_telecode` (3位字母编码`)。通常来自 `get-tickets` 结果中的 `telecode` 字段,或者通过 `get-station-code-by-names` 得到。

Parameters from the server's own tool schema.

Why get-train-route-stations is rated Low

This tool retrieves and displays train schedule information (station names, times, durations) without any side effects. It is a read-only query operation that provides users with train route details. No data is modified, deleted, or executed; it simply fetches existing static schedule information from the 12306 system.

From the tool's definition Tool description states it queries ('查询') specific train route stations, arrival times, departure times, and stopover details.

Questions about get-train-route-stations

What does the get-train-route-stations tool do? +

查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。. It is categorised as a Read tool in the 12306 Ticket Search Server MCP Server, which means it retrieves data without modifying state.

What parameters does get-train-route-stations accept? +

get-train-route-stations accepts 4 parameters: trainNo, departDate, toStationTelecode, fromStationTelecode. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on get-train-route-stations? +

Register the 12306 Ticket Search Server MCP server in PolicyLayer and add a rule for get-train-route-stations: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches 12306 Ticket Search Server. Nothing to install.

What risk level is get-train-route-stations? +

get-train-route-stations is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get-train-route-stations? +

Yes. Add a rate_limit block to the get-train-route-stations rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get-train-route-stations completely? +

Set action: deny in the PolicyLayer policy for get-train-route-stations. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get-train-route-stations? +

get-train-route-stations is provided by the 12306 Ticket Search Server MCP server (DeniseLewis200081/rail). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on 12306 Ticket Search Server, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of 12306 Ticket Search Server's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.