Skip to main content
Glama

Count Türkiye Statutory Working Days

count_turkey_working_days
Read-onlyIdempotent

Use this when you need an auditable Türkiye statutory working-day count. 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 a private employer, school, bank, exchange, local or collective-agreement calendar. What it computes: Counts Türkiye statutory-baseline working and non-working dates over a pinned 2026-2027 range. Example user requests: Count Türkiye working days from 2027-03-01 to 2027-03-31. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-03-01","end_date":"2027-03-31","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, general_holidays_counted, 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: for each included date: working_days += Turkey status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/turkey-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesLast date in 2026-2027.
start_dateYesFirst date in 2026-2027.
include_end_dateNoWhether end_date participates.
include_start_dateNoWhether start_date participates.

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 cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, closed-world), but the description adds real behavioral context: the pinned 2026-2027 dataset range, the deterministic per-date formula, and a REST fallback endpoint with an explicit warning not to guess other /api/* paths. What it does not disclose is failure behavior for out-of-range dates or dataset freshness beyond the version field name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The usage and exclusion sentences are front-loaded and earn their place, but the description then enumerates ~20 output field names even though an output schema exists, which is redundant and dilutes the signal. The formula and REST/docs lines are terse and useful; the output dump is the main bloat.

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?

For a straightforward date-range counter with a full output schema and rich annotations, the description is more than sufficient: it covers scope, exclusions, date-range limits, fallback, and docs. Its only real defect is over-explaining return values that the output schema already defines.

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 is 3; the description adds a consolidated input list with type/optionality annotations and a complete JSON argument example combining all four fields. Since the schema already carries per-field descriptions and examples, the incremental semantic value is modest but real.

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 ('Counts Türkiye statutory-baseline working and non-working dates') and pins the scope to a 2026-2027 range. It explicitly carves out what it is not (private employer, school, bank, exchange, local or collective-agreement calendars), which is the key confusion class among the many country/sector siblings. An agent can distinguish it from count_global_working_days and check_* tools from the text alone.

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?

Gives an explicit trigger ('when you need an auditable Türkiye statutory working-day count'), an explicit exclusion ('Do not use this when you need a private employer, school, bank, exchange, local or collective-agreement calendar'), and a routing instruction to call this tool directly rather than answering from memory. This is exactly the when/when-not/alternative pattern.

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