Skip to main content
Glama

Ramadan timetable

get_ramadan_timetable
Read-onlyIdempotent

Sahur (ends at Fajr) and iftar (Maghrib) times for every day of this or the next Ramadan in a city, with the expected or announced first day and Eid al-Fitr.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_ramadan_timetable"
  }
}

Input Schema

NameRequiredDescriptionDefault
asrNoAsr juristic method. Default: Hanafi in Pakistan, India, Bangladesh and Afghanistan, else Shafii.
placeNoCity name, optionally with country ("Kuala Lumpur", "London, United Kingdom"), or a neighbourhood or landmark in HalalTrip's listings ("Bugis, Singapore"). For other areas, give coordinates.
methodNoCalculation method id from list_calculation_methods. Default: the method of the country's Islamic authority (MUIS, JAKIM, Diyanet, ...), else Muslim World League.
latitudeNoLatitude in degrees, instead of place.
longitudeNoLongitude in degrees, instead of place.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / place / description
      Previous value: -"City name, optionally with country: \"Kuala Lumpur\", \"London, United Kingdom\"."New value: +"City name, optionally with country (\"Kuala Lumpur\", \"London, United Kingdom\"), or a neighbourhood or landmark in HalalTrip's listings (\"Bugis, Singapore\"). For other areas, give coordinates."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already disclose read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful domain context about Sahur ending at Fajr, iftar at Maghrib, daily coverage for this or next Ramadan, and expected versus announced dates, but it does not explain how 'this or next Ramadan' is selected or other operational details.

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 a single front-loaded sentence with no filler. Every clause adds useful scope: Sahur/iftar, daily coverage, this or next Ramadan, city, and first day/Eid al-Fitr.

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?

For a five-parameter read-only tool with full schema descriptions and no output schema, the description adequately explains the returned content and temporal scope. The main remaining gap is that it does not clarify how the tool chooses between this and next Ramadan or route users to sibling tools for related prayer-time needs.

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 the input schema already documents place, coordinates, method, and asr semantics thoroughly. The description mentions city-level lookup but adds no meaning beyond the schema for the five optional parameters, so the baseline 3 is appropriate.

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?

The description clearly states what the tool returns: Sahur and iftar times for every day of this or the next Ramadan in a city, plus the expected or announced first day and Eid al-Fitr. It is specific enough to distinguish the Ramadan timetable from general prayer-time tools, but it does not explicitly point to the sibling get_prayer_times for non-Ramadan daily prayers.

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?

Usage is implied by the Ramadan-specific content, so an agent can infer this is for sahur/iftar planning during Ramadan. However, there is no explicit when-to-use or when-not-to-use guidance and no named alternative such as get_prayer_times for ordinary daily prayer times.

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