getCurrentTime

유저의 Time Zone에 따라 현재 시간을 알려줍니다

Server TypeScript MCP Server Boilerplate midopa-dept/my-mcp-server
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 tool only reads and returns current time information with no side effects, data modification, code execution, or destructive capabilities. It is a simple query operation that poses minimal security risk.

From the tool's definition Tool name 'getCurrentTime' and description indicate it retrieves current time based on user's timezone without modifying any data or triggering external operations.

Questions about getCurrentTime

What does the getCurrentTime tool do? +

유저의 Time Zone에 따라 현재 시간을 알려줍니다. 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 (midopa-dept/my-mcp-server). 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.