Skip to main content
Glama

SalahTable

Islamic dates for a year

get_islamic_dates
Read-onlyIdempotent

Expected dates of Ramadan, Eid al-Fitr, Eid al-Adha, the Day of Arafah, Islamic New Year, Ashura, Mawlid, Isra and Mi‘raj, Shab-e-Barat and Laylat al-Qadr in a Gregorian year (Umm al-Qura), with a note on countries that are often a day later.

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_islamic_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoGregorian year, 2026 to 2030; defaults to 2027

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the bar is lower, yet the description still adds real context: the Umm al-Qura calculation basis and the caveat that dates are 'expected' and may shift a day in some countries. It also enumerates what comes back, compensating for the absent 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the long holiday list is substantive because it defines the tool's coverage boundary rather than padding.

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 one-parameter, annotation-covered tool this is nearly complete: it states the method, the covered occasions, the year scope through the schema, and the reliability caveat. Only the exact shape of the response (how the 'note' is attached) is left implicit, with no output schema to fill that gap.

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 coverage is 100% and the single 'year' parameter is fully documented in-schema with its 2026-2030 range and 2027 default. The description adds no additional meaning about the year argument, so the baseline of 3 applies.

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 the exact resource: the set of major Islamic dates (Ramadan, both Eids, Arafah, New Year, Ashura, Mawlid, Isra and Mi'raj, Shab-e-Barat, Laylat al-Qadr) for a Gregorian year, with the Umm al-Qura basis. The scope is unambiguous and clearly not a prayer-times or qibla tool, but no sibling is named or ruled out explicitly.

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: an agent can infer this answers 'when are the Islamic holidays in year X' as opposed to the monthly timetable. There is no explicit when-to-use, when-not-to-use, or statement of how it relates to list_calculation_methods or get_monthly_timetable.

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