Skip to main content
Glama

Today's prayer times for a place, with Ramadan suhoor and iftar

get_prayer_times
Read-onlyIdempotent

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": "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.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds little beyond the title: it does not say which calculation method is used by default, what happens if a city name is ambiguous or unknown, or how results are presented, so it clears the lowered bar without adding much behavioral 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?

Two short sentences, zero filler, with the tool's output content front-loaded and the input constraint appended. Nothing could be removed without losing information.

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?

With no output schema and all five parameters optional, the description covers what is returned (times, Asr, suhoor, iftar) and how to specify location, which is enough to call it correctly. It stops short of describing default calculation method or output shape, which are the remaining unknowns for this tool.

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 contributes a genuinely useful cross-field constraint ('city, or lat and lon together') that the flat schema with zero required properties cannot express. It still says nothing about the interplay of date and method beyond what the enum and format fields already document.

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 names a specific verb and resource (retrieving prayer times) and enumerates the distinctive content returned: both Asr times plus Ramadan suhoor and iftar. No sibling tool overlaps this domain, so no explicit differentiation is needed, but the definition does not say so either, keeping it just short of a 5.

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 only implied by the tool name; the sentence 'Needs city, or lat and lon together' is an input requirement, not when-to-use guidance. There is no statement about when a date should be supplied, when to prefer a specific calculation method, or any exclusion, though the domain makes alternatives largely obvious.

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.