esolat-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the HTTP server (default 8626) | 8626 |
| MCP_WEBHOOK_TOKEN | No | Webhook token for securing the MCP HTTP endpoint. Generate a strong random token with e.g. `python -c 'import secrets; print(secrets.token_urlsafe(32))'` |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_current_timeA | Returns the current server UTC time. Use this tool first when the user asks about current prayer status, time remaining to next prayer, or any query that requires comparing current time against prayer times. For the Hijri date, use get_monthly_prayer_times or get_yearly_islamic_events instead, since the Hijri calendar is region-dependent (moonsighting-based) and those tools return the authoritative date sourced from JAKIM/Aladhan. |
| get_monthly_prayer_timesA | Fetches comprehensive monthly prayer times based on raw GPS coordinates or location name string text. Computes precise Dhuha intervals (+28 mins from Syuruk) and normalizes Hijri month texts. Use this tool whenever the user asks for today's prayer times, this week's schedule, or a specific month's prayer schedule. |
| find_nearest_mosquesB | Finds verified mosques, masjids, or suraus within a target search radius. Powered by JejakMasjid (with JAKIM e-solat fallback for Malaysia). Returns place type, distance, cardinal direction, coordinates, and navigation links. |
| get_yearly_islamic_eventsB | Retrieves significant Islamic calendar milestones for a target year. Defaults to the current year if not specified. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_server_status | MCP Resource: Returns live health status of the esolat-mcp server and all upstream APIs. Also reports the current version and whether a newer version is available on PyPI. Use this resource to proactively check if JAKIM or other APIs are down before calling prayer time tools. |
TDQS
Scored across 4 tools
Each tool targets a distinct capability: place search, server time, monthly prayer schedule, and yearly Islamic events. The main soft boundary is get_current_time, which exists mainly as a helper for prayer-status comparisons and could tempt agents seeking Hijri dates, but the description explicitly redirects to the prayer/event tools.
Three tools follow a clear get_<scope>_<resource> pattern while find_nearest_mosques uses find_ instead of get_. The deviation is semantically justified (geospatial search) and the overall convention remains readable and predictable.
Four tools is well within the healthy range and each earns its place: location discovery, time reference, prayer schedule, and calendar events. No redundant or filler tools are present for this narrowly scoped domain.
Core lifecycle is covered: find a mosque, get current time, retrieve prayer times (including Hijri dates), and list yearly events. Minor gaps exist such as qibla direction or a dedicated single-day prayer response, but the monthly tool covers today's needs so agents can work around it.