get-current-date
获取当前日期,以上海时区(Asia/Shanghai, UTC+8)为准,返回格式为 "yyyy-MM-dd"。主要用于解析用户提到的相对日期(如“明天”、“下周三”),为其他需要日期的接口提供准确的日期输入。
This record as markdown: /tools/deniselewis200081-rail/get-current-date.md
What get-current-date does on 12306 Ticket Search Server
AI agents call get-current-date 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.
Why get-current-date is rated Low
This tool performs a simple read operation that retrieves the current date in Shanghai timezone. It has no ability to modify, delete, execute code, or affect financial systems. The purpose is to provide date context for parsing relative date references in user queries. The blast radius of misuse is negligible—an AI agent cannot cause harm by calling this tool repeatedly or with any arguments.
From the tool's definition Tool description indicates it 'gets current date' (获取当前日期) and 'returns format as yyyy-MM-dd'. It retrieves system date information with no side effects or data modifications.
Attacks that exploit this kind of access
The rule that runs get-current-date safely
PolicyLayer is an MCP gateway: it sits between your AI agents and 12306 Ticket Search Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get-current-date, this is the rule to start with:
get-current-date is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect 12306 Ticket Search Server, apply this rule, and every get-current-date call is checked against it from then on.
Questions about get-current-date
获取当前日期,以上海时区(Asia/Shanghai, UTC+8)为准,返回格式为 "yyyy-MM-dd"。主要用于解析用户提到的相对日期(如“明天”、“下周三”),为其他需要日期的接口提供准确的日期输入。. It is categorised as a Read tool in the 12306 Ticket Search Server MCP Server, which means it retrieves data without modifying state.
Register the 12306 Ticket Search Server MCP server in PolicyLayer and add a rule for get-current-date: 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.
get-current-date is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get-current-date 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.
Set action: deny in the PolicyLayer policy for get-current-date. 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.
get-current-date 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.
This server
Across the catalogue