Content is loading…
Ground-truth clock for agents: current time, timezone conversion, and timezone comparison.
time_now#time#clock#timezone#utc#dateRetrieves the current date, time, and metadata for a specified timezone (default UTC). Accepts a timezone string, an optional convertFrom timestamp (ISO-8601 or Unix) to rebase the query, and an optional compareTo timezone to return the hour offset between two locations.
| Name | Type | Required | Description |
|---|---|---|---|
timezone | string | optional | IANA timezone like "Asia/Tehran" or "America/New_York". Default UTC. |
convertFrom | string | optional | Optional ISO-8601 timestamp or unix epoch seconds to convert instead of using the current time |
compareTo | string | optional | Optional second IANA timezone — response will include the time there plus the UTC-offset difference |
{
"timezone": "Asia/Tehran"
}{
"convertFrom": "1765432100",
"timezone": "America/New_York",
"compareTo": "Asia/Tokyo"
}curl -X POST https://toolsy.my/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "time_now",
"arguments": {
"timezone": "Asia/Tehran"
}
}
}'Generate a free API key or set up an OAuth connector for Claude.ai.