query_prayer_times
Get Islamic prayer times and Qibla direction for any location. Returns all five daily prayers (Fajr, Dhuhr, Asr, Maghrib, Isha) with calculation methods adjusted automatically based on geographic region.
Instructions
Get Islamic prayer times (Salah/Namaz) for any location. Returns all 5 daily prayers (Fajr, Dhuhr, Asr, Maghrib, Isha), next prayer time, and Qibla direction to Mecca. Calculation method is automatically selected based on location (MWL, ISNA, Egypt, Makkah, Karachi, Tehran, Jafari). Supports queries for specific prayers or all prayers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>"
},
"name": "query_prayer_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Location name (e.g., 'Dubai', 'Istanbul', 'New York', 'London') | |
| prayer | No | Optional: Specific prayer to query ('fajr', 'dhuhr', 'asr', 'maghrib', 'isha'). If omitted, returns all prayers. |