Skip to main content
Glama

calculate_fasting_times

Calculate daily Suhoor end (Fajr) and Iftar start (Maghrib) times for a date range up to 31 days using optional latitude and longitude coordinates.

Instructions

Return Suhoor end (Fajr) and Iftar start (Maghrib) for each day in a date range (max 31 days). Dates in ISO 8601 format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYes
end_dateYes
latitudeNo
longitudeNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions date range and ISO 8601 format, but fails to disclose reliance on optional latitude/longitude parameters, what happens if date range exceeds 31 days, or any default location behavior. Significant gaps in behavioral disclosure.

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?

The description is very concise with two clauses, no redundant information. However, it could be slightly more structured by separating the key behavior from format note. Still, it is efficient and front-loaded.

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

Completeness2/5

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

Given 4 parameters, no annotations, and no output schema, the description is incomplete. Missing details on optional parameters, return format, error handling, and location dependency. The description does not fully equip an agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so description must explain parameters. It mentions ISO 8601 format for dates, partially covering start_date and end_date, but completely ignores latitude and longitude parameters. With 4 parameters, only date-related semantics are touched.

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?

The description clearly states it returns Suhoor end (Fajr) and Iftar start (Maghrib) for each day in a date range, with a max of 31 days. This distinguishes it from sibling tools like get_prayer_times which return all prayer times.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for calculating fasting times in a date range, but does not explicitly provide when-to-use or when-not-to-use guidance or mention alternatives like get_prayer_times. The context is clear but lacks exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ahmedeltaher/azan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server