Skip to main content
Glama

Islamic prayer times for a place in Turkey

namaz
Read-onlyIdempotent

Returns daily prayer times (imsak, sunrise, dhuhr, asr, maghrib, isha) plus sahur and iftar for 1–31 days, computed with the method of Turkey's Diyanet (Presidency of Religious Affairs). Location (give one): il province name, slug or plate code (e.g. 'istanbul', 'izmir', 34), optionally with ilce district name; or konum district slug (e.g. 'duzce-akcakoca'); or enlem + boylam for the nearest district. Turkish characters optional ('Düzce' = 'duzce').

Endpoint: GET /v1/namaz. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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

Input Schema

NameRequiredDescriptionDefault
ilNoProvince: name, slug or plate code, e.g. 'ankara', 'Düzce', 81.
gunNoNumber of days from `tarih` (1–31, default 1).
ilceNoDistrict name within `il`, e.g. 'Kadıköy'. Omit for the province centre.
enlemNoLatitude (WGS84); used with `boylam` to pick the nearest district.
konumNoDistrict slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'.
tarihNoFirst day, YYYY-MM-DD (default today, Turkey time).
boylamNoLongitude (WGS84); used with `enlem`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / boylam / description
      Previous value: -"Boylam"New value: +"Longitude (WGS84); used with `enlem`."
    • changedInput schema / properties / enlem / description
      Previous value: -"Enlem (en yakın konum)"New value: +"Latitude (WGS84); used with `boylam` to pick the nearest district."
    • changedInput schema / properties / gun / description
      Previous value: -"Gün sayısı (en çok 31)"New value: +"Number of days from `tarih` (1–31, default 1)."
    • changedInput schema / properties / il / description
      Previous value: -"İl adı, slug'ı ya da plaka kodu (ör. duzce, 81)"New value: +"Province: name, slug or plate code, e.g. 'ankara', 'Düzce', 81."
    • changedInput schema / properties / ilce / description
      Previous value: -"İlçe adı (il ile birlikte)"New value: +"District name within `il`, e.g. 'Kadıköy'. Omit for the province centre."
    • changedInput schema / properties / konum / description
      Previous value: -"Konum slug'ı (ör. duzce-akcakoca)"New value: +"District slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'."
    • changedInput schema / properties / tarih / description
      Previous value: -"Başlangıç (YYYY-AA-GG), varsayılan bugün"New value: +"First day, YYYY-MM-DD (default today, Turkey time)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new operational context: the endpoint path, per-call request-unit cost, plan gating, and that the response is Turkish JSON containing source and guncelleme fields. It does not describe error behavior for ambiguous or unmatched locations, which is the main remaining gap.

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?

Front-loaded with the returned data and computation method, then location forms, then plan/cost metadata — a sensible order. Some phrases are slightly redundant (restating the 1–31 day range and listing the prayer names twice in effect), but no sentence is wasted.

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, the description does the right work by indicating the response is Turkish JSON with source and update-timestamp fields, and it covers location inputs, date range, and cost. It stops short of explaining what happens when a location is ambiguous or unmatched, which an agent would want to know before calling.

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 description coverage is 100%, so the baseline would be 3. The description goes beyond the schema by stating the mutual-exclusivity rule ('Location (give one)') across il/ilce, konum, and enlem+boylam, a constraint the schema does not encode, and by noting that Turkish characters are optional ('Düzce' = 'duzce'). The 1–31 day range is already in the schema, so repeating it adds little.

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?

Names a specific verb and resource ('Returns daily prayer times') and enumerates the returned fields (imsak, sunrise, dhuhr, asr, maghrib, isha, sahur, iftar) plus the computation method (Diyanet). This is clearly distinguishable from sibling tools like takvim_gun or hava, which cover calendar and weather rather than 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?

States the availability and cost conditions ('Available on all plans, including free. Costs 1 request unit per call') and explicitly constrains location input to 'give one' of three alternative forms. It does not name sibling tools (konumlar_bul, konumlar_iller_il_ilceler) that would supply the slugs, leaving that routing to the schema, so it falls short of a 5.

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