Skip to main content
Glama

Turkish public holidays

resmi_tatiller
Read-onlyIdempotent

Lists Turkish public holidays for a specified year, including fixed national holidays and Eid dates with half-day eves, and checks whether a given date is a holiday or workday.

Instructions

Türkiye’nin resmi tatillerini listeler: sabit ulusal bayramlar (her yıl için hesaplanır) ve Ramazan/Kurban bayramları (2024–2030, Diyanet takvimi), arifeler yarım gün. İsteğe bağlı "tarih" verilirse o günün tatil/iş günü durumunu söyler. Lists Turkish public holidays for a year: fixed national holidays plus Eid holidays (2024–2030) with half-day eves. Optionally checks a single date.

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

Input Schema

NameRequiredDescriptionDefault
yilNoYıl (2017-2100); varsayılan: bu yıl / Year; default: current year
tarihNoKontrol edilecek gün (YYYY-MM-DD veya GG.AA.YYYY) / A date to check (YYYY-MM-DD or DD.MM.YYYY)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), so the description adds genuinely new behavior: fixed holidays are computed for any year while Eid dates are hard-limited to 2024–2030 from a specific calendar source, and eves count as half-days. These are exactly the data-coverage caveats an agent needs. It leaves one gap: it never says what happens when 'yil' falls outside 2024–2030 for the Eid portion.

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?

Both halves are short and front-loaded, with the list mode stated before the optional single-date mode. The cost is that the entire content is duplicated verbatim in Turkish and English, which roughly doubles length without adding information for any single reader.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of describing return values, and it does not: an agent cannot tell whether the list mode returns dates, names, day-counts, or a structured object. It compensates well on data provenance and coverage limits, but the result shape is left entirely unspecified.

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 already 100%, so the baseline is 3, but the description earns more: it explains that 'yil' drives the per-year computation of fixed holidays and that 'tarih' returns a holiday-vs-workday verdict, which is more than the schema's terse 'A date to check'. It does not add format or interaction detail (e.g. which parameter wins if both are given), keeping it at 4.

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?

States a specific verb and resource ('Türkiye'nin resmi tatillerini listeler' / 'Lists Turkish public holidays for a year') and immediately qualifies scope: fixed national holidays computed per year, Eid holidays restricted to 2024–2030 on the Diyanet calendar, eves as half-days, plus an optional single-date check. An agent knows exactly what data comes back without opening the schema, and the sibling set (official gazette, FX rates, ID validators) does not overlap this territory.

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 clearly states the two usage modes: omit 'tarih' to list a year's holidays, supply it to get the holiday/workday status of one specific day. That is real conditional routing guidance rather than implied usage. It stops short of explicit exclusions or naming alternatives for edge cases (e.g. what to do for years outside the Eid range).

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