Skip to main content
Glama

Add Türkiye Statutory Working Days

add_turkey_working_days
Read-onlyIdempotent

Use this when you need a deterministic Türkiye statutory working-day offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when you need an employer or sector calendar, or the date falls outside the pinned coverage. What it computes: Adds or subtracts dates using Türkiye's pinned statutory public-holiday package; published half-days are skipped conservatively. Example user requests: Add one Türkiye statutory working day after 2027-03-05. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-03-05","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, half_day_start_time, non_working_fraction, weekend_days, calendar_scope, half_day_policy, rest_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only when status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/turkey-add-working-days.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYesGregorian start date in 2026-2027.
working_daysYesSigned offset; start date is excluded for non-zero offsets.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linksNo
resultYes
requestYes
sourcesNo
successYes
versionNo
freshnessNo
timestampYes
next_actionsNo
service_versionYesDeployed Calcgrid implementation version used for the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: deterministic computation, a pinned holiday package with a bounded 2026-2027 coverage, conservative skipping of published half-days, and an explicit formula. It omits auth/rate-limit notes, keeping it just short of a 5.

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?

Content is sectioned and front-loaded with the decision ('Use this when... / Do not use this when...'), and the formula and REST fallback are genuinely useful. The full enumeration of ~18 output fields duplicates the existing output schema and is the one wasteful block.

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

Completeness5/5

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

For a two-parameter deterministic calculator with an output schema and full annotation coverage, everything an agent needs is present: scope, coverage window, an exact call example, computation formula, and a REST fallback path. No material gap remains.

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 description coverage is 100%, so start_date and working_days are already fully documented (including the signed-offset and exclusion semantics). The description only restates the parameter types and repeats an example that the schema already carries, adding no new meaning.

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 ('Adds or subtracts dates using Türkiye's pinned statutory public-holiday package') and pins the jurisdiction and coverage window (2026-2027). This cleanly separates it from the ~60 territory siblings (add_de_working_days, add_ar_working_days, etc.) and from count_/check_ variants.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it ('deterministic Türkiye statutory working-day offset in 2026-2027'), instructs the agent to call rather than answer from memory, and gives a when-not clause ('employer or sector calendar, or the date falls outside the pinned coverage'). Routing intent is unambiguous.

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