Skip to main content
Glama

prayer_times_for

Retrieve daily Islamic prayer times for any UAE city or GPS coordinates, covering Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha, Imsak, and Midnight.

Instructions

Get the five daily prayer times for a UAE city or arbitrary coordinates.

Pass either a city name OR a latitude+longitude pair, not both. The response includes Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha, plus Imsak (start of fasting), Midnight, Firstthird, and Lastthird, along with the matching Hijri and Gregorian dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity name (default Dubai). Use this OR coordinates.
methodNoCalculation method ID. 8 = Gulf Region (default for UAE), 16 = Dubai experimental (matches Dubai mosque announcements), 4 = Umm Al-Qura Makkah, 3 = Muslim World League.
schoolNoAsr school. 0 = Shafi (default for UAE), 1 = Hanafi.
countryNoCountry name. Defaults to "United Arab Emirates".United Arab Emirates
date_strNoISO date YYYY-MM-DD. Defaults to today.
latitudeNoLatitude in decimal degrees, -90 to 90.
longitudeNoLongitude in decimal degrees, -180 to 180.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the response includes many specific times (Fajr, Sunrise, etc.) and dates, and clarifies the mutual exclusivity of parameters. It does not cover error handling or rate limits, but for a read-only tool, the disclosure is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two well-structured paragraphs. The first sentence immediately states the core purpose. No redundant information; every sentence adds value. It is front-loaded and concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists (though not shown), the description appropriately does not explain return values in detail. It enumerates the returned times and dates, describes defaults, and covers the parameter usage rules. For a tool with 7 parameters (none required), the description is sufficiently complete to allow correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so every parameter already has a description. The tool description adds value by explaining the mutual exclusivity of city vs. coordinates, detailing the calculation method IDs (e.g., 8=Gulf Region), and stating defaults (e.g., city defaults to Dubai). This goes beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves five daily prayer times for a UAE city or arbitrary coordinates, with a specific verb (Get) and resource (prayer times). It distinguishes itself from sibling tools like 'prayer_times_calendar' (likely a calendar view) and 'qibla_direction' (direction only), so an agent can differentiate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly instructs to pass either a city name or coordinates, not both, and lists defaults for city, method, school, country, and date. However, it does not mention when to use this tool versus alternate siblings like 'prayer_times_calendar' for a monthly view, so some guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/mahdi-salmanzade/MCP-Dubai'

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