Skip to main content
Glama

ClockCrest time tools

Islamic prayer times

get_prayer_times
Read-onlyIdempotent

Calculated Islamic prayer times (Fajr, sunrise, Dhuhr, Asr, Maghrib, Isha) for coordinates on a date, with the method parameters used. These are calculations: local mosques and authorities may differ by a few minutes, so point users to their local timetable. Use search_city to get coordinates and the zone of a city.

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": {
      "lat": "<lat>",
      "lon": "<lon>",
      "date": "<date>",
      "tz": "<tz>"
    },
    "name": "get_prayer_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzYesIANA time zone of the place, e.g. Africa/Cairo
asrNoAsr rule: standard (Shafi'i, Maliki, Hanbali) or hanafi. Default standard.standard
latYesLatitude in decimal degrees, north positive (−90 to 90)
lonYesLongitude in decimal degrees, east positive (−180 to 180)
dateYesLocal date at the place, YYYY-MM-DD (1900–2100)
methodNoCalculation method: mwl (Muslim World League), umm-al-qura, egyptian, karachi or isna. Default mwl.mwl

Output Schema

NameRequiredDescriptionDefault
asrYes
latYes
lonYes
dateYesCalendar date, YYYY-MM-DD
notesYesCaveats and conventions that apply to this response.
polarYes
timesYes
methodYes
sourceYesWhere the data or the algorithm comes from.
methodsYes
timeZoneYesIANA time zone name
highLatitudeApproximationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already establish that this is a safe, idempotent, non-destructive read. The description adds useful behavioral context beyond annotations: results are calculations, local authorities may differ by a few minutes, and the method parameters used are part of the output context.

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 three tight sentences and front-loads the core purpose. Each sentence contributes either the calculation scope, the accuracy caveat, or the prerequisite for obtaining coordinates and timezone.

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?

With full schema coverage, rich annotations, and an output schema, the description supplies the remaining behavioral context an agent needs: these are calculated times, not authoritative local timetables, and search_city is the way to obtain required inputs.

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

Parameters3/5

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

Schema description coverage is 100%, so latitude, longitude, date, timezone, method, and asr rule are already documented in the schema. The description reinforces coordinates, date, and method parameters, but adds little semantic detail beyond the structured fields.

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 states a specific resource and scope: calculated Islamic prayer times for a named set of prayers, at coordinates on a date. It names the relevant sibling, search_city, for obtaining coordinates, so the agent can distinguish the lookup step from the prayer-time calculation.

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?

It gives a clear prerequisite: use search_city to get coordinates and the city zone before calling this tool. It also tells the agent to point users to their local timetable when precision matters, but it does not explicitly cover when-not-to-use conditions or other alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources