getCurrentTime

지정된 timezone의 현재 시간을 반환합니다. IANA timezone 형식을 사용합니다 (예: Asia/Seoul, America/New_York, Europe/London).

Server TypeScript MCP Server Boilerplate shbaek2474/mcp-server-study
Category Read
Risk class Low
Parameters 00 required

What getCurrentTime does on TypeScript MCP Server Boilerplate

AI agents call getCurrentTime to retrieve information from TypeScript MCP Server Boilerplate without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why getCurrentTime needs a policy

This is a read-only query operation that retrieves time information without side effects. It poses minimal security risk as it only provides temporal data based on user-specified timezone parameters. No data is modified, executed, or destroyed.

From the tool's definition Tool returns current time for a specified timezone using IANA format. The description explicitly states it 'returns' (반환합니다) current time with no modification, creation, or deletion of data.

Questions about getCurrentTime

What does the getCurrentTime tool do? +

지정된 timezone의 현재 시간을 반환합니다. IANA timezone 형식을 사용합니다 (예: Asia/Seoul, America/New_York, Europe/London). It is categorised as a Read tool in the TypeScript MCP Server Boilerplate MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on getCurrentTime? +

Register the TypeScript MCP Server Boilerplate MCP server in PolicyLayer and add a rule for getCurrentTime: 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 TypeScript MCP Server Boilerplate. Nothing to install.

What risk level is getCurrentTime? +

getCurrentTime is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit getCurrentTime? +

Yes. Add a rate_limit block to the getCurrentTime 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 getCurrentTime completely? +

Set action: deny in the PolicyLayer policy for getCurrentTime. 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 getCurrentTime? +

getCurrentTime is provided by the TypeScript MCP Server Boilerplate MCP server (shbaek2474/mcp-server-study). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.