Skip to main content
Glama

prayer_times_for

Read-onlyIdempotent

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

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

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

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety and idempotency profile is fully covered. The description adds the enumerated return fields, but that content largely overlaps the output schema and adds no auth, rate-limit, or fallback behavior context.

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

Conciseness4/5

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

Three sentences, front-loaded with the core purpose, followed by the input constraint and the return contents. No filler. The response-field enumeration is slightly long and partially redundant with the output schema, keeping it short of a 5.

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

Completeness4/5

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

An output schema exists, so return values need not be explained. The description covers both input modes and their exclusivity, which is what an agent needs to invoke it correctly. Only the sibling disambiguation against prayer_times_calendar is missing.

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 description coverage is 100% (each of the 7 params including method/school IDs is documented), so the baseline is 3. The description goes beyond the schema by stating the mutual-exclusivity rule between city and coordinates, a cross-parameter constraint the schema cannot express, which lifts it above baseline.

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

Purpose4/5

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

States a specific verb ('Get') plus resource ('the five daily prayer times') and both supported scopes (UAE city or arbitrary coordinates). An agent immediately knows the operation. It does not, however, distinguish itself from the sibling prayer_times_calendar, which an agent could easily confuse for this tool.

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

Usage Guidelines3/5

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

Gives a concrete input constraint — 'Pass either a city name OR a latitude+longitude pair, not both' — which is genuine usage guidance. But it offers no when-to-use/when-not guidance relative to alternatives such as prayer_times_calendar, so the routing decision is left to inference.

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

Deploy Server

Other Tools