Skip to main content
Glama

get_current_time

Retrieve the current date and time for timestamping, scheduling, or time-sensitive operations.

Instructions

返回当前的日期和时间

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:33-35 (registration)
    Registers the 'get_current_time' MCP tool with an empty parameter schema and an inline async handler that returns the current date and time in ISO string format.
    server.tool("get_current_time", "返回当前的日期和时间", {}, async () => ({ content: [{ type: "text", text: new Date().toISOString() }], }));
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liaotaodcx8/toolkittest'

If you have feedback or need assistance with the MCP directory API, please join our Discord server