Skip to main content
Glama

Türkiye Business Days & Public Holidays

Add business days (Türkiye)

add_business_days
Read-onlyIdempotent

Returns the date that is N business days after (or before, if N is negative) a start date in Türkiye, e.g. for payment terms or legal deadlines. The start date is not counted. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).

Input Schema

NameRequiredDescriptionDefault
dateYesStart date, YYYY-MM-DD
daysYesBusiness days to add; negative to go back; non-zero
calendarNostandard: general business days. public_sector: also excludes announced administrative leave (from 2026). tcmb: days the central bank publishes exchange rates (no bulletin on eves).standard
half_daysNoCount half-day eves as working days or as holidays.working

Output Schema

NameRequiredDescriptionDefault
ruleYes
sourceYes
calendarYes
half_daysYes
disclaimerYes
start_dateYes
result_dateYes
business_daysYes
result_weekdayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: it discloses the holiday basis (Law 2429 plus Diyanet), the supported date window, the Mon-Fri-minus-holidays rule, and that the start date is excluded. The half-day-from-13:00 rule is the kind of edge case an agent would otherwise get wrong.

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?

Four tight sentences, front-loaded with the return semantics before the calendar and half-day caveats. No redundant restatement of the tool name or schema types.

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?

Output schema covers the return value and annotations cover safety, so what remains is domain rules, which the description supplies thoroughly including the validity window. The one gap is that the `calendar` parameter options, a meaningful mode switch, are never explained in prose.

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%, so the baseline is 3; the description adds real meaning by explaining negative `days` and the half-day concept behind the `half_days` enum. It does not, however, describe the three `calendar` modes (standard/public_sector/tcmb), which are left entirely to the schema.

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 result ('Returns the date that is N business days after ... a start date in Türkiye'), which unambiguously separates it from count_business_days and check_business_day. The scope (Türkiye, 2022-2035, official calendar) is concrete and verifiable.

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?

Gives motivating use cases (payment terms, legal deadlines) and the negative-N convention for going backwards, which tells an agent when this is the right tool. It never names the siblings or explicitly rules out counting/checking use cases, so the differentiation stays implicit.

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