Skip to main content
Glama

ToolBox MCP Server

time_tool

Retrieve and convert timestamps in multiple formats and timezones using customizable patterns. Ideal for precise time-based data handling and synchronization.

Input Schema

NameRequiredDescriptionDefault
formatNoTime format (iso, timestamp, local, custom)
patternNoCustom format pattern (required if format=custom)
targetTimezoneNoTarget timezone for timestamp conversion (e.g., America/New_York)
timestampNoTimestamp to convert
timezoneNoTimezone (e.g., Asia/Shanghai)

Input Schema (JSON Schema)

{ "description": "Get current time", "name": "time_tool", "properties": { "format": { "description": "Time format (iso, timestamp, local, custom)", "enum": [ "iso", "timestamp", "local", "custom" ], "type": "string" }, "pattern": { "description": "Custom format pattern (required if format=custom)", "type": "string" }, "targetTimezone": { "description": "Target timezone for timestamp conversion (e.g., America/New_York)", "type": "string" }, "timestamp": { "description": "Timestamp to convert", "type": "number" }, "timezone": { "description": "Timezone (e.g., Asia/Shanghai)", "type": "string" } }, "required": [], "type": "object" }

You must be authenticated.

Other Tools from ToolBox MCP Server

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/xiaoguomeiyitian/ToolBox'

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