Skip to main content
Glama

Halal or Not: Today's prayer times for a place, with Ramadan suhoor and iftar

halalornot_get_prayer_times
Read-onlyIdempotent

Halal or Not. Today's prayer times for a place, with both Asr times and Ramadan suhoor and iftar. Needs city, or lat and lon together.

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": "halalornot_get_prayer_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude of the place, in decimal degrees. Goes with lon instead of city.
lonNoLongitude of the place, in decimal degrees. Goes with lat instead of city.
cityNoCity name, for example London or Chicago, IL.
dateNoThe day, YYYY-MM-DD. Defaults to today.
methodNoCalculation method: isna (North America), mwl (Muslim World League), umm_al_qura, egypt, karachi or moonsighting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude of the place, in decimal degrees. Use with lon instead of city."New value: +"Latitude of the place, in decimal degrees. Goes with lon instead of city."
    • changedInput schema / properties / lon / description
      Previous value: -"Longitude of the place, in decimal degrees. Use with lat instead of city."New value: +"Longitude of the place, in decimal degrees. Goes with lat instead of city."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral content by saying the payload includes both Asr times and Ramadan suhoor/iftar, but it omits details like which calculation method defaults are applied or whether the result set includes the other four prayers.

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 short sentences, with the resource and its distinctive outputs front-loaded and the input requirement last. The leading brand fragment 'Halal or Not.' is the only wasted token.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of describing return values; it names Asr, suhoor and iftar but leaves the rest of the prayer set and the response shape unstated. Adequate for calling the tool, incomplete for predicting its response.

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 coverage is 100%, so the baseline would be 3, but the description adds the exclusivity rule the schema does not express: city alone, or lat and lon together. That constraint is operationally important because all five parameters are marked optional.

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 and resource: 'Today's prayer times for a place,' and names the distinctive content returned (Asr times, Ramadan suhoor and iftar). No sibling tool covers prayer times, so differentiation is implicit, but the scope is unambiguous.

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?

The line 'Needs city, or lat and lon together' gives the input precondition, which implies when the tool is callable, but there is no explicit when-to-use vs when-not guidance and no mention of how it relates to other Halal or Not tools.

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.