Skip to main content
Glama

prayer_times

[$0.002 USDC per call via x402] Islamic prayer times (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha) for any lat/lng and date, 17 calculation methods, Hanafi/Standard Asr, Hijri date, up to 7 days.

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>",
      "lng": "<lng>"
    },
    "name": "prayer_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoIANA timezone for local times, e.g. America/New_York (otherwise estimated from longitude)
asrNoStandard (default) or Hanafi
latYesLatitude
lngYesLongitude
dateNoYYYY-MM-DD (default today, UTC)
daysNo1-7 days of times (default 1)
methodNoMWL (default), ISNA, Egypt, Makkah, Karachi, Tehran, Jafari, Turkey, Singapore, France, Russia, Dubai, Kuwait, Qatar, Kemenag, JAKIM, Moonsighting

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does surface a critical trait that structured fields do not: a $0.002 USDC per-call charge via x402, meaning the call has a cost/payment path. It also signals output content (six prayer times plus Hijri date over up to 7 days). However, it says nothing about return shape, error behavior for invalid coordinates/timezones, or whether pricing applies per day returned — meaningful gaps for a paid tool with no output schema.

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?

One dense sentence with the cost caveat front-loaded and zero filler. It drifts toward keyword-list style ('17 calculation methods, Hanafi/Standard Asr, Hijri date, up to 7 days') rather than prose, which costs a little readability but wastes no words.

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 7-parameter tool with no annotations and no output schema, the description covers the essentials: what is computed, the configuration axes, the cost, and the multi-day range. The main omission is any sense of the returned object's shape (field names, ordering, units), which an agent must discover empirically.

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 schema already explains lat, lng, date, tz, asr, method, and days. The description adds modest value by quantifying the method list (17) and the days cap (7), but does not explain parameter interactions such as how method and asr combine or how timezone estimation from longitude behaves. Baseline 3 is appropriate.

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?

States a specific resource (Islamic prayer times) with the exact outputs enumerated (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha) and the input scope (any lat/lng and date). This is unmistakably different from the other domain siblings like qibla, mosques_near, or halal_city, so an agent can route to it without opening the schema.

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 rather than stated: an agent can infer this is the tool for computing prayer times at a coordinate/date. There is no explicit when-to-use framing, no mention of when a sibling (e.g., qibla or mosques_near) would be the better pick, and no prerequisites beyond the price note.

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