get_current_date
현재 날짜를 YYYYMMDD 형식으로 반환하는 도구 Args: ctx: MCP Context 객체 (선택 사항) Returns: YYYYMMDD 형식의 현재 날짜 문자열
This record as markdown: /tools/2geonhyup-dart-mcp/get-current-date.md
What get_current_date does on Dart
AI agents call get_current_date to retrieve information from Dart 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 is a simple utility function that queries system time and returns it. It has no capability to modify state, execute code, delete data, or commit financial transactions. The blast radius of misuse is negligible—an agent cannot cause harm by obtaining the current date. Classified as Read with low severity.
From the tool's definition Tool returns current date in YYYYMMDD format with no side effects. Description states it 'returns' (반환하는) the current date—a pure read operation with no data modification, deletion, or execution capability.
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 Dart, 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 Dart, apply this rule, and every get_current_date call is checked against it from then on.
Questions about get_current_date
현재 날짜를 YYYYMMDD 형식으로 반환하는 도구 Args: ctx: MCP Context 객체 (선택 사항) Returns: YYYYMMDD 형식의 현재 날짜 문자열. It is categorised as a Read tool in the Dart MCP Server, which means it retrieves data without modifying state.
Register the Dart 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 Dart. 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 Dart MCP server (2geonhyup/dart-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dart, and thousands of servers like it.
This server
Across the catalogue