Basic Time Service
- current_datetime() function:
- Returns a timestamp in ISO 8601 format
- Support for dynamic time zone parameters (e.g. America/New_York)
- Automatic handling of daylight saving time conversion
- Real-time push mechanism:Continuous Push Time Updates via Server-Sent Events
Advanced Computing Capabilities
- Time difference calculation:Difference calculation accurate to the minute/hour level, communication using JSON-RPC 2.0 protocol
- Time zone conversion engine:Built-in IANA time zone database, support global 400+ time zone conversion
- Time series analysis:Time patterns of multiple calls can be recorded and analyzed
Typical Call Example
Get the time difference:
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTimeDifference",
"params": {
"timestamp": "2025-07-17 12:00:00",
"interval": "hours"
}
}
This answer comes from the articlePassage of Time MCP: A Service Providing Time-Awareness and Computational Capabilities for Language ModelingThe