Repository navigation
GetCurrentTime
Returns the current UTC server timestamp. This is the anchor tool — use it first whenever a query involves comparing "now" against prayer times.
This tool takes no parameters.
| Field | Type | Description |
|---|---|---|
current_time_utc |
string | Current time in UTC (ISO 8601 format) |
source |
string | Always "server"
|
{
"current_time_utc": "2026-07-03T14:20:38Z",
"source": "server"
}ℹ️ To convert to Malaysia Standard Time (MYT), add
+08:00to the UTC value.14:20 UTC→22:20 MYT
Use get_current_time before calling get_monthly_prayer_times whenever the query involves:
- "Which prayer is next?"
- "Am I still in time for Zohor?"
- "How many minutes until Maghrib?"
- "Is it currently a valid time for Dhuha?"
By fetching the current UTC time first, the AI assistant can accurately compare it against prayer times and give a precise, real-time answer.
-
get_monthly_prayer_times— fetch the prayer schedule to compare against current time
get_current_time reads directly from the server clock and makes no external API calls, so it will not return a structured error under normal conditions.
If the server itself is unreachable, the MCP client will receive a connection-level error rather than a structured response.