Skip to main content
Glama
bodyegypt

turkey-data-mcp

by bodyegypt

Prayer Times for Turkish Cities

get_prayer_times

Get Islamic prayer times for Turkish cities using the official Diyanet calculation method. Returns fajr, sunrise, dhuhr, asr, maghrib, isha in 24-hour Istanbul time and the Hijri date.

Instructions

Get Islamic prayer times (namaz vakitleri) for a Turkish city using the official Diyanet İşleri calculation method. Returns fajr, sunrise, dhuhr, asr, maghrib and isha in 24-hour local Istanbul time, plus the Hijri date. The 'city' parameter is REQUIRED — call list_prayer_cities first if unsure which cities are available (20 major Turkish cities, lowercase ASCII slugs like 'istanbul', 'ankara', 'sanliurfa'). Optional 'date' (YYYY-MM-DD) defaults to today; only a few days around today are cached — far-future or past dates return an error. Use this for 'iftar time in Istanbul', 'when is maghrib in Ankara', 'namaz vakitleri'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity slug, lowercase ASCII, e.g. 'istanbul', 'izmir', 'diyarbakir', 'sanliurfa'. Turkish characters are transliterated (ş→s, ı→i, ü→u...). Call list_prayer_cities for the full list of 20 supported cities.
dateNoOptional date in YYYY-MM-DD format. Defaults to today (Europe/Istanbul). Only dates near today are available.
Behavior5/5

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

With no annotations, the description fully carries the burden and excels: it discloses the Diyanet calculation method, 24-hour local Istanbul time format, Hijri date return, required city, date defaulting to today, the caching limitation, and error behavior for distant dates. This is outstanding transparency.

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 somewhat lengthy but every sentence contributes: purpose, return values, usage caveats, and examples. It is front-loaded and structured, though a slight reduction in redundancy would push it to 5.

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?

Without an output schema, the description adequately outlines the output contents (prayer times and Hijri date) and error conditions (far dates). While it doesn't specify exact JSON shape, the explanation is sufficient for a simple retrieval tool, and the link to list_prayer_cities covers missing city details.

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%, providing a strong baseline. The description adds meaningful context: examples of valid city slugs, transliteration rules, the requirement to call list_prayer_cities, and the date caching boundary, enriching the schema's parameters.

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 the tool retrieves Islamic prayer times for Turkish cities via the official Diyanet method, and enumerates the returned times (fajr, sunrise, dhuhr, asr, maghrib, isha) plus Hijri date, distinguishing it from sibling tools like gold prices or exchange rates.

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?

Provides explicit usage examples ('iftar time in Istanbul') and directs users to call list_prayer_cities if unsure of city options. It does not explicitly mention when not to use, but the domain is clear relative to siblings.

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/bodyegypt/turkey-data-mcp'

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