Skip to main content
Glama

current_time

Retrieve the current date and time in a specified format and timezone using the time-mcp server. Configure outputs to meet your requirements for precise time awareness.

Instructions

Get the current date and time.

Input Schema

NameRequiredDescriptionDefault
formatYesThe format of the time, default is empty stringYYYY-MM-DD HH:mm:ss
timezoneNoThe timezone of the time, IANA timezone name, e.g. Asia/Shanghai

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "YYYY-MM-DD HH:mm:ss", "description": "The format of the time, default is empty string", "enum": [ "h:mm A", "h:mm:ss A", "YYYY-MM-DD HH:mm:ss", "YYYY-MM-DD", "YYYY-MM", "MM/DD/YYYY", "MM/DD/YY", "YYYY/MM/DD", "YYYY/MM" ], "type": "string" }, "timezone": { "description": "The timezone of the time, IANA timezone name, e.g. Asia/Shanghai", "type": "string" } }, "required": [ "format" ], "type": "object" }

You must be authenticated.

Other Tools from time-mcp

Related Tools

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/yokingma/time-mcp'

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