Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,552Letters: 14Defects: 1,323counted 2 min ago
teppi

Server definition

Hash
sha256:f5e5fa12811b07887a7d3b73c6fbdabb6b2e24a9b5bf14fcc38691be50d6c0fa
What it is
What a remote MCP server returned when asked what it offers: 253 tools

The blob, as servednamed by its sha256

{ "instructions": "For a business-hours SLA under a mainland China or UK calendar that must be shown in another IANA zone, call calculate_business_deadline once. It requires the calendar, source and target zones, business_hours, same-day business_day_start/business_day_end and include_start_day; ask for any missing business rule instead of inventing a default. When a user asks whether a mainland China date is a working day, for a deadline after N China working days, or for a China working-day count, call check_china_working_day, add_china_working_days or count_china_working_days; these tools use the official 调休 evidence package rather than a Monday-Friday approximation. For the equivalent UK task, call check_uk_working_day, add_uk_working_days or count_uk_working_days and supply the GOV.UK division (england-and-wales, scotland or northern-ireland); do not merge their different bank-holiday calendars. For an Indian central-government task, require office_scope (delhi_new_delhi or outside_delhi) and call check_india_central_working_day, add_india_central_working_days or count_india_central_working_days; DoPT Gazetted and Restricted classes are preserved, Restricted holidays are not automatic closures, and state/Union Territory, bank, employer, school, exchange and locally selected outside-Delhi optional holidays are not inferred. For an Australian public-holiday task, require the state/territory division (act, nsw, nt, qld, sa, tas, vic or wa) and call check_australia_working_day, add_australia_working_days or count_australia_working_days; regional, public-service-only and part-day events are returned separately and are not silently treated as full-day closures. For a US federal holiday task, call check_us_federal_working_day, add_us_federal_working_days or count_us_federal_working_days; these are OPM federal employee/office dates only and do not represent state, local, private-employer or exchange calendars. For a Canada federal task, call check_canada_federal_working_day, add_canada_federal_working_days or count_canada_federal_working_days; these cover the 10 Canada Labour Code general holidays for federally regulated employers, while substitute days remain schedule- and agreement-dependent and are not inferred. For a Japan statutory national-holiday task, call check_japan_national_working_day, add_japan_national_working_days or count_japan_national_working_days; these use the Cabinet Office 2026-2027 table and do not represent company, school, bank, exchange or prefectural closures. For Saudi Arabia SAMA financial-institution tasks, call check_sa_working_day, add_sa_working_days or count_sa_working_days; these use the Friday-Saturday baseline and SAMA's exact 2026-2029 financial-institution intervals. They do not represent RTGS, MHRSD business-sector, government-office, Hajj branch or private-employer schedules; do not infer a universal Saudi holiday calendar. For a worldwide weekday baseline, call check_global_working_day, add_global_working_days or count_global_working_days with a CLDR alpha-2 territory code from the tool schema; these tools use pinned CLDR weekend rules only and never infer public holidays, bank, employer or exchange closures. For 中国台湾省/台湾省/Taiwan, use the machine territory code TW and these global tools or the source-labelled global reference; do not route it to the mainland China 调休 package. For a supported OpenHolidays country where nationwide public-holiday reference semantics are acceptable, call check_global_public_holiday_working_day, add_global_public_holiday_working_days or count_global_public_holiday_working_days; this is an open public-source aggregation, not a direct national authority package, and it does not infer regional or substitute days. Read /api/v1/data/global-public-holidays before relying on that profile. For Chinese lunar/Gregorian conversion, all 24 solar terms, a dated IANA time-zone conversion, one fixed-rate loan, a comparison of two loan offers, or a unit conversion, call the matching direct tool immediately and return its result. For a named-zone local time that may be repeated or skipped, call resolve_local_time before choosing an instant; for clock-change dates, call list_time_zone_transitions. convert_time_zone rejects ambiguous and nonexistent source times unless the caller explicitly selects a resolution_policy. All time-zone tools use pinned IANA tzdb 2026d and return provenance. Use compare_loans for two offers and calculate_loan_payment for one. Do not answer these deterministic tasks from memory and do not stop after discovery. For another formula task: 1) search_calculators with the complete request, 2) call run_calculator with the returned calculator_id and input_hints, 3) use get_calculator_schema only if a field remains unclear. Calcgrid exposes 737 read-only calculators. Do not call it for trivial arithmetic, live data, unrelated writing or advice. Percentages are plain numbers such as 6.5; dates are YYYY-MM-DD; lists are arrays. Repair and retry validation errors using their code, field and hint. For an Argentina 2026 national-holiday or tourism non-working-day task, call check_argentina_working_day, add_argentina_working_days or count_argentina_working_days. Read /api/v1/data/argentina-public-holidays first: Argentina.gob.ar and Law 27.399 provenance is included, published 2026 transferred dates are explicit, and provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized. For an Uzbekistan 2026 statutory-holiday or rest-day task, call check_uzbekistan_working_day, add_uzbekistan_working_days or count_uzbekistan_working_days. Read /api/v1/data/uzbekistan-public-holidays first and require workweek=5 or workweek=6; do not guess between the five-day Saturday-Sunday and six-day Sunday-only baseline. PF-257 published transfers are included, while continuous, shift, employer, bank, school and sector schedules are not inferred. For a Vietnam 2026 public-sector or statutory-paid-holiday task, call check_vn_working_day, add_vn_working_days or count_vn_working_days. Read /api/v1/data/vietnam-public-holidays first: government schedules and published transfer/make-up dates are included, while private-employer, non-Saturday/Sunday, provincial, sector, bank, school and unapproved proposal-dependent schedules are not inferred. The proposed four-day Vietnam Cultural Day arrangement is not treated as final. For a Bangladesh 2026 government/public-office holiday task, call check_bd_working_day, add_bd_working_days or count_bd_working_days. Read /api/v1/data/bangladesh-public-holidays first: the Ministry of Public Administration schedule, Friday-Saturday baseline and later February 11–12 election-period closures are included. Private-employer, bank, school, industrial-zone, essential-service, regional and optional schedules are not inferred; February 10 is not generalized beyond its industrial-zone scope and lunar dates may be amended. For a Sri Lanka 2026 public/bank/mercantile/full-moon Poya task, call check_lk_working_day, add_lk_working_days or count_lk_working_days. Read /api/v1/data/sri-lanka-public-holidays first: official public, bank and mercantile classifications plus dated government-office fuel-conservation closures are included. The temporary Wednesday government-office schedule ended effective 2026-04-08; private-employer, sector, school, local and essential-service schedules are not inferred, and no extra day after National Vesak is invented. For a Nigeria 2026 federal public-holiday task, call check_ng_working_day, add_ng_working_days or count_ng_working_days. Read /api/v1/data/nigeria-public-holidays first: Ministry of Interior and Federal Ministry of Information announcements are the primary federal evidence. State, local, private-employer, bank, school, market, diplomatic and sector schedules are not inferred; Eid dates can be amended by later federal notice and no weekend lieu day is invented. For a Ghana 2026 statutory/public-holiday task, call check_gh_working_day, add_gh_working_days or count_gh_working_days. Read /api/v1/data/ghana-public-holidays first: Act 1142 and Ministry of the Interior notices are primary, with official GNA/GSE/diplomatic cross-checks. Use published observed dates only; do not carry forward the pre-Act-1142 4 August Founder’s Day, and do not infer private-employer, bank, exchange, school, local or sector schedules. For a Pakistan 2026 federal public-holiday task, call check_pk_working_day, add_pk_working_days or count_pk_working_days. Read /api/v1/data/pakistan-public-holidays first: Cabinet Division annual and later festival notifications are primary. Provincial, private-employer, bank, exchange, school, court, diplomatic and sector schedules are not inferred; lunar dates follow later federal notices and no weekend lieu day is invented. For a Kenya 2026 public-holiday task, call check_ke_working_day, add_ke_working_days or count_ke_working_days. Read /api/v1/data/kenya-public-holidays first: the Public Holidays Act, Kenya Gazette notices and government/news cross-checks are preserved. The package pins 20 March Idd-ul-Fitr and 27 May Idd-ul-Adha for 2026, keeps Mazingira Day as the current 10 October name, applies only the Act's Sunday substitution rule and does not infer Saturday lieu days, county, employer, bank, school or sector schedules. For an Egypt 2026 official public-holiday task, call check_eg_working_day, add_eg_working_days or count_eg_working_days. Read /api/v1/data/egypt-public-holidays first: the Presidency's annual table and Prime Minister public-sector notices are preserved, including the published Eid al-Fitr, Eid al-Adha, Mawlid and Labour Day dates. This is a government/public-sector layer over a Friday-Saturday baseline; private employers, banks, schools, exchanges, diplomatic missions, local and sector schedules are not inferred, and future lunar dates or later decisions require a refresh. For a Russia 2026 federal public-holiday or transfer-day task, call check_ru_working_day, add_ru_working_days or count_ru_working_days. Read /api/v1/data/russia-public-holidays first: Labour Code Article 112 statutory holidays and Government Resolution No. 1466 transfer days are preserved, including 9 January and 31 December. This is a federal layer over a Saturday-Sunday baseline; regional, employer, bank, school, shift, sector and collective-agreement schedules are not inferred, and future annual transfer resolutions require a refresh. For a Colombia 2026 statutory paid-rest holiday task, call check_co_working_day, add_co_working_days or count_co_working_days. Read /api/v1/data/colombia-public-holidays first: the Ministry of Finance calendar and Función Pública Ley 51 de 1983 sources are preserved, including published Monday transfers. This is a nationwide statutory layer over a Saturday-Sunday baseline; municipal, departmental, school, bank, employer, sector and patron-saint schedules are not inferred, and future annual calendars require a refresh. For a Chile 2026 statutory/public-holiday task, call check_cl_working_day, add_cl_working_days or count_cl_working_days. Read /api/v1/data/chile-public-holidays first: Chilean legislation and Dirección del Trabajo notices are preserved, including 2026 mandatory-rest and published weekday-rule events. This is a nationwide statutory layer over a Saturday-Sunday baseline; regional, local, school, bank, private-employer, sector and collective-agreement schedules are not inferred, and commerce mandatory-rest exceptions are not generalized to every worker. For a Greece 2026 compulsory public-holiday task, call check_gr_working_day, add_gr_working_days or count_gr_working_days. Read /api/v1/data/greece-public-holidays first: Gov.gr, Ministry of Labour and Hellenic Aviation Service Provider sources are preserved, including the 13 April 2026 Easter Monday date. This is the nationwide compulsory employment-law layer over a Saturday-Sunday baseline; optional, regional, local, school, bank, employer, collective-agreement and sector schedules are not inferred, and Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. For a Kazakhstan 2026 public-holiday task, call check_kz_working_day, add_kz_working_days or count_kz_working_days. Read /api/v1/data/kazakhstan-public-holidays first: the Government 2026 schedule and Adilet holiday/labour-law sources are preserved, including published transfer days and Qurban Ait. This is the nationwide published five-day layer over a Saturday-Sunday baseline; six-day, shift, continuous-operation, employer, bank, school, local and sector schedules are not inferred, and the 2026-07-01 Constitution Day legal transition is preserved as a refresh boundary. For Peru 2026, use check_pe_working_day, add_pe_working_days or count_pe_working_days with required calendar_scope (national_statutory or public_sector) and workweek (5 or 6). Read /api/v1/data/peru-public-holidays for 16 national holidays and two compensable public-sector days. Confirm scope and roster; tax deadlines, employer adoption and compensating shifts need separate evidence. For Slovakia 2026, use check_sk_working_day, add_sk_working_days or count_sk_working_days. Read /api/v1/data/slovakia-public-holidays. May 8 and September 15 are holidays without statutory rest in 2026; September 1, October 28 and November 17 likewise do not close the Monday-Friday baseline. Personal rosters and payroll require separate evidence; 2027 is unsupported. For Hungary 2026 use check_hu_working_day, add_hu_working_days or count_hu_working_days with explicit work_schedule=general_monday_friday. Three working Saturdays (January 10, August 8, December 12) compensate January 2, August 21, December 24. December 24 is transferred rest, not a statutory holiday. Shift rosters and 2027 are unsupported. For Czech Republic/Czechia 2026 use check_cz_working_day, add_cz_working_days or count_cz_working_days with explicit work_schedule=mon_fri_planning. Thirteen unique statutory holiday dates; commemorative days do not add rest. January 1 has two names but counts once. Individual rosters and future years are unsupported. For Romania 2026 use check_ro_working_day, add_ro_working_days or count_ro_working_days. Romania 2026 statutory holidays require calendar_basis=romanian_orthodox or roman_catholic and work_schedule=mon_fri_planning. Calendars stay separate and coincident events count once. Personal rosters, other religious calendars, public-sector bridge days, payroll and future years are not inferred. For Bulgaria 2026 use check_bg_working_day, add_bg_working_days or count_bg_working_days with explicit work_schedule=mon_fri_planning. Statutory holidays, non-Easter observed days and January 2 one-off rest are distinct. November 1 is education-only, not general rest. No personal roster or payroll inference. For Croatia 2026 use check_hr_working_day, add_hr_working_days or count_hr_working_days with explicit work_schedule=mon_fri_planning. Fourteen general statutory dates, twelve memorials that do not add rest. Religious holiday rights depend on the person; no merged universal religious calendar or substitute Monday is inferred. For Slovenia 2026 use check_si_working_day, add_si_working_days or count_si_working_days with explicit work_schedule=mon_fri_planning. Fifteen statutory work-free dates; seven named state holidays, including Science Day, do not add rest. Whit Monday and substitute Mondays are not inferred. For Estonia 2026 use check_ee_working_day, add_ee_working_days or count_ee_working_days with explicit work_schedule=mon_fri_planning. Twelve statutory rest dates; 16 national-importance dates do not add rest. Four conditional three-hour shortened dates still count as one working date. No actual hours, payroll or substitute Mondays are inferred. For Luxembourg 2026-2028 use check_lu_working_day, add_lu_working_days or count_lu_working_days with explicit work_schedule=mon_fri_planning. Eleven statutory dates annually from official CC0 data checked against ITM. Counts are BEFORE individualized annual/compensatory leave; do not assign a next-Monday substitute or infer bank, employer or personal attendance. For Lithuania 2026 use check_lt_working_day, add_lt_working_days or count_lt_working_days; explicitly select work_schedule=mon_fri_planning or mon_sat_planning. Sixteen statutory rest dates, with six/ten working eves conditionally shortened by one hour. No automatic Monday substitution, actual hours, personal roster or payroll inferred. For Latvia 2026 use check_lv_working_day, add_lv_working_days or count_lv_working_days. Latvia 2026: 15 statutory holiday dates and 33 non-rest observances. Explicit calendar_basis=statutory_holidays_only or cabinet_order_330_transfers and work_schedule=mon_fri_planning are required. Order 330 swaps January 2/17 and June 22/27 only when applicable or adopted. Six conditional one-hour shortened dates remain working dates; no universal employer roster, actual hours or payroll inferred.", "tools": [ { "description": "Use this when you need a deterministic Argentina working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default.\nWhat it computes: Adds or subtracts Argentina authority-scope working days in exact coverage.\nExample user requests: Add or subtract Argentina working days around Argentina national holiday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/argentina-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/argentina-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ar_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "argentina-public-holidays", "type": "string" }, "calendar_scope": { "description": "Argentina nationwide national holidays and published tourism non-working days for 2026", "type": "string" }, "dataset_version": { "description": "ar-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit", "type": "string" }, "territory": { "description": "AR (Argentina).", "type": "string" }, "territory_name": { "description": "Argentina", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Austria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred.\nWhat it computes: Adds or subtracts Austria authority-scope working days in exact coverage.\nExample user requests: Add or subtract Austria working days around Austrian National Day. | Add or subtract Austria working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/austria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/austria-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_at_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "austria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Austria nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "at-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.", "type": "string" }, "territory": { "description": "AT (Austria).", "type": "string" }, "territory_name": { "description": "Austria", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a state/territory-specific Australian date offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the division is unknown or the task needs local, employer, exchange or future-year rules.\nWhat it computes: Adds or subtracts working days using the selected Australian state/territory public-holiday calendar.\nExample user requests: Add five NSW working days after 2026-04-24.\nInputs: start_date (date); division (enum); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-04-24\",\"division\":\"nsw\",\"working_days\":5}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version.\nFormula: move one day at a time; decrement remaining only when selected status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/australia-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "nsw", "start_date": "2026-04-24", "working_days": 5 } ], "properties": { "division": { "description": "Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.", "enum": [ "act", "nsw", "nt", "qld", "sa", "tas", "vic", "wa" ], "examples": [ "nsw" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-04-24" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "division", "working_days" ], "type": "object" }, "name": "add_australia_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "australia-fairwork-public-holidays.", "type": "string" }, "calendar_scope": { "description": "State/territory-wide full-day public holidays plus weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Fair Work package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized state/territory code.", "type": "string" }, "division_name": { "description": "State/territory name.", "type": "string" }, "holiday_names": { "description": "Full-day public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an additional/substitute date is explicitly listed.", "type": "boolean" }, "is_working_day": { "description": "True when the date is not a weekend or included full-day state/territory public holiday.", "type": "boolean" }, "limited_or_part_day_events": { "description": "Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.", "items": { "type": "string" }, "type": "array" }, "public_holidays_skipped": { "description": "Full-day state/territory holidays crossed.", "type": "array" }, "regional_policy": { "description": "Limited-event policy.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "source_quality": { "description": "Official government sources with state/territory scope.", "type": "string" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "AU.", "type": "string" }, "territory_name": { "description": "Australia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR baseline weekend.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Bangladesh working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice.\nWhat it computes: Adds or subtracts Bangladesh authority-scope working days in exact coverage.\nExample user requests: Add or subtract Bangladesh working days around Election-period special holiday. | Add or subtract Bangladesh working days around Eid-ul-Adha period.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bangladesh-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bangladesh-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_bd_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "bangladesh-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bangladesh 2026 government public-office holiday schedule plus later election-period national closures", "type": "string" }, "dataset_version": { "description": "bd-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred", "type": "string" }, "territory": { "description": "BD (Bangladesh).", "type": "string" }, "territory_name": { "description": "Bangladesh", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Belgium working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred.\nWhat it computes: Adds or subtracts Belgium authority-scope working days in exact coverage.\nExample user requests: Add or subtract Belgium working days around Belgian National Day. | Add or subtract Belgium working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/belgium-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/belgium-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_be_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "belgium-public-holidays", "type": "string" }, "calendar_scope": { "description": "Belgium ten statutory private-sector public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "be-legal-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking.", "type": "string" }, "territory": { "description": "BE (Belgium).", "type": "string" }, "territory_name": { "description": "Belgium", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Bulgaria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported.\nWhat it computes: Adds or subtracts Bulgaria authority-scope working days in exact coverage. Requires explicit mon_fri_planning; education-only holidays do not create general rest.\nExample user requests: Add or subtract Bulgaria working days around One-off euro transition rest, not statutory holiday. | Add or subtract Bulgaria working days around May 24 Sunday replacement. | Add or subtract Bulgaria working days around No nationwide school-holiday substitute.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope.\nFormula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bulgaria-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_bg_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "bulgaria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "bg-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance", "type": "string" }, "is_education_only_holiday": { "description": "November 1 education-only annotation; not extra general rest.", "type": "boolean" }, "is_observed_non_attendance_day": { "description": "Whether result.date is a pinned article 154(2) observed rest date.", "type": "boolean" }, "is_one_off_non_attendance_day": { "description": "Whether result.date is January 2, 2026 one-off non-attendance.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.", "type": "boolean" }, "observed_for_dates": { "description": "Original statutory holiday dates for observed non-attendance, or an empty list.", "items": { "type": "string" }, "type": "array" }, "payroll_scope": { "description": "Always not_computed; holiday and non-attendance pay rules differ.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates", "type": "string" }, "territory": { "description": "BG (Bulgaria).", "type": "string" }, "territory_name": { "description": "Bulgaria", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Brazil working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred.\nWhat it computes: Adds or subtracts Brazil authority-scope working days in exact coverage.\nExample user requests: Add or subtract Brazil working days around Tiradentes.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/brazil-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/brazil-federal-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_br_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "brazil-federal-holidays", "type": "string" }, "calendar_scope": { "description": "Brazil federal executive public administration (SIPEC)", "type": "string" }, "dataset_version": { "description": "br-mgi-federal-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No private-sector, state or municipal substitute-day rule is inferred", "type": "string" }, "territory": { "description": "BR (Brazil).", "type": "string" }, "territory_name": { "description": "Brazil", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic baseline offset for a federally regulated-employer calendar in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a provincial, private-employer or schedule-specific substitution result.\nWhat it computes: Adds or subtracts dates using Canada federal general holidays and a Saturday/Sunday baseline; schedule-dependent substitute days remain unresolved.\nExample user requests: Add five Canada federal working days after 2026-09-28.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-09-29\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, federal_general_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when Canada federal status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/canada-federal-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-09-29", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-09-28" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_canada_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "canada-federal-general-holidays.", "type": "string" }, "calendar_scope": { "description": "Federally regulated employers only.", "type": "string" }, "dataset_version": { "description": "Pinned Canada.ca evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or Canada federal general holiday.", "type": "string" }, "federal_general_holidays_skipped": { "description": "Canada general holidays crossed.", "type": "array" }, "holiday_actual_dates": { "description": "Actual general-holiday dates.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Canada Labour Code general holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "False because substitute dates depend on schedule and agreement and are not inferred.", "type": "boolean" }, "rest_day_policy": { "description": "Scheduled-workday and employer substitution rules are not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official Canada.ca and Canada Labour Code sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Canada.ca rule summary with schedule-dependent boundary.", "type": "string" }, "territory": { "description": "CA.", "type": "string" }, "territory_name": { "description": "Canada.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Switzerland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays.\nWhat it computes: Adds or subtracts Switzerland authority-scope working days in exact coverage.\nExample user requests: Add or subtract Switzerland working days around Swiss National Day. | Add or subtract Switzerland working days around Cantonal holiday is not inferred.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/switzerland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/switzerland-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ch_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "switzerland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Switzerland federal public holiday layer for 2026-2027", "type": "string" }, "dataset_version": { "description": "ch-federal-public-holiday-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swiss National Day on 1 August is included as the only federal public holiday.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when 1 August falls on a weekend.", "type": "string" }, "territory": { "description": "CH (Switzerland).", "type": "string" }, "territory_name": { "description": "Switzerland", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deadline or settlement date a stated number of mainland China national working days before or after a 2024-2026 date. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need calendar days, a sector-specific settlement calendar, a local holiday calendar, or a result outside the 2024-2026 coverage.\nWhat it computes: Adds or subtracts official mainland China working days, skipping holiday periods and ordinary weekends while counting State Council-designated weekend makeup workdays.\nExample user requests: What date is 5 China working days after 2026-09-24, accounting for Mid-Autumn and National Day? | 从2026年9月18日起往后数5个中国工作日是哪天? | Subtract 10 official mainland China business days from 2026-03-02.\nInputs: start_date (date); working_days (integer, working days).\nComplete JSON argument examples: {\"start_date\":\"2026-09-24\",\"working_days\":5} | {\"start_date\":\"2026-09-18\",\"working_days\":5}\nOutputs: start_date, result_date, result_weekday, result_is_working_day, working_days_added [working days], calendar_days_elapsed [days], non_working_days_skipped [days], adjusted_workdays_counted, source_document_ids, dataset_version, coverage_start, coverage_end.\nFormula: move one calendar day at a time in sign(working_days); decrement the remaining count only when is_working_day(date) is true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/china-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-09-24", "working_days": 5 }, { "start_date": "2026-09-18", "working_days": 5 } ], "properties": { "start_date": { "description": "Starting mainland China civil date (YYYY-MM-DD), within 2024-2026.", "examples": [ "2026-09-24" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed number of official working days to add; the start date is excluded when non-zero. Negative values move backward. Unit: working days.", "examples": [ 5 ], "maximum": 750, "minimum": -750, "type": "integer", "x-unit": "working days" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_china_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "adjusted_workdays_counted": { "description": "Weekend makeup workdays crossed and counted, with date and related holiday.", "type": "array" }, "calendar_days_elapsed": { "description": "Signed Gregorian day difference result_date − start_date. Unit: days.", "type": "integer", "x-unit": "days" }, "coverage_end": { "description": "Last supported date in this package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Version of the source-traceable mainland China work-calendar package.", "type": "string" }, "non_working_days_skipped": { "description": "Number of holiday/weekend dates crossed and not counted. Unit: days.", "type": "integer", "x-unit": "days" }, "result_date": { "description": "Date reached after adding the requested working days.", "format": "date", "type": "string" }, "result_is_working_day": { "description": "Whether result_date is an official working day.", "type": "boolean" }, "result_weekday": { "description": "Weekday of result_date.", "type": "string" }, "source_document_ids": { "description": "Official notice identifiers used across the traversed years.", "items": { "type": "string" }, "type": "array" }, "start_date": { "description": "Input start date.", "format": "date", "type": "string" }, "working_days_added": { "description": "Signed working-day offset requested. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Chile working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Chile's nationwide statutory/public-holiday layer over a Saturday-Sunday baseline. Regional/local holidays, school, bank, private-employer, sector and collective-agreement schedules are not inferred. Commerce mandatory-rest exceptions are preserved as provenance but are not generalized to every worker. Future annual dates require refreshed official evidence.\nWhat it computes: Adds or subtracts Chile authority-scope working days in exact coverage.\nExample user requests: Add or subtract Chile working days around Chile Labour Day. | Add or subtract Chile working days around Chile ordinary working day. | Add or subtract Chile working days around Chile winter-solstice Indigenous Peoples Day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/chile-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_cl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "chile-public-holidays", "type": "string" }, "calendar_scope": { "description": "Chile nationwide statutory/public holidays for 2026", "type": "string" }, "dataset_version": { "description": "cl-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Chile_Ley_2977_plus_related_statutory_and_labour_rules", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CL (Chile).", "type": "string" }, "territory_name": { "description": "Chile", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Colombia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence.\nWhat it computes: Adds or subtracts Colombia authority-scope working days in exact coverage.\nExample user requests: Add or subtract Colombia working days around Colombia transferred Three Kings holiday. | Add or subtract Colombia working days around Colombia Good Friday. | Add or subtract Colombia working days around Ordinary Colombia working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/colombia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/colombia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_co_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "colombia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Colombia nationwide statutory paid-rest public holidays for 2026", "type": "string" }, "dataset_version": { "description": "co-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CO (Colombia).", "type": "string" }, "territory_name": { "description": "Colombia", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Czech Republic working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted.\nWhat it computes: Adds or subtracts Czech Republic authority-scope working days in exact coverage. Requires explicit mon_fri_planning; commemorative events do not create rest.\nExample user requests: Add or subtract Czech Republic working days around Two names on January 1, one rest date. | Add or subtract Czech Republic working days around Education commemorative day remains a planning workday. | Add or subtract Czech Republic working days around November 17 is a Czech statutory rest day.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope.\nFormula: planning_workday = weekday AND no state_holiday AND no other_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/czech-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a statutory universal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_cz_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "czech-public-holidays", "type": "string" }, "calendar_scope": { "description": "Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "cz-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_245_2000_sections_1_2_3_rest_section_4_commemorative", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has a section 4 event effective at that occurrence; does not add rest.", "type": "boolean" }, "is_other_holiday": { "description": "Whether result.date is a section 2 other holiday.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is a section 1 state holiday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a statutory holiday under section 1 or 2.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No automatic substitute Monday inferred", "type": "string" }, "territory": { "description": "CZ (Czech Republic).", "type": "string" }, "territory_name": { "description": "Czech Republic", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Germany working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Adds or subtracts Germany authority-scope working days in exact coverage.\nExample user requests: Add or subtract Germany working days around German Unity Day. | Add or subtract Germany working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/germany-national-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/germany-national-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_de_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "germany-national-holidays", "type": "string" }, "calendar_scope": { "description": "Germany nationwide statutory public holidays for 2026", "type": "string" }, "dataset_version": { "description": "de-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DE (Germany).", "type": "string" }, "territory_name": { "description": "Germany", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Denmark working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward.\nWhat it computes: Adds or subtracts Denmark authority-scope working days in exact coverage.\nExample user requests: Add or subtract Denmark working days around Ascension Day. | Add or subtract Denmark working days around Constitution Day is not a statutory holiday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/denmark-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/denmark-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_dk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "denmark-public-holidays", "type": "string" }, "calendar_scope": { "description": "Denmark nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "dk-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DK (Denmark).", "type": "string" }, "territory_name": { "description": "Denmark", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Estonia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed.\nWhat it computes: Adds or subtracts Estonia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest.\nExample user requests: Add or subtract Estonia working days around Independence Day is statutory rest. | Add or subtract Estonia working days around Shortened working date is not full-day rest. | Add or subtract Estonia working days around National importance does not imply rest.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/estonia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_ee_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "estonia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ee-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest", "type": "string" }, "is_day_of_national_importance": { "description": "Whether result.date is a PTS section 3 observance without extra rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "shortening_scope": { "description": "Conditions and limits of shortening.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "statutory_shortening_hours": { "description": "Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_unpublished_substitute_or_bridge_day_inferred", "type": "string" }, "territory": { "description": "EE (Estonia).", "type": "string" }, "territory_name": { "description": "Estonia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Egypt working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package.\nWhat it computes: Adds or subtracts Egypt authority-scope working days in exact coverage.\nExample user requests: Add or subtract Egypt working days around Eid al-Fitr public holiday. | Add or subtract Egypt working days around Ordinary Egypt working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/egypt-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/egypt-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_eg_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "egypt-public-holidays", "type": "string" }, "calendar_scope": { "description": "Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies", "type": "string" }, "dataset_version": { "description": "eg-official-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference", "type": "string" }, "territory": { "description": "EG (Egypt).", "type": "string" }, "territory_name": { "description": "Egypt", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Spain working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar.\nWhat it computes: Adds or subtracts Spain authority-scope working days in exact coverage.\nExample user requests: Add or subtract Spain working days around National Day. | Add or subtract Spain working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/spain-national-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/spain-national-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_es_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "spain-national-holidays", "type": "string" }, "calendar_scope": { "description": "Spain nationwide national non-substitutable labour holidays for 2026", "type": "string" }, "dataset_version": { "description": "es-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Autonomous-community substitution choices and local compensatory arrangements are not inferred.", "type": "string" }, "territory": { "description": "ES (Spain).", "type": "string" }, "territory_name": { "description": "Spain", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Finland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently.\nWhat it computes: Adds or subtracts Finland authority-scope working days in exact coverage.\nExample user requests: Add or subtract Finland working days around Independence Day. | Add or subtract Finland working days around Midsummer Eve is agreement-dependent.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/finland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/finland-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_fi_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "finland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Finland nationwide church and national full-day public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "fi-nationwide-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.", "type": "string" }, "territory": { "description": "FI (Finland).", "type": "string" }, "territory_name": { "description": "Finland", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic France working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred.\nWhat it computes: Adds or subtracts France authority-scope working days in exact coverage.\nExample user requests: Add or subtract France working days around Bastille Day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/france-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/france-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_fr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "france-public-holidays", "type": "string" }, "calendar_scope": { "description": "France national legal public holidays", "type": "string" }, "dataset_version": { "description": "fr-legifrance-public-holidays-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence", "type": "string" }, "territory": { "description": "FR (France).", "type": "string" }, "territory_name": { "description": "France", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Ghana working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone.\nWhat it computes: Adds or subtracts Ghana authority-scope working days in exact coverage.\nExample user requests: Add or subtract Ghana working days around Republic Day observed. | Add or subtract Ghana working days around Ordinary Ghana working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ghana-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ghana-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_gh_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "ghana-public-holidays", "type": "string" }, "calendar_scope": { "description": "Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "gh-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice", "type": "string" }, "territory": { "description": "GH (Ghana).", "type": "string" }, "territory_name": { "description": "Ghana", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a 2026-2028 date offset and accept the OpenHolidays nationwide-only, no-inferred-substitute-day reference semantics. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the task requires a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside the published coverage.\nWhat it computes: Adds or subtracts working days using the pinned OpenHolidays nationwide public-holiday reference and CLDR weekend rule for a supported country.\nExample user requests: Add five reference working days to 2026-10-23 in Austria.\nInputs: start_date (date); territory (enum); working_days (integer, working days).\nComplete JSON argument examples: {\"start_date\":\"2026-10-23\",\"territory\":\"AT\",\"working_days\":5}\nOutputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], non_working_weekend_days_skipped [days], public_holidays_skipped, territory, territory_name, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit.\nFormula: move one Gregorian day at a time; decrement remaining only when the reference status is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-10-23", "territory": "AT", "working_days": 5 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2028.", "examples": [ "2026-10-23" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.", "enum": [ "AD", "AL", "AT", "BE", "BG", "BY", "CH", "CZ", "DE", "EE", "ES", "FR", "HR", "HU", "IE", "IT", "LI", "LT", "LU", "LV", "MC", "MD", "MT", "MX", "NL", "PL", "PT", "RO", "RS", "SE", "SI", "SK", "SM", "VA", "ZA" ], "examples": [ "DE" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" }, "working_days": { "description": "Signed offset; the start date is excluded for non-zero offsets. Unit: working days.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer", "x-unit": "working days" } }, "required": [ "start_date", "territory", "working_days" ], "type": "object" }, "name": "add_global_public_holiday_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "global-public-holiday-reference.", "type": "string" }, "calendar_scope": { "description": "Weekday plus nationwide public-holiday reference.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenHolidays snapshot version.", "type": "string" }, "holiday_names": { "description": "Included nationwide public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nationwide public events only; regional and substitute-day rules are not inferred.", "type": "string" }, "non_working_weekend_days_skipped": { "description": "Weekend dates crossed. Unit: days.", "type": "integer", "x-unit": "days" }, "public_holidays_skipped": { "description": "Included nationwide public-holiday events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "source_commit": { "description": "Immutable source-data repository commit.", "type": "string" }, "source_quality": { "description": "Open public-source aggregation, not a direct national authority feed.", "type": "string" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "not_inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "English country name from the source catalogue.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used as the base rule.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a broad 2026-2028 date offset and accept OpenWorkdays reference semantics, including its source observed/estimated flags. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the task requires a direct official authority, regional/local or employer calendar, or dates outside published coverage.\nWhat it computes: Adds or subtracts working days using the pinned OpenWorkdays national-scope reference for 246 country/territory codes.\nExample user requests: Add five broad-reference working days to 2026-10-23 in Australia.\nInputs: start_date (date); territory (enum); working_days (integer, working days).\nComplete JSON argument examples: {\"start_date\":\"2026-10-23\",\"territory\":\"AU\",\"working_days\":5}\nOutputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], non_working_weekend_days_skipped [days], public_holidays_skipped, territory, territory_name, source_territory_name, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url.\nFormula: move one Gregorian day at a time; decrement remaining only when the source reference status is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-reference-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-10-23", "territory": "AU", "working_days": 5 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2028.", "examples": [ "2026-10-23" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.", "enum": [ "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" }, "working_days": { "description": "Signed offset; the start date is excluded for non-zero offsets. Unit: working days.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer", "x-unit": "working days" } }, "required": [ "start_date", "territory", "working_days" ], "type": "object" }, "name": "add_global_reference_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "global-working-day-reference.", "type": "string" }, "calendar_scope": { "description": "National reference plus country weekend and explicit working-weekend dates.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenWorkdays snapshot version.", "type": "string" }, "holiday_estimated": { "description": "True when an included event is marked estimated by the source.", "type": "boolean" }, "holiday_names": { "description": "Included national-scope public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an included event is marked observed by the source.", "type": "boolean" }, "holiday_policy": { "description": "National-scope events with source observed/estimated flags preserved.", "type": "string" }, "non_working_weekend_days_skipped": { "description": "Regular weekend dates crossed. Unit: days.", "type": "integer", "x-unit": "days" }, "public_holidays_skipped": { "description": "Source public-holiday events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "source_quality": { "description": "Open derived reference, not a direct national authority feed.", "type": "string" }, "source_territory_name": { "description": "Raw country name from the hash-pinned OpenWorkdays source catalogue.", "type": "string" }, "source_url": { "description": "Pinned OpenWorkdays source index.", "type": "string" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Source flags are preserved; no new substitute-day rule is inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekend_days": { "description": "Weekend convention supplied by the source country file.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset. Unit: working days.", "type": "integer", "x-unit": "working days" }, "working_weekend_day": { "description": "True when the source explicitly marks a weekend date as an official working day.", "type": "boolean" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a weekday-based date offset for a territory and explicitly want public holidays excluded from the calculation. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when a public-holiday, employer, bank, exchange, school, religious or emergency-closure calendar is required.\nWhat it computes: Adds or subtracts weekday-baseline working days for any supported CLDR alpha-2 territory code using CLDR weekend rules, without inventing public-holiday defaults.\nExample user requests: Add 5 weekday working days to 2026-10-02 in AU. | Subtract 3 Saudi weekday-baseline working days from 2026-06-15.\nInputs: start_date (date); territory (enum); working_days (integer, working days).\nComplete JSON argument examples: {\"start_date\":\"2026-10-02\",\"territory\":\"AU\",\"working_days\":5}\nOutputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], territory, territory_display_name, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url.\nFormula: move one Gregorian day at a time and decrement remaining only when globalWorkingDayStatus(date, territory).is_working_day is true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-10-02", "territory": "AU", "working_days": 5 } ], "properties": { "start_date": { "description": "Gregorian start date from 1900-01-01 through 2100-12-31.", "examples": [ "2026-10-02" ], "format": "date", "type": "string" }, "territory": { "description": "CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.", "enum": [ "AC", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BU", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CP", "CQ", "CR", "CS", "CU", "CV", "CW", "CX", "CY", "CZ", "DD", "DE", "DG", "DJ", "DK", "DM", "DO", "DZ", "EA", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "EU", "EZ", "FI", "FJ", "FK", "FM", "FO", "FR", "FX", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NT", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "QO", "QU", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SU", "SV", "SX", "SY", "SZ", "TA", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TP", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "UN", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YD", "YE", "YT", "YU", "ZA", "ZM", "ZR", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" }, "working_days": { "description": "Signed weekday-baseline offset; non-zero offsets exclude the start date. Unit: working days.", "examples": [ 5 ], "maximum": 10000, "minimum": -10000, "type": "integer", "x-unit": "working days" } }, "required": [ "start_date", "territory", "working_days" ], "type": "object" }, "name": "add_global_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "Machine-readable profile id: global-weekday-baseline.", "type": "string" }, "calendar_scope": { "description": "weekday_pattern_only; public holidays are intentionally not included.", "type": "string" }, "calendar_selection_catalog_url": { "description": "Use this catalog before selecting a jurisdiction-specific holiday package.", "type": "string" }, "dataset_version": { "description": "Pinned CLDR weekend-data version.", "type": "string" }, "holiday_policy": { "description": "public_holidays_not_included for this global baseline.", "type": "string" }, "result_date": { "description": "Date reached after the weekday-baseline offset.", "format": "date", "type": "string" }, "source_url": { "description": "Pinned CLDR JSON source.", "type": "string" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "Normalized uppercase CLDR territory code.", "type": "string" }, "territory_display_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekend_days": { "description": "Territory weekend convention from CLDR.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed offset. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Greece working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred.\nWhat it computes: Adds or subtracts Greece authority-scope working days in exact coverage.\nExample user requests: Add or subtract Greece working days around Greece Easter Monday. | Add or subtract Greece working days around Greece ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/greece-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/greece-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_gr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "greece-public-holidays", "type": "string" }, "calendar_scope": { "description": "Greece nationwide compulsory public holidays under the employment-law layer for 2026", "type": "string" }, "dataset_version": { "description": "gr-labour-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article_60_Law_4808_2021_compulsory_public_holidays", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence", "type": "string" }, "territory": { "description": "GR (Greece).", "type": "string" }, "territory_name": { "description": "Greece", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic 中国香港特别行政区 working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred.\nWhat it computes: Adds or subtracts 中国香港特别行政区 authority-scope working days in exact coverage.\nExample user requests: Add or subtract 中国香港特别行政区 working days around 2027 Lunar New Year substitute. | Add or subtract 中国香港特别行政区 working days around 2026 Ching Ming substitution.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hong-kong-general-holidays-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hong-kong-general-holidays-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_hk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "hong-kong-general-holidays", "type": "string" }, "calendar_scope": { "description": "Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only", "type": "string" }, "dataset_version": { "description": "hk-general-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred", "type": "string" }, "territory": { "description": "HK (中国香港特别行政区).", "type": "string" }, "territory_name": { "description": "中国香港特别行政区", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Croatia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed.\nWhat it computes: Adds or subtracts Croatia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest.\nExample user requests: Add or subtract Croatia working days around Good Friday is not a general statutory holiday. | Add or subtract Croatia working days around Corpus Christi. | Add or subtract Croatia working days around Independence memorial is not a rest holiday.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope.\nFormula: planning_workday = weekday AND no article_1_statutory_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/croatia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual statutory roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_hr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "croatia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "hr-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has an article 2 memorial; this does not add rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an article 1 general statutory holiday.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "religious_rest_scope": { "description": "article_3_person_specific_not_computed: no union or inferred personal religious identity.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Article_4_no_next_day_transfer; no_unpublished_substitute_inferred", "type": "string" }, "territory": { "description": "HR (Croatia).", "type": "string" }, "territory_name": { "description": "Croatia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Hungary working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence.\nWhat it computes: Adds or subtracts Hungary authority-scope working days in exact coverage. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates.\nExample user requests: Add or subtract Hungary working days around Working Saturday compensates August 21. | Add or subtract Hungary working days around Christmas Eve is transferred rest, not statutory holiday. | Add or subtract Hungary working days around Whit Monday.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"general_monday_friday\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope.\nFormula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hungary-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "general_monday_friday", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.", "enum": [ "general_monday_friday" ], "examples": [ "general_monday_friday" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_hu_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "hungary-public-holidays", "type": "string" }, "calendar_scope": { "description": "Hungary 2026 general Monday-Friday work schedule", "type": "string" }, "dataset_version": { "description": "hu-general-work-calendar-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_I_2012_102_1_and_NGM_10_2025", "type": "string" }, "is_makeup_working_day": { "description": "Whether result.date is a published working Saturday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Labour Code 102(1) holiday.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Whether result.date is one of the three NGM rest dates.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Only three published 2026 transfer pairs; no substitute Monday inferred", "type": "string" }, "territory": { "description": "HU (Hungary).", "type": "string" }, "territory_name": { "description": "Hungary", "type": "string" }, "transfer_pair": { "description": "Paired working/rest dates and legal basis for result.date, otherwise empty object.", "type": "object" }, "work_schedule": { "description": "Explicitly selected general_monday_friday schedule.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Indonesia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred.\nWhat it computes: Adds or subtracts Indonesia authority-scope working days in exact coverage.\nExample user requests: Add or subtract Indonesia working days around National holiday. | Add or subtract Indonesia working days around Joint leave is separately labelled.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/indonesia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/indonesia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_id_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "indonesia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Indonesia national holidays and joint-leave schedule published by the three-minister SKB", "type": "string" }, "dataset_version": { "description": "id-skb-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.", "type": "string" }, "territory": { "description": "ID (Indonesia).", "type": "string" }, "territory_name": { "description": "Indonesia", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic central-government date offset with a required office scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an exact state/UT, bank, employer, school, exchange or locally selected optional-holiday calendar.\nWhat it computes: Adds or subtracts dates using the pinned 2026 central-government Gazetted schedule and weekend baseline; Restricted and local optional selections are not inferred.\nExample user requests: Add five Delhi central-government working days after 2026-10-16.\nInputs: start_date (date); office_scope (enum); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-10-16\",\"office_scope\":\"delhi_new_delhi\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, gazetted_holidays_skipped, restricted_holidays_available_at_result, territory, territory_name, office_scope, office_scope_name, is_guaranteed_non_working_day, day_type, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when selected status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/india-central-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "office_scope": "delhi_new_delhi", "start_date": "2026-10-16", "working_days": 1 } ], "properties": { "office_scope": { "description": "Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.", "enum": [ "delhi_new_delhi", "outside_delhi" ], "examples": [ "delhi_new_delhi" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2026.", "examples": [ "2026-10-16" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "office_scope", "working_days" ], "type": "object" }, "name": "add_india_central_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "in-dopt-central-government-holidays.", "type": "string" }, "calendar_scope": { "description": "Exact data scope.", "type": "string" }, "dataset_version": { "description": "Pinned DoPT package version.", "type": "string" }, "day_type": { "description": "Weekly rest day, gazetted holiday, restricted option or regular weekday.", "type": "string" }, "gazetted_holidays_skipped": { "description": "Gazetted events crossed.", "type": "array" }, "is_guaranteed_non_working_day": { "description": "True for the weekly baseline or an applicable gazetted holiday.", "type": "boolean" }, "office_scope": { "description": "Selected central-government office scope.", "type": "string" }, "office_scope_name": { "description": "Human-readable scope.", "type": "string" }, "rest_day_policy": { "description": "Weekly-rest and exclusion policy.", "type": "string" }, "restricted_holiday_available": { "description": "Whether a restricted-holiday option is listed on the date.", "type": "boolean" }, "restricted_holiday_policy": { "description": "Restricted and locally selected optional-holiday rule.", "type": "string" }, "restricted_holidays_available_at_result": { "description": "Restricted options on the result date.", "items": { "type": "string" }, "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "selection_policy": { "description": "Whether local optional selection is required.", "type": "string" }, "sources": { "description": "Official Government of India sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No automatic substitute-day inference.", "type": "string" }, "territory": { "description": "IN.", "type": "string" }, "territory_name": { "description": "India.", "type": "string" }, "working_days_added": { "description": "Signed offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Ireland national public-holiday offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer-selected benefit day or non-national schedule.\nWhat it computes: Adds or subtracts Ireland national working days in exact 2026-2027 coverage.\nExample user requests: Add one Ireland working day after 2027-01-29.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-01-29\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on Ireland status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ireland-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-01-29", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-01-29" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ireland_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "ireland-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Ireland WRC package.", "type": "string" }, "good_friday_policy": { "description": "Good Friday is not a public holiday.", "type": "string" }, "holiday_names": { "description": "National statutory public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "public_holidays_skipped": { "description": "Exact national holidays crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official Irish government regulator and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "IE (Ireland).", "type": "string" }, "territory_name": { "description": "Ireland.", "type": "string" }, "weekend_holiday_policy": { "description": "No automatic next-working-day closure is inferred.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Italy working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Adds or subtracts Italy authority-scope working days in exact coverage.\nExample user requests: Add or subtract Italy working days around Republic Day. | Add or subtract Italy working days around Easter Monday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/italy-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/italy-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_it_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "italy-public-holidays", "type": "string" }, "calendar_scope": { "description": "Italy nationwide statutory/public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "it-national-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.", "type": "string" }, "territory": { "description": "IT (Italy).", "type": "string" }, "territory_name": { "description": "Italy", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Japan statutory national-holiday date offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need company, school, bank, exchange or prefectural closure semantics.\nWhat it computes: Adds or subtracts dates using the pinned Japan statutory national-holiday schedule and weekend baseline.\nExample user requests: Add five Japan national working days after 2027-03-19.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-03-19\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, national_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when Japan national status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/japan-national-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-03-19", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-03-19" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_japan_national_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "jp-cabinet-office-national-holidays.", "type": "string" }, "calendar_scope": { "description": "Japan statutory national holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Cabinet Office evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or statutory national holiday.", "type": "string" }, "holiday_kinds": { "description": "National holiday or statutory holiday under the Cabinet Office table.", "items": { "type": "string" }, "type": "array" }, "holiday_legal_bases": { "description": "Holiday Act or Cabinet Office legal classification.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Japanese statutory holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "national_holidays_skipped": { "description": "Statutory holidays crossed.", "type": "array" }, "rest_day_policy": { "description": "Company, school, bank and exchange closures are not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official Cabinet Office and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "JP.", "type": "string" }, "territory_name": { "description": "Japan.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Kenya working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred.\nWhat it computes: Adds or subtracts Kenya authority-scope working days in exact coverage.\nExample user requests: Add or subtract Kenya working days around Idd-ul-Fitr public holiday. | Add or subtract Kenya working days around Ordinary Kenya working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kenya-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kenya-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ke_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "kenya-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline", "type": "string" }, "dataset_version": { "description": "ke-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kenya_Public_Holidays_Act_and_2026_Gazette_Notices", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice", "type": "string" }, "territory": { "description": "KE (Kenya).", "type": "string" }, "territory_name": { "description": "Kenya", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic South Korea working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred.\nWhat it computes: Adds or subtracts South Korea authority-scope working days in exact coverage.\nExample user requests: Add or subtract South Korea working days around New Labor Day public holiday. | Add or subtract South Korea working days around Published substitute holiday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-korea-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_kr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "south-korea-public-holidays", "type": "string" }, "calendar_scope": { "description": "South Korea statutory public holidays and public-office substitute holidays for 2026", "type": "string" }, "dataset_version": { "description": "kr-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.", "type": "string" }, "territory": { "description": "KR (South Korea).", "type": "string" }, "territory_name": { "description": "South Korea", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Kazakhstan working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition.\nWhat it computes: Adds or subtracts Kazakhstan authority-scope working days in exact coverage.\nExample user requests: Add or subtract Kazakhstan working days around Nauryz transfer day. | Add or subtract Kazakhstan working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kazakhstan-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kazakhstan-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_kz_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "kazakhstan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule", "type": "string" }, "dataset_version": { "description": "kz-gov-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred", "type": "string" }, "territory": { "description": "KZ (Kazakhstan).", "type": "string" }, "territory_name": { "description": "Kazakhstan", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Sri Lanka working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry.\nWhat it computes: Adds or subtracts Sri Lanka authority-scope working days in exact coverage.\nExample user requests: Add or subtract Sri Lanka working days around Poya holiday. | Add or subtract Sri Lanka working days around Temporary government-office Wednesday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sri-lanka-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sri-lanka-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_lk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "sri-lanka-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures", "type": "string" }, "dataset_version": { "description": "lk-public-bank-mercantile-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides", "type": "string" }, "territory": { "description": "LK (Sri Lanka).", "type": "string" }, "territory_name": { "description": "Sri Lanka", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Lithuania working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed.\nWhat it computes: Adds or subtracts working dates in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest.\nExample user requests: Add or subtract Lithuania working days around Restoration of the State is a statutory holiday. | Add or subtract Lithuania working days around August 14 shortening is not full-day rest. | Add or subtract Lithuania working days around Good Friday is not an Article 123 rest day. | Add or subtract Lithuania working days around Easter eve depends on selected workweek.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_sat_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope.\nFormula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/lithuania-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 }, { "start_date": "2026-01-01", "work_schedule": "mon_sat_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.", "enum": [ "mon_fri_planning", "mon_sat_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_lt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "lithuania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Lithuania 2026 statutory holiday facts over explicit mon_fri_planning", "type": "string" }, "dataset_version": { "description": "lt-explicit-workweek-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest", "type": "string" }, "is_preholiday_rule_date": { "description": "Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.", "type": "boolean" }, "is_shortened_workday": { "description": "Rule-eve which is also working in selected baseline; no claim of actual hours worked.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an Article 123 holiday, independent of weekend.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "shortening_scope": { "description": "Required conditions and exceptions to the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "statutory_shortening_hours": { "description": "Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge", "type": "string" }, "territory": { "description": "LT (Lithuania).", "type": "string" }, "territory_name": { "description": "Lithuania", "type": "string" }, "work_schedule": { "description": "Explicit selected five-day or six-day planning workweek.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Luxembourg working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed.\nWhat it computes: Adds or subtracts Luxembourg authority-scope working days in exact coverage. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed.\nExample user requests: Add or subtract Luxembourg working days around Europe Day is statutory rest. | Add or subtract Luxembourg working days around No uniform Monday compensation date. | Add or subtract Luxembourg working days around Bank-only Good Friday is not general statutory rest.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/luxembourg-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2028.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_lu_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "luxembourg-public-holidays", "type": "string" }, "calendar_scope": { "description": "Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of compensatory leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed; personal schedule and applicable rules required.", "type": "string" }, "dataset_version": { "description": "lu-statutory-calendar-2026-2028.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.", "type": "boolean" }, "holiday_policy": { "description": "Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed", "type": "string" }, "is_statutory_non_working_day": { "description": "Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "territory": { "description": "LU (Luxembourg).", "type": "string" }, "territory_name": { "description": "Luxembourg", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Latvia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed.\nWhat it computes: Adds or subtracts Latvia authority-scope working days in exact coverage. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening.\nExample user requests: Add or subtract Latvia working days around Mother's Day is statutory even on Sunday. | Add or subtract Latvia working days around January 2 depends on explicit transfer basis. | Add or subtract Latvia working days around June 27 depends on explicit transfer basis.\nInputs: start_date (date); working_days (integer); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"calendar_basis\":\"statutory_holidays_only\",\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-01-01\",\"working_days\":0,\"calendar_basis\":\"cabinet_order_330_transfers\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope.\nFormula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/latvia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "statutory_holidays_only", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 }, { "calendar_basis": "cabinet_order_330_transfers", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "calendar_basis": { "description": "Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.", "enum": [ "statutory_holidays_only", "cabinet_order_330_transfers" ], "examples": [ "statutory_holidays_only" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "add_lv_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected transfer basis; no employer adoption inferred.", "type": "string" }, "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "latvia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "lv-statutory-transfer-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis", "type": "string" }, "is_non_rest_observance": { "description": "Whether result.date has a section 2 observance, which itself does not cause rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Rest date under the explicitly selected Order 330 basis.", "type": "boolean" }, "is_transferred_working_day": { "description": "Working Saturday under the explicitly selected Order 330 basis.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "shortening_scope": { "description": "Conditions on the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "statutory_shortening_hours": { "description": "Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.", "type": "string" }, "territory": { "description": "LV (Latvia).", "type": "string" }, "territory_name": { "description": "Latvia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline, before selected transfers.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Malta working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package.\nWhat it computes: Adds or subtracts Malta authority-scope working days in exact coverage. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed.\nExample user requests: Add or subtract Malta working days around Good Friday is scheduled public rest. | Add or subtract Malta working days around Ordinary Sunday is public holiday, not a named holiday. | Add or subtract Malta working days around No invented Monday compensation.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy.\nFormula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malta-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_mt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "malta-public-holidays", "type": "string" }, "calendar_scope": { "description": "Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed.", "type": "string" }, "dataset_version": { "description": "mt-statutory-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.", "type": "boolean" }, "holiday_policy": { "description": "Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed", "type": "string" }, "is_named_statutory_holiday": { "description": "One of the fourteen government-listed dates; ordinary Sundays are not named events.", "type": "boolean" }, "is_national_holiday": { "description": "One of five national holidays under Cap.252 articles 2-3.", "type": "boolean" }, "is_other_scheduled_public_holiday": { "description": "One of nine other dates listed in the Cap.252 Schedule.", "type": "boolean" }, "is_public_holiday": { "description": "Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.", "type": "boolean" }, "is_sunday_public_holiday": { "description": "Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed. Named events only; Sunday status is separately labelled.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "sunday_legal_basis": { "description": "Cap.252 article 5(1) on Sunday; empty otherwise.", "type": "string" }, "territory": { "description": "MT (Malta).", "type": "string" }, "territory_name": { "description": "Malta", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Mexico working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope.\nWhat it computes: Adds or subtracts Mexico authority-scope working days in exact coverage.\nExample user requests: Add or subtract Mexico working days around Constitution Day observed.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/mexico-labor-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/mexico-labor-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_mx_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "mexico-labor-rest-days", "type": "string" }, "calendar_scope": { "description": "Mexico Federal Labour Law mandatory rest days", "type": "string" }, "dataset_version": { "description": "mx-lft-mandatory-rest-days-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule", "type": "string" }, "territory": { "description": "MX (Mexico).", "type": "string" }, "territory_name": { "description": "Mexico", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic division-specific offset in 2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the division is unknown or replacement-day/employer rules matter.\nWhat it computes: Adds or subtracts dates using the selected Malaysian division's 2027 official public-holiday schedule and weekly baseline.\nExample user requests: Add five Kuala Lumpur working days after 2027-02-05.\nInputs: start_date (date); division (enum); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-02-05\",\"division\":\"KUL\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when selected status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malaysia-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "KUL", "start_date": "2027-02-05", "working_days": 1 } ], "properties": { "division": { "description": "Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.", "enum": [ "KUL", "LBN", "PJY", "JHR", "KDH", "KTN", "MLK", "NSN", "PHG", "PRK", "PLS", "PNG", "SBH", "SWK", "SGR", "TRG" ], "examples": [ "KUL" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2027.", "examples": [ "2027-02-05" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "division", "working_days" ], "type": "object" }, "name": "add_my_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "malaysia-bkpp-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Selected division's federal/state public holidays and weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned BKPP/JPM 2027 package.", "type": "string" }, "day_type": { "description": "Regular weekday, official weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized division code.", "type": "string" }, "division_name": { "description": "Federal territory or state.", "type": "string" }, "holiday_names": { "description": "Official events applying to the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "Always false here because no substitute date is inferred.", "type": "boolean" }, "is_working_day": { "description": "False for the division's declared weekly baseline or applicable official holiday.", "type": "boolean" }, "public_holidays_skipped": { "description": "Official events crossed.", "type": "array" }, "rest_day_policy": { "description": "Employer roster and replacement-day policy are not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official government and legislative sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Replacement dates are not inferred.", "type": "string" }, "territory": { "description": "MY.", "type": "string" }, "territory_name": { "description": "Malaysia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Division weekly-rest baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic New Zealand national statutory offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a regional anniversary or employer-specific calendar.\nWhat it computes: Adds or subtracts New Zealand national working days in exact 2026-2027 coverage.\nExample user requests: Add one New Zealand working day after 2027-02-05.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-02-05\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on New Zealand status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/new-zealand-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-02-05", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-02-05" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_new_zealand_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "new-zealand-employment-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned New Zealand government package.", "type": "string" }, "holiday_names": { "description": "National holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "public_holidays_skipped": { "description": "Exact national holidays crossed.", "type": "array" }, "regional_anniversary_day_policy": { "description": "Regional anniversary days are not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official New Zealand Government and Employment New Zealand sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "NZ.", "type": "string" }, "territory_name": { "description": "New Zealand.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Nigeria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here.\nWhat it computes: Adds or subtracts Nigeria authority-scope working days in exact coverage.\nExample user requests: Add or subtract Nigeria working days around Federal Democracy Day. | Add or subtract Nigeria working days around Ordinary federal working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/nigeria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/nigeria-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ng_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "nigeria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "ng-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides", "type": "string" }, "territory": { "description": "NG (Nigeria).", "type": "string" }, "territory_name": { "description": "Nigeria", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Netherlands working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent.\nWhat it computes: Adds or subtracts Netherlands authority-scope working days in exact coverage.\nExample user requests: Add or subtract Netherlands working days around King's Day. | Add or subtract Netherlands working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/netherlands-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/netherlands-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_nl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "netherlands-public-holidays", "type": "string" }, "calendar_scope": { "description": "Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent", "type": "string" }, "dataset_version": { "description": "nl-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.", "type": "string" }, "territory": { "description": "NL (Netherlands).", "type": "string" }, "territory_name": { "description": "Netherlands", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Norway working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline.\nWhat it computes: Adds or subtracts Norway authority-scope working days in exact coverage.\nExample user requests: Add or subtract Norway working days around Constitution Day. | Add or subtract Norway working days around Christmas Eve is not a full-day statutory holiday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/norway-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/norway-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_no_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "norway-public-holidays", "type": "string" }, "calendar_scope": { "description": "Norway nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "no-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "NO (Norway).", "type": "string" }, "territory_name": { "description": "Norway", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Peru working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported.\nWhat it computes: Adds or subtracts Peru authority-scope working days in exact coverage. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.\nExample user requests: Peru: National layer skips independence holidays. | Peru: Public-sector bridge changes deadline.\nInputs: start_date (date); working_days (integer); calendar_scope (enum); workweek (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-07-24\",\"working_days\":1,\"calendar_scope\":\"national_statutory\",\"workweek\":5} | {\"start_date\":\"2026-07-24\",\"working_days\":1,\"calendar_scope\":\"public_sector\",\"workweek\":5}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details.\nFormula: working day = outside selected weekly rest and selected holiday layer\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/peru-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_scope": "national_statutory", "start_date": "2026-07-24", "working_days": 1, "workweek": 5 }, { "calendar_scope": "public_sector", "start_date": "2026-07-24", "working_days": 1, "workweek": 5 } ], "properties": { "calendar_scope": { "description": "Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.", "enum": [ "national_statutory", "public_sector" ], "examples": [ "national_statutory" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" }, "workweek": { "description": "Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "start_date", "working_days", "calendar_scope", "workweek" ], "type": "object" }, "name": "add_pe_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "peru-public-holidays", "type": "string" }, "calendar_scope": { "description": "Peru 2026 national_statutory", "type": "string" }, "calendar_selection": { "description": "Explicit national_statutory or public_sector layer.", "type": "string" }, "compensable_day_details": { "description": "Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.", "type": "array" }, "dataset_version": { "description": "pe-official-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Peru_2026_national_holidays_with_explicit_public_sector_layer", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published dates only; no automatic Monday substitution or employer compensation roster is inferred", "type": "string" }, "territory": { "description": "PE (Peru).", "type": "string" }, "territory_name": { "description": "Peru", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" }, "workweek": { "description": "User-selected 5 or 6 days per week.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Philippines working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred.\nWhat it computes: Adds or subtracts Philippines authority-scope working days in exact coverage.\nExample user requests: Add or subtract Philippines working days around EDSA remains a special working day. | Add or subtract Philippines working days around Eid'l Adha is a declared holiday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/philippines-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/philippines-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ph_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "philippines-public-holidays", "type": "string" }, "calendar_scope": { "description": "Philippines nationwide presidential-proclamation calendar", "type": "string" }, "dataset_version": { "description": "ph-op-proclamations-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.", "type": "string" }, "territory": { "description": "PH (Philippines).", "type": "string" }, "territory_name": { "description": "Philippines", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Pakistan working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized.\nWhat it computes: Adds or subtracts Pakistan authority-scope working days in exact coverage.\nExample user requests: Add or subtract Pakistan working days around Pakistan Day. | Add or subtract Pakistan working days around Ordinary federal working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/pakistan-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/pakistan-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_pk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "pakistan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline", "type": "string" }, "dataset_version": { "description": "pk-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate", "type": "string" }, "territory": { "description": "PK (Pakistan).", "type": "string" }, "territory_name": { "description": "Pakistan", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Poland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred.\nWhat it computes: Adds or subtracts Poland authority-scope working days in exact coverage.\nExample user requests: Add or subtract Poland working days around Christmas Eve. | Add or subtract Poland working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/poland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/poland-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_pl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "poland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Poland nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pl-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.", "type": "string" }, "territory": { "description": "PL (Poland).", "type": "string" }, "territory_name": { "description": "Poland", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Portugal working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred.\nWhat it computes: Adds or subtracts Portugal authority-scope working days in exact coverage.\nExample user requests: Add or subtract Portugal working days around Portugal Day. | Add or subtract Portugal working days around Ordinary weekday.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/portugal-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/portugal-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_pt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "portugal-public-holidays", "type": "string" }, "calendar_scope": { "description": "Portugal nationwide mandatory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pt-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.", "type": "string" }, "territory": { "description": "PT (Portugal).", "type": "string" }, "territory_name": { "description": "Portugal", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Romania working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported.\nWhat it computes: Adds or subtracts Romania authority-scope working days in exact coverage. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference.\nExample user requests: Add or subtract Romania working days around January 24 remains a statutory holiday even on Saturday. | Add or subtract Romania working days around Selected-calendar Good Friday.\nInputs: start_date (date); working_days (integer); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"calendar_basis\":\"romanian_orthodox\",\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-01-01\",\"working_days\":0,\"calendar_basis\":\"roman_catholic\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope.\nFormula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/romania-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "romanian_orthodox", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 }, { "calendar_basis": "roman_catholic", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "calendar_basis": { "description": "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars.", "enum": [ "romanian_orthodox", "roman_catholic" ], "examples": [ "romanian_orthodox" ], "type": "string" }, "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "add_ro_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected calendar basis; never inferred or combined.", "type": "string" }, "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "romania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ro-statutory-holidays-2026.1", "type": "string" }, "day_type": { "description": "statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_article_139_calendar_specific_not_union", "type": "string" }, "is_statutory_holiday": { "description": "Whether result.date is a holiday in the selected statutory layer.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No automatic substitute Monday, extra coincident-date day or employer bridge inferred", "type": "string" }, "territory": { "description": "RO (Romania).", "type": "string" }, "territory_name": { "description": "Romania", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Russia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package.\nWhat it computes: Adds or subtracts Russia authority-scope working days in exact coverage.\nExample user requests: Add or subtract Russia working days around Russia New Year's holiday. | Add or subtract Russia working days around Published transfer day. | Add or subtract Russia working days around Ordinary Russia working day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/russia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/russia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_ru_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "russia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Russia federal statutory public holidays and Government-published 2026 transfer days", "type": "string" }, "dataset_version": { "description": "ru-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference", "type": "string" }, "territory": { "description": "RU (Russia).", "type": "string" }, "territory_name": { "description": "Russia", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Saudi Arabia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred.\nWhat it computes: Adds or subtracts Saudi Arabia authority-scope working days in exact coverage.\nExample user requests: Add or subtract Saudi Arabia working days around SAMA Eid Al-Fitr interval. | Add or subtract Saudi Arabia working days around Friday/Saturday weekly baseline. | Add or subtract Saudi Arabia working days around National Day Saturday substitution.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/saudi-financial-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/saudi-financial-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2029.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_sa_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "saudi-sama-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Saudi Central Bank financial institutions", "type": "string" }, "dataset_version": { "description": "sa-sama-financial-holidays-2026-2029.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.", "type": "string" }, "territory": { "description": "SA (Saudi Arabia).", "type": "string" }, "territory_name": { "description": "Saudi Arabia", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Sweden working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline.\nWhat it computes: Adds or subtracts Sweden authority-scope working days in exact coverage.\nExample user requests: Add or subtract Sweden working days around National Day. | Add or subtract Sweden working days around Midsummer Eve is not statutory.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sweden-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sweden-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_se_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "sweden-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sweden nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "se-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "SE (Sweden).", "type": "string" }, "territory_name": { "description": "Sweden", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Slovenia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed.\nWhat it computes: Adds or subtracts Slovenia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; seven named state holidays do not add rest.\nExample user requests: Add or subtract Slovenia working days around Easter Monday is statutory rest. | Add or subtract Slovenia working days around Whit Monday is not Whit Sunday. | Add or subtract Slovenia working days around Science Day is a state holiday without rest.\nInputs: start_date (date); working_days (integer); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0,\"work_schedule\":\"mon_fri_planning\"}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_work_free_event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovenia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "work_schedule": "mon_fri_planning", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days", "work_schedule" ], "type": "object" }, "name": "add_si_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "slovenia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "si-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays", "type": "string" }, "is_non_rest_state_holiday": { "description": "Whether result.date is one of the seven state holidays that do not add rest.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is an article 1 state holiday, whether or not work-free.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred", "type": "string" }, "territory": { "description": "SI (Slovenia).", "type": "string" }, "territory_name": { "description": "Slovenia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Singapore date offset in 2026-2027 and accept the stated employer-rest-day limitation. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer-specific roster, bank/exchange calendar or a date outside 2026-2027.\nWhat it computes: Adds or subtracts dates using Singapore's pinned national public-holiday dates and the CLDR Saturday/Sunday baseline.\nExample user requests: Add five Singapore working days after 2027-02-05.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-02-05\",\"working_days\":5}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when Singapore status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/singapore-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-02-05", "working_days": 5 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-02-05" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_singapore_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "singapore-mom-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Singapore national public holidays plus the CLDR Saturday/Sunday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned MOM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or MOM public holiday.", "type": "string" }, "holiday_names": { "description": "MOM holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the source explicitly publishes an observed date.", "type": "boolean" }, "public_holidays_skipped": { "description": "MOM holidays crossed.", "type": "array" }, "rest_day_policy": { "description": "Employer-specific weekly rest-day placement is not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "source_quality": { "description": "Official Singapore government sources, with employer-rest-day limitation.", "type": "string" }, "sources": { "description": "Official MOM, government open-data and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "SG.", "type": "string" }, "territory_name": { "description": "Singapore.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used only as the baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Slovakia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot.\nWhat it computes: Adds or subtracts Slovakia authority-scope working days in exact coverage. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026.\nExample user requests: Add or subtract Slovakia working days around May 8 is a named holiday but a working date. | Add or subtract Slovakia working days around Good Friday. | Add or subtract Slovakia working days around November 17 is not statutory rest.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, holiday_rest_status, payroll_scope.\nFormula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovakia-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_sk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "slovakia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovakia 2026 national statutory rest-day calendar", "type": "string" }, "dataset_version": { "description": "sk-statutory-rest-days-2026.1", "type": "string" }, "day_type": { "description": "weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_241_1993_sections_1_2_4b_2026", "type": "string" }, "holiday_rest_status": { "description": "Rest classification on result.date; a named holiday alone never implies non-working status.", "type": "string" }, "payroll_scope": { "description": "Always not_computed; calendar semantics do not decide wage premiums or leave.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "No next-Monday substitution or employer day off is inferred", "type": "string" }, "territory": { "description": "SK (Slovakia).", "type": "string" }, "territory_name": { "description": "Slovakia", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic South Africa national public-holiday offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer-specific exchanged holiday or non-national schedule.\nWhat it computes: Adds or subtracts South Africa national working days in exact 2026-2027 coverage.\nExample user requests: Add one South Africa working day after 2026-11-03.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-11-03\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on South Africa status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-africa-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-11-03", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-11-03" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_south_africa_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "south-africa-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned South African Government package.", "type": "string" }, "employer_schedule_policy": { "description": "Employer-specific exchanges and rest days are not inferred.", "type": "string" }, "holiday_names": { "description": "National public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "public_holidays_skipped": { "description": "Exact national holidays crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official South African Government, legislation and Presidency sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "ZA (South Africa).", "type": "string" }, "territory_name": { "description": "South Africa.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Thailand working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized.\nWhat it computes: Adds or subtracts Thailand authority-scope working days in exact coverage.\nExample user requests: Add or subtract Thailand working days around 2027 substitution. | Add or subtract Thailand working days around Bangkok-only event remains conditional.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/thailand-financial-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/thailand-financial-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_th_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "thailand-bot-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Thailand financial institutions and specialized financial institutions", "type": "string" }, "dataset_version": { "description": "th-bot-financial-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "BOT_published_financial_institution_and_specialized_financial_institution_holidays", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "BOT_substitution_events_are_pinned; no new substitution is inferred", "type": "string" }, "territory": { "description": "TH (Thailand).", "type": "string" }, "territory_name": { "description": "Thailand", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "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.\n\nDo not use this when you need an employer or sector calendar, or the date falls outside the pinned coverage.\nWhat it computes: Adds or subtracts dates using Türkiye's pinned statutory public-holiday package; published half-days are skipped conservatively.\nExample user requests: Add one Türkiye statutory working day after 2027-03-05.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-03-05\",\"working_days\":1}\nOutputs: 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.\nFormula: move one day at a time; decrement only when status.is_working_day=true\nDirect 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.\nDocs: https://tttkmbb.com/everyday/turkey-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-03-05", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-03-05" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_turkey_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "tr-statutory-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Türkiye statutory national public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Turkish official evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend, general holiday or half-day general holiday.", "type": "string" }, "half_day_policy": { "description": "Official 13:00 half-day semantics.", "type": "string" }, "half_day_start_time": { "description": "13:00 when an official half-day applies; empty string otherwise.", "type": "string" }, "holiday_kinds": { "description": "full_day or half_day.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Turkish statutory holiday events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holidays_skipped": { "description": "Full-day and half-day statutory events crossed.", "type": "array" }, "non_working_fraction": { "description": "1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.", "type": "number" }, "rest_day_policy": { "description": "Private and sector-specific closures are not inferred.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official Diyanet and statutory sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "TR.", "type": "string" }, "territory_name": { "description": "Türkiye.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic 中国台湾省 working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred.\nWhat it computes: Adds or subtracts 中国台湾省 authority-scope working days in exact coverage.\nExample user requests: Add or subtract 中国台湾省 working days around Spring Festival substitute holiday. | Add or subtract 中国台湾省 working days around Government calendar does not mean private-employer closure.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/taiwan-government-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/taiwan-government-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_tw_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "taiwan-government-work-calendar", "type": "string" }, "calendar_scope": { "description": "中国台湾省政府行政機關工作日曆 2026-2027", "type": "string" }, "dataset_version": { "description": "tw-dgpa-government-calendar-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.", "type": "string" }, "territory": { "description": "TW (中国台湾省).", "type": "string" }, "territory_name": { "description": "中国台湾省", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic UAE federal-government offset inside 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a private employer, local-government or future-year calendar.\nWhat it computes: Adds or subtracts dates using the exact 2026 UAE federal-government holiday package and Monday-Friday baseline.\nExample user requests: Add five UAE federal-government working days after 2026-08-27.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-08-27\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, jurisdiction, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when UAE federal status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uae-federal-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-08-27", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026.", "examples": [ "2026-08-27" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_uae_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "uae-fahr-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "UAE federal-government workweek and national public holidays.", "type": "string" }, "dataset_version": { "description": "Pinned FAHR/UAE Government package.", "type": "string" }, "day_type": { "description": "Regular workday, official weekend or public holiday.", "type": "string" }, "holiday_legal_bases": { "description": "Government announcement or Cabinet Resolution basis.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Exact-date public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "jurisdiction": { "description": "UAE federal government.", "type": "string" }, "private_sector_policy": { "description": "Employer weekly rest-day limitation.", "type": "string" }, "public_holidays_skipped": { "description": "Exact published holidays crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Official UAE Government, legislation and FAHR sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "AE.", "type": "string" }, "territory_name": { "description": "United Arab Emirates.", "type": "string" }, "unresolved_lunar_rules": { "description": "Rules still awaiting an official Gregorian date, if any.", "type": "array" }, "weekend_days": { "description": "Saturday and Sunday for the federal-government baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deadline a stated number of UK working days before or after a 2024-2028 date and the correct division's bank holidays matter. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need calendar days, a local/employer/market calendar, a non-UK jurisdiction or a result outside 2024-2028.\nWhat it computes: Adds or subtracts working days for England and Wales, Scotland or Northern Ireland, skipping weekends and the selected division's official bank holidays.\nExample user requests: What date is five England and Wales working days after 23 December 2026? | Add two Scottish working days to 12 June 2026, accounting for the official bank holiday. | Subtract ten Northern Ireland business days from 20 July 2027.\nInputs: start_date (date); working_days (integer, working days); division (enum, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-12-23\",\"working_days\":5,\"division\":\"england-and-wales\"} | {\"start_date\":\"2026-06-12\",\"working_days\":2,\"division\":\"scotland\"}\nOutputs: division, division_name, start_date, result_date, result_weekday, result_is_working_day, working_days_added [working days], calendar_days_elapsed [days], non_working_days_skipped [days], bank_holidays_skipped, dataset_version, coverage_start, coverage_end, source_snapshot_sha256.\nFormula: move one calendar day at a time in sign(working_days); decrement only when the selected UK division reports is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uk-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "england-and-wales", "start_date": "2026-12-23", "working_days": 5 }, { "division": "scotland", "start_date": "2026-06-12", "working_days": 2 } ], "properties": { "division": { "default": "england-and-wales", "description": "GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.", "enum": [ "england-and-wales", "scotland", "northern-ireland" ], "examples": [ "england-and-wales" ], "type": "string" }, "start_date": { "description": "Starting UK civil date in YYYY-MM-DD format, within 2024-2028.", "examples": [ "2026-12-23" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed working-day offset. The start date is excluded when non-zero; negative values move backward. Unit: working days.", "examples": [ 5 ], "maximum": 1200, "minimum": -1200, "type": "integer", "x-unit": "working days" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_uk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bank_holidays_skipped": { "description": "Official bank-holiday dates crossed, with titles and notes.", "type": "array" }, "calendar_days_elapsed": { "description": "Signed Gregorian difference result_date minus start_date. Unit: days.", "type": "integer", "x-unit": "days" }, "coverage_end": { "description": "Last supported date in this pinned package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this pinned package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.", "type": "string" }, "division": { "description": "Canonical GOV.UK division id.", "type": "string" }, "division_name": { "description": "Human-readable UK division.", "type": "string" }, "non_working_days_skipped": { "description": "Weekend and bank-holiday dates crossed but not counted. Unit: days.", "type": "integer", "x-unit": "days" }, "result_date": { "description": "Date reached after adding the working-day offset.", "format": "date", "type": "string" }, "result_is_working_day": { "description": "Whether result_date is a working day.", "type": "boolean" }, "result_weekday": { "description": "Weekday of result_date.", "type": "string" }, "source_snapshot_sha256": { "description": "SHA-256 of the complete official GOV.UK JSON response used for this package.", "type": "string" }, "start_date": { "description": "Input start date.", "format": "date", "type": "string" }, "working_days_added": { "description": "Signed requested offset. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic US federal employee/office date offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need state/local/private-employer, exchange or alternate-work-schedule semantics.\nWhat it computes: Adds or subtracts dates using the pinned OPM federal schedule and US weekend baseline.\nExample user requests: Add five US federal working days after 2027-06-17.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2027-06-17\",\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, federal_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: move one day at a time; decrement remaining only when US federal status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/us-federal-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2027-06-17", "working_days": 1 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2027.", "examples": [ "2027-06-17" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date is excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_us_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "us-opm-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "Federal employees and federal offices only.", "type": "string" }, "dataset_version": { "description": "Pinned OPM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or OPM federal holiday.", "type": "string" }, "federal_holidays_skipped": { "description": "OPM federal holidays crossed.", "type": "array" }, "holiday_actual_dates": { "description": "Underlying statutory holiday dates for observed events.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "OPM federal holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.", "type": "boolean" }, "rest_day_policy": { "description": "OPM alternative work schedules need separate in-lieu resolution.", "type": "string" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "source_quality": { "description": "Official OPM schedule and federal-law references.", "type": "string" }, "sources": { "description": "Official OPM, federal guidance and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "territory": { "description": "US.", "type": "string" }, "territory_name": { "description": "United States.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic workday offset and know the workweek variant. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the workweek or employer/shift scope is unknown.\nWhat it computes: Adds or subtracts Uzbekistan 2026 workdays under a required five-day or six-day schedule.\nExample user requests: Add five five-day-workweek working days after 2026-12-28.\nInputs: start_date (date); workweek (integer); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-12-28\",\"workweek\":5,\"working_days\":1}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only when selected status is working\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uzbekistan-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-12-28", "working_days": 1, "workweek": 5 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026.", "examples": [ "2026-12-15" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 5 ], "maximum": 1000, "minimum": -1000, "type": "integer" }, "workweek": { "description": "Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "start_date", "workweek", "working_days" ], "type": "object" }, "name": "add_uzbekistan_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "uzbekistan-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Nationwide 2026 statutory and PF-257 schedule scope.", "type": "string" }, "dataset_version": { "description": "Pinned package version.", "type": "string" }, "day_type": { "description": "Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.", "type": "string" }, "holiday_details": { "description": "Events with legal basis.", "type": "array" }, "holiday_kinds": { "description": "Structured event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Official events applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Whether the date is working under the selected official workweek variant.", "type": "boolean" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and cross-check sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "Published transfers only; no employer/shift inference.", "type": "string" }, "territory": { "description": "UZ.", "type": "string" }, "territory_name": { "description": "Uzbekistan.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Selected weekly-rest baseline.", "items": { "type": "string" }, "type": "array" }, "weekly_rest_model": { "description": "Weekly rest baseline applied.", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" }, "workweek": { "description": "Selected five-day or six-day workweek.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Vietnam working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved.\nWhat it computes: Adds or subtracts Vietnam authority-scope working days in exact coverage.\nExample user requests: Add or subtract Vietnam working days around New Year transfer. | Add or subtract Vietnam working days around Vietnam Cultural Day.\nInputs: start_date (date); working_days (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"working_days\":0}\nOutputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: move one day at a time; decrement only on status.is_working_day=true\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/vietnam-public-add-working-days with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/vietnam-public-add-working-days.md", "inputSchema": { "additionalProperties": false, "examples": [ { "start_date": "2026-01-01", "working_days": 0 } ], "properties": { "start_date": { "description": "Gregorian start date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "working_days": { "description": "Signed offset; start date excluded for non-zero offsets.", "examples": [ 1 ], "maximum": 1000, "minimum": -1000, "type": "integer" } }, "required": [ "start_date", "working_days" ], "type": "object" }, "name": "add_vn_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_elapsed": { "description": "Signed Gregorian difference.", "type": "integer" }, "calendar_profile": { "description": "vietnam-public-holidays", "type": "string" }, "calendar_scope": { "description": "Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays", "type": "string" }, "dataset_version": { "description": "vn-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays", "type": "string" }, "public_holidays_skipped": { "description": "Exact events crossed.", "type": "array" }, "result_date": { "description": "Date reached.", "format": "date", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "start_date": { "description": "Input date.", "format": "date", "type": "string" }, "substitute_day_policy": { "description": "published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred", "type": "string" }, "territory": { "description": "VN (Vietnam).", "type": "string" }, "territory_name": { "description": "Vietnam", "type": "string" }, "working_days_added": { "description": "Signed requested offset.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have visitors and conversions for a control and a variant (A/B test, split test, email test) and need to know whether the difference is statistically significant. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the metric is a mean (revenue per user, time on page) rather than a conversion proportion, or there are more than two variants (use a chi-square or multiple-comparison procedure).\nWhat it computes: Tests whether a variant's conversion rate differs from the control's using the pooled two-proportion z-test, and reports both rates, absolute and relative lift, z-score, two-sided p-value, a confidence interval for the difference and the sample size needed per variant to detect the observed lift with 80 % power.\nInputs: control_visitors (integer); control_conversions (integer); variant_visitors (integer); variant_conversions (integer); confidence_level_percent (number, %, optional).\nComplete JSON argument examples: {\"control_visitors\":1000,\"control_conversions\":50,\"variant_visitors\":1000,\"variant_conversions\":70} | {\"control_visitors\":5000,\"control_conversions\":200,\"variant_visitors\":5000,\"variant_conversions\":260}\nOutputs: control_rate_percent [%], variant_rate_percent [%], absolute_lift_percentage_points [pp], relative_lift_percent [%], standard_error_percentage_points [pp], z_score, p_value, significant, ci_lower_percentage_points [pp], ci_upper_percentage_points [pp], required_visitors_per_variant, verdict.\nFormula: p1 = x1/n1, p2 = x2/n2, p̄ = (x1 + x2)/(n1 + n2); z = (p2 − p1) / √(p̄(1 − p̄)(1/n1 + 1/n2)); p_value = 2·(1 − Φ(|z|)); CI = (p2 − p1) ± z_crit·√(p1(1 − p1)/n1 + p2(1 − p2)/n2); n per variant = (z_crit·√(2·p̄(1 − p̄)) + z_0.80·√(p1(1 − p1) + p2(1 − p2)))² / (p2 − p1)²\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ab-test-significance with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/business/ab-test-significance.md", "inputSchema": { "additionalProperties": false, "examples": [ { "control_conversions": 50, "control_visitors": 1000, "variant_conversions": 70, "variant_visitors": 1000 }, { "control_conversions": 200, "control_visitors": 5000, "variant_conversions": 260, "variant_visitors": 5000 } ], "properties": { "confidence_level_percent": { "default": 95, "description": "Confidence level for the significance decision and interval (95 → α = 0.05, two-sided). Unit: %.", "examples": [ 95 ], "exclusiveMaximum": 100, "exclusiveMinimum": 0, "type": "number", "x-unit": "%" }, "control_conversions": { "description": "Conversions in the control group.", "examples": [ 50 ], "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "control_visitors": { "description": "Number of users exposed to the control (A).", "examples": [ 1000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "integer" }, "variant_conversions": { "description": "Conversions in the variant group.", "examples": [ 70 ], "maximum": 1000000000000, "minimum": 0, "type": "integer" }, "variant_visitors": { "description": "Number of users exposed to the variant (B).", "examples": [ 1000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "integer" } }, "required": [ "control_visitors", "control_conversions", "variant_visitors", "variant_conversions" ], "type": "object" }, "name": "calculate_ab_test_significance", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "absolute_lift_percentage_points": { "description": "variant rate − control rate, in percentage points. Unit: pp.", "type": "number", "x-unit": "pp" }, "ci_lower_percentage_points": { "description": "Lower bound of the confidence interval for variant − control (unpooled Wald interval). Unit: pp.", "type": "number", "x-unit": "pp" }, "ci_upper_percentage_points": { "description": "Upper bound of the same interval. Unit: pp.", "type": "number", "x-unit": "pp" }, "control_rate_percent": { "description": "control_conversions / control_visitors × 100. Unit: %.", "type": "number", "x-unit": "%" }, "p_value": { "description": "Probability of a difference at least this large if both rates were equal.", "type": "number" }, "relative_lift_percent": { "description": "(variant rate − control rate) / control rate × 100. Unit: %.", "type": "number", "x-unit": "%" }, "required_visitors_per_variant": { "description": "Visitors per group needed to detect the observed difference with 80 % power at this confidence level (rounded up).", "type": "integer" }, "significant": { "description": "true when p_value < 1 − confidence_level/100.", "type": "boolean" }, "standard_error_percentage_points": { "description": "√(p̄(1 − p̄)(1/n1 + 1/n2)) × 100 under the null hypothesis. Unit: pp.", "type": "number", "x-unit": "pp" }, "variant_rate_percent": { "description": "variant_conversions / variant_visitors × 100. Unit: %.", "type": "number", "x-unit": "%" }, "verdict": { "description": "Plain-language conclusion.", "type": "string" }, "z_score": { "description": "(p2 − p1) / pooled standard error; positive when the variant is higher.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need someone's exact age on a date, the total number of days lived, the weekday they were born on, or how many days remain until their next birthday. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need the difference between two arbitrary dates with a business-day count (use date-difference) or a countdown to an event (use days-until).\nWhat it computes: Computes the exact age on a given date as years, months and days by Gregorian calendar arithmetic, plus total days and weeks, the weekday of birth, and the date of and days until the next birthday.\nInputs: birth_date (date); as_of_date (date, optional).\nComplete JSON argument examples: {\"birth_date\":\"1990-05-17\",\"as_of_date\":\"2026-09-23\"} | {\"birth_date\":\"1985-12-25\",\"as_of_date\":\"2026-01-10\"}\nOutputs: years, months, days, age_text, total_days [days], total_weeks [weeks], age_decimal_years [years], next_birthday_date, days_until_next_birthday [days], day_of_week_born.\nFormula: years, months, days = calendar difference birth_date → as_of_date (when the day-of-month is smaller, days are borrowed from the month before as_of_date); total_days = as_of_date − birth_date; total_weeks = total_days / 7; age_decimal_years = total_days / 365.2425; next_birthday = first (month, day) of birth on or after as_of_date\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/age with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/age.md", "inputSchema": { "additionalProperties": false, "examples": [ { "as_of_date": "2026-09-23", "birth_date": "1990-05-17" }, { "as_of_date": "2026-01-10", "birth_date": "1985-12-25" } ], "properties": { "as_of_date": { "default": "today", "description": "Date on which to evaluate the age; defaults to the current UTC date.", "examples": [ "2026-09-23" ], "format": "date", "type": "string" }, "birth_date": { "description": "Date of birth (ISO 8601, YYYY-MM-DD).", "examples": [ "1990-05-17" ], "format": "date", "type": "string" } }, "required": [ "birth_date" ], "type": "object" }, "name": "calculate_age", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "age_decimal_years": { "description": "total_days / 365.2425 (mean Gregorian year). Unit: years.", "type": "number", "x-unit": "years" }, "age_text": { "description": "Age written as years, months and days (zero parts omitted).", "type": "string" }, "day_of_week_born": { "description": "Day of the week of birth_date.", "type": "string" }, "days": { "description": "Days beyond the completed months.", "type": "integer" }, "days_until_next_birthday": { "description": "0 on the birthday itself. Unit: days.", "type": "integer", "x-unit": "days" }, "months": { "description": "Completed months beyond the years (0–11).", "type": "integer" }, "next_birthday_date": { "description": "First birthday anniversary on or after as_of_date (a 29 February birthday falls on 1 March in non-leap years).", "format": "date", "type": "string" }, "total_days": { "description": "Days from birth_date to as_of_date. Unit: days.", "type": "integer", "x-unit": "days" }, "total_weeks": { "description": "total_days / 7. Unit: weeks.", "type": "number", "x-unit": "weeks" }, "years": { "description": "Completed years.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to see how each payment splits into principal and interest over the life of a mortgage or loan, the balance at the end of each year, or the effect of paying extra every month. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only need the payment amount (use loan-payment or mortgage-payment), or you know the payment and want the payoff time of a revolving balance (use debt-payoff).\nWhat it computes: Builds the amortization schedule of a fixed-rate loan: the level monthly payment, a year-by-year summary of principal, interest and balance, the first 12 monthly rows, and the interest and time saved by a fixed extra monthly payment.\nInputs: principal (number); annual_rate_percent (number, %); term_years (number, years, optional); term_months (integer, months, optional); extra_monthly_payment (number, optional); start_date (date, optional).\nValid input combinations: Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together; the total may not exceed 480 months.\nComplete JSON argument examples: {\"principal\":200000,\"annual_rate_percent\":6,\"term_years\":30} | {\"principal\":300000,\"annual_rate_percent\":5,\"term_years\":15,\"extra_monthly_payment\":300,\"start_date\":\"2026-01-01\"}\nOutputs: monthly_payment, number_of_payments, payoff_months [months], payoff_time, payoff_date, total_interest, total_paid, scheduled_total_interest, interest_saved, months_saved [months], first_month_interest, first_month_principal, yearly_summary, first_12_months.\nFormula: i = annual_rate_percent / 1200; n = 12·term_years + term_months; monthly_payment = principal × i / (1 − (1 + i)^−n) (principal / n if i = 0). Each month: interest = balance × i; principal_paid = monthly_payment + extra_monthly_payment − interest (capped at the balance); balance −= principal_paid, until the balance is 0.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/amortization-schedule with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/amortization-schedule.md", "inputSchema": { "additionalProperties": false, "anyOf": [ { "properties": { "term_years": { "exclusiveMinimum": 0 } }, "required": [ "term_years" ] }, { "properties": { "term_months": { "minimum": 1 } }, "required": [ "term_months" ] } ], "description": "Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together; the total may not exceed 480 months.", "examples": [ { "annual_rate_percent": 6, "principal": 200000, "term_years": 30 }, { "annual_rate_percent": 5, "extra_monthly_payment": 300, "principal": 300000, "start_date": "2026-01-01", "term_years": 15 } ], "properties": { "annual_rate_percent": { "description": "Fixed nominal annual rate in percent; the monthly rate is this / 12. Unit: %.", "examples": [ 6 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "extra_monthly_payment": { "default": 0, "description": "Optional fixed amount paid on top of the scheduled payment every month, applied to principal.", "examples": [ 0 ], "maximum": 1000000000000, "minimum": 0, "type": "number" }, "principal": { "description": "Amount borrowed.", "examples": [ 200000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "number" }, "start_date": { "description": "Optional loan origination date (YYYY-MM-DD); the first payment is due one month later and payoff_date is reported.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "term_months": { "default": 0, "description": "Additional months of term (e.g. term_months=60 alone for a five-year loan). Unit: months.", "examples": [ 0 ], "maximum": 480, "minimum": 0, "type": "integer", "x-unit": "months" }, "term_years": { "description": "Loan term in years; added to term_months when both are given. Total term is limited to 40 years. Unit: years.", "examples": [ 30 ], "maximum": 40, "minimum": 0, "type": "number", "x-unit": "years" } }, "required": [ "principal", "annual_rate_percent" ], "type": "object" }, "name": "calculate_amortization_schedule", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "first_12_months": { "description": "Rows for months 1–12: month, payment, principal, interest, balance.", "type": "array" }, "first_month_interest": { "description": "principal × annual_rate_percent / 1200.", "type": "number" }, "first_month_principal": { "description": "monthly_payment + extra_monthly_payment − first_month_interest.", "type": "number" }, "interest_saved": { "description": "scheduled_total_interest − total_interest.", "type": "number" }, "monthly_payment": { "description": "Level payment from the annuity formula (before any extra payment).", "type": "number" }, "months_saved": { "description": "number_of_payments − payoff_months. Unit: months.", "type": "integer", "x-unit": "months" }, "number_of_payments": { "description": "12 × term_years + term_months.", "type": "integer" }, "payoff_date": { "description": "start_date plus payoff_months (only when start_date is given).", "format": "date", "type": "string" }, "payoff_months": { "description": "Actual number of payments including the extra payment (equals number_of_payments without one). Unit: months.", "type": "integer", "x-unit": "months" }, "payoff_time": { "description": "payoff_months in years and months.", "type": "string" }, "scheduled_total_interest": { "description": "monthly_payment × number_of_payments − principal.", "type": "number" }, "total_interest": { "description": "Interest paid over the actual schedule (with extra payments).", "type": "number" }, "total_paid": { "description": "principal + total_interest.", "type": "number" }, "yearly_summary": { "description": "One row per loan year: year, principal_paid, interest_paid, ending_balance (at most 40 rows).", "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the four stem-branch pillars (年柱 月柱 日柱 时柱) of a birth moment, the day master and its ten-god relations, element balance, or the start age and sequence of the 大运 luck pillars. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only need the lunar date or zodiac of a date (use lunar-calendar-converter or chinese-zodiac), the stem-branch of a single date without an hour (use sexagenary-cycle), or an interpretation of the chart — this tool computes the traditional chart only and gives no predictions.\nWhat it computes: Builds the Bazi (八字, Bāzì) / Four Pillars (四柱) chart of a birth date and time: year pillar by 立春 (Lìchūn), month pillar by the 节 (jié) solar terms, day pillar from the sexagenary day count, hour pillar by the 五鼠遁 (Wǔshǔdùn) rule, plus day master, five-element counts, ten gods (十神), hidden stems (藏干), 纳音 (nàyīn), void branches (空亡) and the ten-year luck pillars (大运).\nInputs: birth_date (date); birth_time (string); sex (enum); utc_offset_hours (number, h, optional); longitude_degrees (number, °, optional); late_zi_next_day (boolean, optional); include_hidden_stems (boolean, optional).\nComplete JSON argument examples: {\"birth_date\":\"1990-05-17\",\"birth_time\":\"08:30\",\"sex\":\"male\",\"utc_offset_hours\":8} | {\"birth_date\":\"2000-01-01\",\"birth_time\":\"00:30\",\"sex\":\"female\",\"utc_offset_hours\":8}\nOutputs: bazi_chart, year_pillar, month_pillar, day_pillar, hour_pillar, pillars_pinyin, pillars_english, day_master, zodiac, five_element_counts, missing_elements, dominant_element, ten_gods, hidden_stems, nayin, void_branches, luck_direction, luck_start_age, luck_start_age_years [years], luck_pillars, lunar_birth_date, solar_term_context, time_used, notes.\nFormula: year = solarYearAtLichun(birth instant); month stem = ((year stem mod 5) × 2 + 2 + months since 寅) mod 10; day index = (JDN + 49) mod 60; hour stem = ((day stem mod 5) × 2 + hour branch) mod 10; hour branch = floor(((hour + 1) mod 24) / 2); true solar time = clock + (longitude − 15 × utc_offset) × 4 min + equation of time; 起运 years = days to 节 / 3\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bazi-four-pillars with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/lunar/bazi-four-pillars.md", "inputSchema": { "additionalProperties": false, "examples": [ { "birth_date": "1990-05-17", "birth_time": "08:30", "sex": "male", "utc_offset_hours": 8 }, { "birth_date": "2000-01-01", "birth_time": "00:30", "sex": "female", "utc_offset_hours": 8 } ], "properties": { "birth_date": { "description": "Gregorian civil date of birth in the local clock time of the birthplace (1900–2100).", "examples": [ "1990-05-17" ], "format": "date", "type": "string" }, "birth_time": { "description": "Local clock time of birth, 24-hour HH:MM. 23:00–00:59 is 子时 (Zǐ hour).", "examples": [ "08:30" ], "type": "string" }, "include_hidden_stems": { "default": true, "description": "Add the hidden stems (藏干) of the four branches to the element count with weights 1.0 (main), 0.5 (middle) and 0.3 (residual).", "examples": [ true ], "type": "boolean" }, "late_zi_next_day": { "default": true, "description": "true: 23:00–23:59 belongs to the next day's 子时 and the day pillar advances at 23:00. false: 晚子时 convention — the day pillar stays, only the hour stem is taken from the next day.", "examples": [ true ], "type": "boolean" }, "longitude_degrees": { "description": "Optional east-positive longitude. When given, the clock time is converted to true solar time: correction = (longitude − 15 × utc_offset_hours) × 4 min + equation of time. Unit: °.", "examples": [ 116.4 ], "maximum": 180, "minimum": -180, "type": "number", "x-unit": "°" }, "sex": { "description": "Sex, used only for the direction of the luck pillars (阳年男/阴年女 forward, 阴年男/阳年女 backward).", "enum": [ "male", "female" ], "examples": [ "male" ], "type": "string" }, "utc_offset_hours": { "default": 8, "description": "Time-zone offset of birth_time in hours (China Standard Time = 8; use the historical zone in force at birth). Unit: h.", "examples": [ 8 ], "maximum": 14, "minimum": -12, "type": "number", "x-unit": "h" } }, "required": [ "birth_date", "birth_time", "sex" ], "type": "object" }, "name": "calculate_bazi_four_pillars", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bazi_chart": { "description": "The eight characters in the order year, month, day, hour.", "type": "string" }, "day_master": { "description": "The day stem, its pinyin, polarity and element; all ten-god relations are taken from it.", "type": "string" }, "day_pillar": { "description": "Stem-branch of the birth day (continuous 60-day count; 2000-01-01 = 戊午).", "type": "string" }, "dominant_element": { "description": "Element with the highest raw count (ties listed together).", "type": "string" }, "five_element_counts": { "description": "Raw counts of Wood/Fire/Earth/Metal/Water over the 8 characters; with include_hidden_stems also weighted counts that add hidden stems at 1.0/0.5/0.3.", "type": "object" }, "hidden_stems": { "description": "Hidden stems of each pillar's branch in main/middle/residual order.", "type": "object" }, "hour_pillar": { "description": "Stem-branch of the double-hour; stem by 五鼠遁 from the day stem.", "type": "string" }, "luck_direction": { "description": "Forward (顺行) for yang-year males and yin-year females, backward (逆行) otherwise.", "type": "string" }, "luck_pillars": { "description": "Eight ten-year luck pillars with start age (completed years) and calendar year; forward = following month pillars, backward = preceding ones.", "type": "array" }, "luck_start_age": { "description": "Age at which the first luck pillar begins: days from birth to the next (forward) or previous (backward) 节 converted at 3 days = 1 year, 1 day = 4 months.", "type": "string" }, "luck_start_age_years": { "description": "The same start age as a decimal number of years (days to the 节 ÷ 3). Unit: years.", "type": "number", "x-unit": "years" }, "lunar_birth_date": { "description": "Chinese lunar calendar date of the birth day.", "type": "string" }, "missing_elements": { "description": "Elements absent from the 8 visible characters (empty list when all five are present).", "items": { "type": "string" }, "type": "array" }, "month_pillar": { "description": "Stem-branch of the solar month, which starts at each 节 (odd solar term); stem by 五虎遁 (Wǔhǔdùn).", "type": "string" }, "nayin": { "description": "Nayin melodic element of each pillar.", "type": "object" }, "notes": { "description": "Conventions applied to this chart.", "items": { "type": "string" }, "type": "array" }, "pillars_english": { "description": "Stem element + branch animal of each pillar, e.g. Fire Horse.", "type": "object" }, "pillars_pinyin": { "description": "Pinyin of the four pillars.", "type": "object" }, "solar_term_context": { "description": "The 节 governing the month pillar and the next 节, in China Standard Time.", "type": "string" }, "ten_gods": { "description": "Relation of each other stem, and of the main hidden stem of each branch, to the day master.", "type": "object" }, "time_used": { "description": "The birth time actually used for the pillars (true solar time when a longitude is given).", "type": "string" }, "void_branches": { "description": "The two branches not covered by the day pillar's 旬 (xún, ten-day decade).", "type": "string" }, "year_pillar": { "description": "Stem-branch of the year; the year changes at 立春 (Start of Spring), not at Chinese New Year.", "type": "string" }, "zodiac": { "description": "Animal of the year pillar branch (立春 boundary).", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an adult's BMI, its WHO/CDC weight category, or the weight range that corresponds to a normal BMI (18.5–24.9) for a given height. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the person is under 20 years old (children need age- and sex-specific BMI percentiles), or you need body-fat percentage (use body-fat) or calorie needs (use bmr / tdee).\nWhat it computes: Computes body mass index (BMI) from weight and height and classifies it with the WHO adult categories, plus the healthy weight range for that height.\nInputs: weight_kg (number, kg); height_cm (number, cm).\nComplete JSON argument examples: {\"weight_kg\":70,\"height_cm\":175} | {\"weight_kg\":95,\"height_cm\":180}\nOutputs: bmi [kg/m²], category, healthy_weight_min_kg [kg], healthy_weight_max_kg [kg], prime.\nFormula: BMI = weight_kg / (height_cm / 100)²\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bmi with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/health/bmi.md", "inputSchema": { "additionalProperties": false, "examples": [ { "height_cm": 175, "weight_kg": 70 }, { "height_cm": 180, "weight_kg": 95 } ], "properties": { "height_cm": { "description": "Standing height in centimetres. Unit: cm.", "examples": [ 175 ], "maximum": 300, "minimum": 50, "type": "number", "x-unit": "cm" }, "weight_kg": { "description": "Body weight in kilograms. Unit: kg.", "examples": [ 70 ], "exclusiveMinimum": 0, "maximum": 700, "type": "number", "x-unit": "kg" } }, "required": [ "weight_kg", "height_cm" ], "type": "object" }, "name": "calculate_bmi", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bmi": { "description": "Body mass index = weight / height². Unit: kg/m².", "type": "number", "x-unit": "kg/m²" }, "category": { "description": "WHO adult BMI classification.", "type": "string" }, "healthy_weight_max_kg": { "description": "Weight at BMI 24.9 for this height. Unit: kg.", "type": "number", "x-unit": "kg" }, "healthy_weight_min_kg": { "description": "Weight at BMI 18.5 for this height. Unit: kg.", "type": "number", "x-unit": "kg" }, "prime": { "description": "BMI divided by the upper normal limit 25; values above 1 indicate excess weight.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need resting daily calorie needs for an adult from sex, weight, height and age, as a base for diet or TDEE calculations. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need total daily calories including activity (use tdee), the person is a child, pregnant, or has very high muscle mass (use a body-fat based equation such as Katch-McArdle instead).\nWhat it computes: Estimates basal metabolic rate (calories burned at complete rest per day) with the Mifflin-St Jeor equation, and also reports the revised Harris-Benedict estimate.\nInputs: sex (enum); weight_kg (number, kg); height_cm (number, cm); age_years (number, years).\nComplete JSON argument examples: {\"sex\":\"male\",\"weight_kg\":70,\"height_cm\":175,\"age_years\":30} | {\"sex\":\"female\",\"weight_kg\":60,\"height_cm\":165,\"age_years\":40}\nOutputs: bmr_kcal_per_day [kcal/day], harris_benedict_kcal_per_day [kcal/day], bmr_kj_per_day [kJ/day].\nFormula: Mifflin-St Jeor: BMR = 10·weight_kg + 6.25·height_cm − 5·age_years + 5 (male) or − 161 (female). Harris-Benedict (1984): male 88.362 + 13.397·W + 4.799·H − 5.677·A; female 447.593 + 9.247·W + 3.098·H − 4.330·A.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bmr with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/health/bmr.md", "inputSchema": { "additionalProperties": false, "examples": [ { "age_years": 30, "height_cm": 175, "sex": "male", "weight_kg": 70 }, { "age_years": 40, "height_cm": 165, "sex": "female", "weight_kg": 60 } ], "properties": { "age_years": { "description": "Age in years (adults only). Unit: years.", "examples": [ 30 ], "maximum": 120, "minimum": 18, "type": "number", "x-unit": "years" }, "height_cm": { "description": "Height in centimetres. Unit: cm.", "examples": [ 175 ], "maximum": 300, "minimum": 50, "type": "number", "x-unit": "cm" }, "sex": { "description": "Biological sex used to select the formula coefficients.", "enum": [ "male", "female" ], "examples": [ "male" ], "type": "string" }, "weight_kg": { "description": "Body weight in kilograms. Unit: kg.", "examples": [ 70 ], "exclusiveMinimum": 0, "maximum": 700, "type": "number", "x-unit": "kg" } }, "required": [ "sex", "weight_kg", "height_cm", "age_years" ], "type": "object" }, "name": "calculate_bmr", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bmr_kcal_per_day": { "description": "Basal metabolic rate by the Mifflin-St Jeor equation (recommended by the Academy of Nutrition and Dietetics). Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "bmr_kj_per_day": { "description": "Mifflin-St Jeor BMR expressed in kilojoules (1 kcal = 4.184 kJ). Unit: kJ/day.", "type": "number", "x-unit": "kJ/day" }, "harris_benedict_kcal_per_day": { "description": "Basal metabolic rate by the Roza & Shizgal 1984 revision of Harris-Benedict, for comparison. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an SLA, support, procurement or order deadline measured in business hours under the published mainland China or UK calendar, and must express the result in another team's IANA time zone with reproducible holiday and DST evidence. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need calendar hours, an overnight or split shift, lunch breaks, an employer/local/market calendar, a legal filing deadline, actual delivery/arrival prediction, private calendar availability, or a date outside the selected evidence package's coverage.\nWhat it computes: Adds an explicit number of business hours inside a caller-supplied daily window, using either the official mainland China work calendar or a selected GOV.UK division, then returns the deadline in UTC, the calendar zone and a target IANA zone with a complete segment/skip audit trail.\nExample user requests: A Shanghai support ticket opened at 2026-09-24 15:00 has a 16-business-hour SLA, counted from that day during 09:00-17:00 China official working time. When is it due in London? | Starting 24 December 2026 at 15:00 London time, add 8 England-and-Wales business hours between 09:00 and 17:00 and show the deadline in Shanghai. | 按中国官方工作日,从 2026-09-24 15:00(上海)起计算 16 个营业小时,每天 09:00-17:00,起始日计入;给出伦敦时间和跳过日期。\nInputs: start_local_datetime (string); start_time_zone (string); target_time_zone (string); calendar (enum); business_hours (number, hours); business_day_start (string); business_day_end (string); include_start_day (boolean); resolution_policy (enum, optional).\nComplete JSON argument examples: {\"start_local_datetime\":\"2026-09-24T15:00:00\",\"start_time_zone\":\"Asia/Shanghai\",\"target_time_zone\":\"Europe/London\",\"calendar\":\"china-mainland\",\"business_hours\":16,\"business_day_start\":\"09:00\",\"business_day_end\":\"17:00\",\"include_start_day\":true,\"resolution_policy\":\"reject\"} | {\"start_local_datetime\":\"2026-12-24T15:00:00\",\"start_time_zone\":\"Europe/London\",\"target_time_zone\":\"Asia/Shanghai\",\"calendar\":\"uk-england-and-wales\",\"business_hours\":8,\"business_day_start\":\"09:00\",\"business_day_end\":\"17:00\",\"include_start_day\":true,\"resolution_policy\":\"reject\"}\nOutputs: calendar, calendar_name, calendar_version, calendar_coverage, tzdb_version, tzdb_package_version, start_local_datetime, start_utc_datetime, counting_started_local_datetime, deadline_utc_datetime, deadline_calendar_zone_datetime, deadline_target_zone_datetime, business_hours_added [hours], business_seconds_added [seconds], elapsed_calendar_hours [hours], working_dates_used, business_segment_count, skipped_date_count, business_segments, skipped_dates, start_adjustments, calendar_sources_used, rules.\nFormula: deadline = consume business_hours only inside [business_day_start, business_day_end) on dates where the selected versioned calendar reports is_working_day=true; convert each local boundary with pinned IANA tzdb\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/business-hours-deadline with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/business/business-hours-deadline.md", "inputSchema": { "additionalProperties": false, "examples": [ { "business_day_end": "17:00", "business_day_start": "09:00", "business_hours": 16, "calendar": "china-mainland", "include_start_day": true, "resolution_policy": "reject", "start_local_datetime": "2026-09-24T15:00:00", "start_time_zone": "Asia/Shanghai", "target_time_zone": "Europe/London" }, { "business_day_end": "17:00", "business_day_start": "09:00", "business_hours": 8, "calendar": "uk-england-and-wales", "include_start_day": true, "resolution_policy": "reject", "start_local_datetime": "2026-12-24T15:00:00", "start_time_zone": "Europe/London", "target_time_zone": "Asia/Shanghai" } ], "properties": { "business_day_end": { "description": "Local closing/cutoff time on each eligible working date. Must be later than business_day_start on the same date.", "examples": [ "17:00" ], "maxLength": 5, "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$", "type": "string" }, "business_day_start": { "description": "Local opening time on each eligible working date. Must be earlier than business_day_end; overnight windows are not supported.", "examples": [ "09:00" ], "maxLength": 5, "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$", "type": "string" }, "business_hours": { "description": "Positive duration consumed only inside eligible working-date windows. It is rounded to the nearest second. Unit: hours.", "examples": [ 16 ], "exclusiveMinimum": 0, "maximum": 1000, "type": "number", "x-unit": "hours" }, "calendar": { "description": "Versioned public working-day calendar that determines which local dates may consume business hours.", "enum": [ "china-mainland", "uk-england-and-wales", "uk-scotland", "uk-northern-ireland" ], "examples": [ "china-mainland" ], "type": "string" }, "include_start_day": { "description": "True counts eligible time remaining on the start local date; false skips that entire local date and starts at the next working opening.", "examples": [ true ], "type": "boolean" }, "resolution_policy": { "default": "reject", "description": "How to resolve an ambiguous or nonexistent start wall time. reject is safest; earlier/later select a repeated instant; shift_forward moves a gap time by the DST jump.", "enum": [ "reject", "earlier", "later", "shift_forward" ], "examples": [ "reject" ], "type": "string" }, "start_local_datetime": { "description": "Start wall-clock date and time without an offset. start_time_zone supplies its IANA zone.", "examples": [ "2026-09-24T15:00:00" ], "maxLength": 19, "pattern": "^\\d{4}-\\d{2}-\\d{2}[T ](?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$", "type": "string" }, "start_time_zone": { "description": "IANA zone used for the start time and every daily business window.", "examples": [ "Asia/Shanghai" ], "maxLength": 64, "type": "string" }, "target_time_zone": { "description": "IANA zone in which the same deadline should also be returned for the receiving team.", "examples": [ "Europe/London" ], "maxLength": 64, "type": "string" } }, "required": [ "start_local_datetime", "start_time_zone", "target_time_zone", "calendar", "business_hours", "business_day_start", "business_day_end", "include_start_day" ], "type": "object" }, "name": "calculate_business_deadline", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "business_hours_added": { "description": "Business duration actually consumed after nearest-second normalization. Unit: hours.", "type": "number", "x-unit": "hours" }, "business_seconds_added": { "description": "Integer duration consumed within eligible windows. Unit: seconds.", "type": "integer", "x-unit": "seconds" }, "business_segment_count": { "description": "Number of dated working-window segments consumed.", "type": "integer" }, "business_segments": { "description": "Auditable local/UTC segment boundaries, duration and calendar reason for every counted interval.", "type": "array" }, "calendar": { "description": "Selected versioned working-day calendar.", "type": "string" }, "calendar_coverage": { "description": "First and last dates supported by the selected calendar package.", "type": "object" }, "calendar_name": { "description": "Human-readable calendar scope.", "type": "string" }, "calendar_sources_used": { "description": "Deduplicated official notices or snapshot evidence actually consulted for the traversed dates.", "type": "array" }, "calendar_version": { "description": "Exact China or GOV.UK evidence-package version used.", "type": "string" }, "counting_started_local_datetime": { "description": "First eligible instant after applying the working-day, daily-window and include-start-day rules.", "type": "string" }, "deadline_calendar_zone_datetime": { "description": "Final deadline in start_time_zone with UTC offset.", "type": "string" }, "deadline_target_zone_datetime": { "description": "The same final instant in target_time_zone with UTC offset.", "type": "string" }, "deadline_utc_datetime": { "description": "Final deadline instant in UTC.", "type": "string" }, "elapsed_calendar_hours": { "description": "Actual elapsed UTC time from the supplied start instant to the deadline. Unit: hours.", "type": "number", "x-unit": "hours" }, "rules": { "description": "Complete caller-supplied window, calendar, inclusion and time-zone interpretation rules.", "type": "object" }, "skipped_date_count": { "description": "Number of calendar dates explicitly skipped for a calendar or start-rule reason.", "type": "integer" }, "skipped_dates": { "description": "Dates not counted, with holiday/weekend/start-rule reason.", "type": "array" }, "start_adjustments": { "description": "Any move from the supplied instant to the first eligible business instant.", "type": "array" }, "start_local_datetime": { "description": "Chosen start instant rendered in the calendar zone with UTC offset.", "type": "string" }, "start_utc_datetime": { "description": "Chosen start instant in UTC.", "type": "string" }, "tzdb_package_version": { "description": "Calcgrid package version containing the pinned tzdb release.", "type": "string" }, "tzdb_version": { "description": "Pinned IANA transition-data version used for every instant.", "type": "string" }, "working_dates_used": { "description": "Ordered unique local dates whose windows contributed business time.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you know a circle's radius or diameter and need its area, circumference or the other dimension. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the shape is an ellipse (use ellipse), a solid ball (use sphere) or a disc with thickness (use cylinder).\nWhat it computes: Computes the area, circumference, diameter and radius of a circle from either its radius or its diameter. Lengths are unit-agnostic: the area is in the square of the input unit.\nExample user requests: Calculate the area and circumference of a circle with radius 3. | A circle has diameter 10; return its radius, circumference and area.\nInputs: radius (number, units, optional); diameter (number, units, optional).\nValid input combinations: Provide at least one of radius or diameter. You may provide both when diameter equals 2 × radius; conflicting values are rejected.\nComplete JSON argument examples: {\"radius\":3} | {\"diameter\":10}\nOutputs: radius [units], diameter [units], circumference [units], area [units²].\nFormula: r = radius (or diameter / 2); diameter = 2·r; circumference = 2·π·r; area = π·r²\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/circle with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/geometry/circle.md", "inputSchema": { "additionalProperties": false, "anyOf": [ { "required": [ "radius" ] }, { "required": [ "diameter" ] } ], "description": "Provide at least one of radius or diameter. You may provide both when diameter equals 2 × radius; conflicting values are rejected.", "examples": [ { "radius": 3 }, { "diameter": 10 } ], "properties": { "diameter": { "description": "Diameter of the circle (2 × radius). Used when radius is not given. Unit: units.", "examples": [ 6 ], "exclusiveMinimum": 0, "type": "number", "x-unit": "units" }, "radius": { "description": "Radius of the circle. Give either radius or diameter. Unit: units.", "examples": [ 3 ], "exclusiveMinimum": 0, "type": "number", "x-unit": "units" } }, "type": "object" }, "name": "calculate_circle_properties", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "area": { "description": "π·r², in the square of the input unit. Unit: units².", "type": "number", "x-unit": "units²" }, "circumference": { "description": "2·π·r. Unit: units.", "type": "number", "x-unit": "units" }, "diameter": { "description": "2·r. Unit: units.", "type": "number", "x-unit": "units" }, "radius": { "description": "Radius r (as given, or diameter / 2). Unit: units.", "type": "number", "x-unit": "units" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to project a savings account, certificate of deposit or investment balance from a starting amount, an annual rate, a term and optional monthly deposits. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when interest is not reinvested (use simple-interest), you need the deposit required to hit a target (use savings-goal), or you are repaying a loan (use loan-payment).\nWhat it computes: Computes the future balance of a principal earning compound interest at a chosen compounding frequency, optionally with a fixed deposit at the end of every month, and splits the result into contributions and interest.\nInputs: principal (number); annual_rate_percent (number, %); years (number, years); compounding_frequency (enum, optional); monthly_contribution (number, optional).\nComplete JSON argument examples: {\"principal\":10000,\"annual_rate_percent\":5,\"years\":10,\"compounding_frequency\":\"monthly\"} | {\"principal\":5000,\"annual_rate_percent\":6,\"years\":20,\"compounding_frequency\":\"monthly\",\"monthly_contribution\":100}\nOutputs: final_balance, total_contributions, total_interest, effective_annual_rate_percent [%], growth_multiple.\nFormula: A = principal × (1 + r/n)^(n·years) with r = annual_rate_percent/100 and n periods per year. Contributions: i_m = (1 + r/n)^(n/12) − 1, m = 12·years, FV_contrib = monthly_contribution × ((1 + i_m)^m − 1) / i_m (m × contribution when r = 0). final_balance = A + FV_contrib.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/compound-interest with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/compound-interest.md", "inputSchema": { "additionalProperties": false, "examples": [ { "annual_rate_percent": 5, "compounding_frequency": "monthly", "principal": 10000, "years": 10 }, { "annual_rate_percent": 6, "compounding_frequency": "monthly", "monthly_contribution": 100, "principal": 5000, "years": 20 } ], "properties": { "annual_rate_percent": { "description": "Nominal annual rate (APR) in percent; 5 means 5 %. Unit: %.", "examples": [ 5 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "compounding_frequency": { "default": "monthly", "description": "How often interest is credited: n = 1, 2, 4, 12, 52 or 365 periods per year.", "enum": [ "annually", "semiannually", "quarterly", "monthly", "weekly", "daily" ], "examples": [ "monthly" ], "type": "string" }, "monthly_contribution": { "default": 0, "description": "Optional fixed deposit made at the end of every month, compounded at the effective monthly rate implied by compounding_frequency.", "examples": [ 0 ], "maximum": 1000000000, "minimum": 0, "type": "number" }, "principal": { "description": "Starting amount deposited or invested, in any currency.", "examples": [ 10000 ], "maximum": 1000000000000, "minimum": 0, "type": "number" }, "years": { "description": "Length of the investment in years; fractional years allowed (2.5 = 30 months). Unit: years.", "examples": [ 10 ], "exclusiveMinimum": 0, "maximum": 200, "type": "number", "x-unit": "years" } }, "required": [ "principal", "annual_rate_percent", "years" ], "type": "object" }, "name": "calculate_compound_interest", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "effective_annual_rate_percent": { "description": "(1 + r/n)^n − 1: the yield actually earned per year at this compounding frequency. Unit: %.", "type": "number", "x-unit": "%" }, "final_balance": { "description": "Principal, contributions and all compounded interest at the end of the term.", "type": "number" }, "growth_multiple": { "description": "final_balance / total_contributions.", "type": "number" }, "total_contributions": { "description": "Principal plus all monthly deposits (money paid in).", "type": "number" }, "total_interest": { "description": "final_balance − total_contributions.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the number of days, weeks or working days between two dates, or a calendar-style 'x years y months z days' difference. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you want to add or subtract a number of days from a date (use add-days), or you need an age with the next birthday (use age).\nWhat it computes: Counts the days between two ISO dates and expresses the gap as weeks and days, as a calendar breakdown in years, months and days, and as business days (Monday–Friday, public holidays not excluded).\nInputs: start_date (date); end_date (date); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-25\"} | {\"start_date\":\"2025-11-05\",\"end_date\":\"2026-03-15\",\"include_end_date\":true}\nOutputs: days [days], weeks [weeks], remaining_days [days], weeks_and_days, calendar_years, calendar_months, calendar_days, calendar_text, business_days [days].\nFormula: days = end_date − start_date (+1 if include_end_date); weeks = floor(days / 7); remaining_days = days mod 7; business_days = number of Mon–Fri dates in [start_date, end_date) or [start_date, end_date] when inclusive; calendar breakdown = whole years, months, then days borrowed from the month before end_date\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/date-difference with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/date-difference.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-12-25", "start_date": "2026-01-01" }, { "end_date": "2026-03-15", "include_end_date": true, "start_date": "2025-11-05" } ], "properties": { "end_date": { "description": "Second date (YYYY-MM-DD). If it is earlier than start_date the dates are swapped and a note is returned.", "examples": [ "2026-12-25" ], "format": "date", "type": "string" }, "include_end_date": { "default": false, "description": "true counts both endpoints (adds one day to days, weeks/days and business_days), e.g. for inclusive rental or leave periods.", "examples": [ false ], "type": "boolean" }, "start_date": { "description": "First date (ISO 8601, YYYY-MM-DD).", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "calculate_date_difference", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "business_days": { "description": "Mondays to Fridays among the counted days (public holidays are not excluded). Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_days": { "description": "Days beyond the whole months.", "type": "integer" }, "calendar_months": { "description": "Whole months beyond the years.", "type": "integer" }, "calendar_text": { "description": "Years, months and days written out (zero parts omitted).", "type": "string" }, "calendar_years": { "description": "Whole years between the two dates (not affected by include_end_date).", "type": "integer" }, "days": { "description": "end_date − start_date in days (+1 when include_end_date is true). Unit: days.", "type": "integer", "x-unit": "days" }, "remaining_days": { "description": "days − 7 × weeks. Unit: days.", "type": "integer", "x-unit": "days" }, "weeks": { "description": "floor(days / 7). Unit: weeks.", "type": "integer", "x-unit": "weeks" }, "weeks_and_days": { "description": "Same gap written as weeks and days.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to know how much of a scene is acceptably sharp for given camera settings, or how far sharpness extends in front of and behind the focused subject. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only need the focus distance that maximises depth of field (use hyperfocal-distance), or you shoot macro above about 0.2× magnification where lens extension and pupil magnification make the thin-lens equations inaccurate.\nWhat it computes: Computes the near and far limits of acceptable sharpness, the total depth of field and the hyperfocal distance from focal length, f-number, focus distance and the sensor's circle of confusion, using the standard thin-lens depth-of-field equations.\nInputs: focal_length_mm (number, mm); aperture_f (number); focus_distance_m (number, m); sensor (enum, optional); coc_mm (number, mm, optional).\nComplete JSON argument examples: {\"focal_length_mm\":50,\"aperture_f\":2.8,\"focus_distance_m\":3,\"sensor\":\"full_frame\"} | {\"focal_length_mm\":24,\"aperture_f\":8,\"focus_distance_m\":5,\"sensor\":\"full_frame\"}\nOutputs: hyperfocal_m [m], near_limit_m [m], far_limit_m [m], far_limit_text, total_dof_m [m], in_front_of_subject_m [m], behind_subject_m [m], coc_used_mm [mm].\nFormula: H = f² / (N·c) + f; near = s·(H − f) / (H + s − 2f); far = s·(H − f) / (H − s) when s < H, otherwise infinity (f = focal_length_mm, N = aperture_f, c = coc_mm, s = focus_distance_m × 1000, all in mm)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/depth-of-field with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/photography/depth-of-field.md", "inputSchema": { "additionalProperties": false, "examples": [ { "aperture_f": 2.8, "focal_length_mm": 50, "focus_distance_m": 3, "sensor": "full_frame" }, { "aperture_f": 8, "focal_length_mm": 24, "focus_distance_m": 5, "sensor": "full_frame" } ], "properties": { "aperture_f": { "description": "Lens f-number, e.g. 2.8 for f/2.8.", "examples": [ 2.8 ], "maximum": 128, "minimum": 0.5, "type": "number" }, "coc_mm": { "description": "Optional acceptable circle-of-confusion diameter; overrides the preset value (full frame 0.030, APS-C 0.020, Micro Four Thirds 0.015, 1-inch 0.011 mm). Unit: mm.", "examples": [ 0.03 ], "exclusiveMinimum": 0, "maximum": 1, "type": "number", "x-unit": "mm" }, "focal_length_mm": { "description": "Actual (not equivalent) focal length of the lens in millimetres. Unit: mm.", "examples": [ 50 ], "maximum": 5000, "minimum": 1, "type": "number", "x-unit": "mm" }, "focus_distance_m": { "description": "Distance from the camera's sensor plane to the focused subject in metres. Unit: m.", "examples": [ 3 ], "exclusiveMinimum": 0, "maximum": 100000, "type": "number", "x-unit": "m" }, "sensor": { "default": "full_frame", "description": "Sensor format; selects the circle of confusion (0.030 mm full frame, 0.020 mm APS-C, 0.015 mm Micro Four Thirds ...).", "enum": [ "full_frame", "aps_c", "aps_c_canon", "micro_four_thirds", "one_inch", "medium_format_44x33", "smartphone_1_over_2_3" ], "examples": [ "full_frame" ], "type": "string" } }, "required": [ "focal_length_mm", "aperture_f", "focus_distance_m" ], "type": "object" }, "name": "calculate_depth_of_field", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "behind_subject_m": { "description": "far limit − focus_distance; omitted when infinite. Unit: m.", "type": "number", "x-unit": "m" }, "coc_used_mm": { "description": "Circle of confusion diameter applied (preset or override). Unit: mm.", "type": "number", "x-unit": "mm" }, "far_limit_m": { "description": "Farthest distance that is acceptably sharp; omitted when it is infinite (see far_limit_text). Unit: m.", "type": "number", "x-unit": "m" }, "far_limit_text": { "description": "Far limit as text, 'infinity' when the focus distance is at or beyond the hyperfocal distance.", "type": "string" }, "hyperfocal_m": { "description": "H = f²/(N·c) + f: focusing here gives sharpness from H/2 to infinity. Unit: m.", "type": "number", "x-unit": "m" }, "in_front_of_subject_m": { "description": "focus_distance − near limit. Unit: m.", "type": "number", "x-unit": "m" }, "near_limit_m": { "description": "Closest distance that is acceptably sharp. Unit: m.", "type": "number", "x-unit": "m" }, "total_dof_m": { "description": "far − near; omitted when the far limit is infinite. Unit: m.", "type": "number", "x-unit": "m" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have a set of numeric observations and need its central tendency, spread or quartiles, e.g. the standard deviation of a data set. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a single percentile or the percentile rank of one value (use percentile), a standardised score (use z-score), or statistics of two paired variables (use correlation or linear-regression).\nWhat it computes: Computes summary statistics for a list of numbers: count, sum, mean, median, mode, range, sample and population variance and standard deviation, standard error, coefficient of variation, quartiles (linear interpolation) and skewness.\nInputs: values (number_list).\nComplete JSON argument examples: {\"values\":[2,4,4,4,5,5,7,9]} | {\"values\":[4,8,15,16,23,42]}\nOutputs: count, sum, mean, median, mode, mode_count, min, max, range, sample_variance, sample_std_dev, population_variance, population_std_dev, standard_error, coefficient_of_variation_percent [%], q1, q3, iqr, skewness.\nFormula: mean = Σx / n; sample_variance = Σ(x − mean)² / (n − 1); population_variance = Σ(x − mean)² / n; standard_error = s / √n; CV% = 100·s / mean; quartile at p: rank = p·(n − 1), value = x(⌊rank⌋) + (rank − ⌊rank⌋)·(x(⌊rank⌋+1) − x(⌊rank⌋)) on sorted data; skewness G1 = n / ((n − 1)(n − 2)) · Σ((x − mean) / s)³\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/descriptive-statistics with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/statistics/descriptive-statistics.md", "inputSchema": { "additionalProperties": false, "examples": [ { "values": [ 2, 4, 4, 4, 5, 5, 7, 9 ] }, { "values": [ 4, 8, 15, 16, 23, 42 ] } ], "properties": { "values": { "description": "The data set, as a list of numbers (comma-separated or JSON array). At least 2 values are needed for sample statistics.", "examples": [ [ 2, 4, 4, 4, 5, 5, 7, 9 ] ], "items": { "type": "number" }, "maxItems": 10000, "minItems": 1, "type": "array" } }, "required": [ "values" ], "type": "object" }, "name": "calculate_descriptive_statistics", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "coefficient_of_variation_percent": { "description": "100 × s / mean; only meaningful for ratio-scale data with a positive mean (omitted when the mean is 0). Unit: %.", "type": "number", "x-unit": "%" }, "count": { "description": "Number of values.", "type": "integer" }, "iqr": { "description": "Q3 − Q1.", "type": "number" }, "max": { "description": "Largest value.", "type": "number" }, "mean": { "description": "Arithmetic mean = sum / n.", "type": "number" }, "median": { "description": "Middle value of the sorted data (average of the two middle values when n is even).", "type": "number" }, "min": { "description": "Smallest value.", "type": "number" }, "mode": { "description": "Most frequent value(s), comma-separated when several values tie; 'none' when no value repeats.", "type": "string" }, "mode_count": { "description": "How many times the mode occurs.", "type": "integer" }, "population_std_dev": { "description": "√population_variance.", "type": "number" }, "population_variance": { "description": "Σ(x − mean)² / n. Use when the data are the entire population.", "type": "number" }, "q1": { "description": "25th percentile by linear interpolation (Excel PERCENTILE.INC / R type 7).", "type": "number" }, "q3": { "description": "75th percentile by the same method.", "type": "number" }, "range": { "description": "max − min.", "type": "number" }, "sample_std_dev": { "description": "√sample_variance (n ≥ 2).", "type": "number" }, "sample_variance": { "description": "Σ(x − mean)² / (n − 1). Use when the data are a sample of a larger population (n ≥ 2).", "type": "number" }, "skewness": { "description": "Adjusted Fisher-Pearson sample skewness G1 (same as Excel SKEW); requires n ≥ 3 and s > 0. Positive = right tail longer.", "type": "number" }, "standard_error": { "description": "s / √n (n ≥ 2).", "type": "number" }, "sum": { "description": "Sum of all values.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an exact result of an operation on two fractions (e.g. 3/4 + 1/6), including mixed numbers such as 1 1/2, rather than a rounded decimal. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only want to reduce a single fraction or convert it to a decimal or percent (use fraction-simplifier), or you need the least common denominator of several denominators (use gcd-lcm).\nWhat it computes: Adds, subtracts, multiplies or divides two fractions, mixed numbers, whole numbers or decimals with exact integer arithmetic, returning the result in lowest terms, as a mixed number and as a decimal, with the intermediate steps.\nInputs: fraction_a (string); fraction_b (string); operation (enum, optional).\nComplete JSON argument examples: {\"fraction_a\":\"3/4\",\"fraction_b\":\"1/6\",\"operation\":\"add\"} | {\"fraction_a\":\"2 1/3\",\"fraction_b\":\"5/6\",\"operation\":\"subtract\"}\nOutputs: result, mixed_number, numerator, denominator, decimal, working.\nFormula: a/b + c/d = (a·(L/b) + c·(L/d)) / L with L = lcm(b, d), a/b − c/d likewise; a/b × c/d = (a·c) / (b·d); a/b ÷ c/d = (a·d) / (b·c); the result is divided by gcd(numerator, denominator)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/fraction-arithmetic with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/math/fraction-arithmetic.md", "inputSchema": { "additionalProperties": false, "examples": [ { "fraction_a": "3/4", "fraction_b": "1/6", "operation": "add" }, { "fraction_a": "2 1/3", "fraction_b": "5/6", "operation": "subtract" } ], "properties": { "fraction_a": { "description": "First operand: a fraction '3/4', a mixed number '1 1/2' or '-1 1/2', a whole number '5' or a decimal '0.75'.", "examples": [ "3/4" ], "maxLength": 40, "type": "string" }, "fraction_b": { "description": "Second operand in the same formats.", "examples": [ "1/6" ], "maxLength": 40, "type": "string" }, "operation": { "default": "add", "description": "Operation applied as fraction_a (operation) fraction_b.", "enum": [ "add", "subtract", "multiply", "divide" ], "examples": [ "add" ], "type": "string" } }, "required": [ "fraction_a", "fraction_b" ], "type": "object" }, "name": "calculate_fraction_arithmetic", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "decimal": { "description": "numerator / denominator.", "type": "number" }, "denominator": { "description": "Denominator of the reduced result (always positive).", "type": "integer" }, "mixed_number": { "description": "Result as whole part plus proper fraction, e.g. '1 1/2'.", "type": "string" }, "numerator": { "description": "Numerator of the reduced result.", "type": "integer" }, "result": { "description": "Exact result in lowest terms with the sign in the numerator, e.g. '11/12' (a whole number when the denominator reduces to 1).", "type": "string" }, "working": { "description": "Steps: operands in lowest terms, the common-denominator or reciprocal step, the unreduced result and the reduced result.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the straight-line distance between two GPS coordinates or cities, e.g. for flight distance, range checks or geofencing. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need road distance, or ellipsoidal accuracy better than about 0.5 % (use a geodesic method such as Vincenty or Karney on WGS-84); for bearings and compass points use compass-bearing.\nWhat it computes: Computes the great-circle (as-the-crow-flies) distance between two points on a spherical Earth with the haversine formula, in kilometres, miles and nautical miles, together with the initial bearing, compass direction and the midpoint of the route.\nInputs: lat1 (number, °); lon1 (number, °); lat2 (number, °); lon2 (number, °).\nComplete JSON argument examples: {\"lat1\":-33.8688,\"lon1\":151.2093,\"lat2\":35.6762,\"lon2\":139.6503} | {\"lat1\":50.06639,\"lon1\":-5.71472,\"lat2\":58.64389,\"lon2\":-3.07}\nOutputs: distance_km [km], distance_miles [mi], distance_nautical_miles [nmi], central_angle_degrees [°], initial_bearing_degrees [°], compass_direction, midpoint_lat [°], midpoint_lon [°].\nFormula: a = sin²(Δφ/2) + cos φ1 · cos φ2 · sin²(Δλ/2); c = 2 · atan2(√a, √(1−a)); d = R · c with R = 6371.0088 km; θ = atan2(sin Δλ · cos φ2, cos φ1 · sin φ2 − sin φ1 · cos φ2 · cos Δλ)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/haversine-distance with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/time/haversine-distance.md", "inputSchema": { "additionalProperties": false, "examples": [ { "lat1": -33.8688, "lat2": 35.6762, "lon1": 151.2093, "lon2": 139.6503 }, { "lat1": 50.06639, "lat2": 58.64389, "lon1": -5.71472, "lon2": -3.07 } ], "properties": { "lat1": { "description": "Latitude of point 1 in decimal degrees (north positive, south negative). Unit: °.", "examples": [ -33.8688 ], "maximum": 90, "minimum": -90, "type": "number", "x-unit": "°" }, "lat2": { "description": "Latitude of point 2 in decimal degrees (north positive, south negative). Unit: °.", "examples": [ 35.6762 ], "maximum": 90, "minimum": -90, "type": "number", "x-unit": "°" }, "lon1": { "description": "Longitude of point 1 in decimal degrees (east positive, west negative). Unit: °.", "examples": [ 151.2093 ], "maximum": 180, "minimum": -180, "type": "number", "x-unit": "°" }, "lon2": { "description": "Longitude of point 2 in decimal degrees (east positive, west negative). Unit: °.", "examples": [ 139.6503 ], "maximum": 180, "minimum": -180, "type": "number", "x-unit": "°" } }, "required": [ "lat1", "lon1", "lat2", "lon2" ], "type": "object" }, "name": "calculate_haversine_distance", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "central_angle_degrees": { "description": "Angle subtended at the Earth's centre. Unit: °.", "type": "number", "x-unit": "°" }, "compass_direction": { "description": "16-point compass direction of the initial bearing.", "type": "string" }, "distance_km": { "description": "Great-circle distance on a sphere of radius 6,371.0088 km. Unit: km.", "type": "number", "x-unit": "km" }, "distance_miles": { "description": "Same distance in statute miles (1 mi = 1.609344 km). Unit: mi.", "type": "number", "x-unit": "mi" }, "distance_nautical_miles": { "description": "Same distance in nautical miles (1 nmi = 1.852 km). Unit: nmi.", "type": "number", "x-unit": "nmi" }, "initial_bearing_degrees": { "description": "Forward azimuth at point 1, clockwise from true north (0–360). Unit: °.", "type": "number", "x-unit": "°" }, "midpoint_lat": { "description": "Latitude of the great-circle midpoint. Unit: °.", "type": "number", "x-unit": "°" }, "midpoint_lon": { "description": "Longitude of the great-circle midpoint. Unit: °.", "type": "number", "x-unit": "°" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the energy of motion of an object of known mass and speed (vehicle, projectile, ball), for example to compare impact or braking energies. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when rotation contributes significantly (rotational energy ½·I·ω² is not included), speeds approach the speed of light (relativistic formula needed), or you need energy from height (use potential-energy).\nWhat it computes: Computes the translational kinetic energy of a moving mass from KE = ½·m·v², reported in joules, kilojoules, kilowatt-hours and kilocalories.\nInputs: mass_kg (number, kg); velocity_m_s (number, m/s).\nComplete JSON argument examples: {\"mass_kg\":1200,\"velocity_m_s\":25} | {\"mass_kg\":0.145,\"velocity_m_s\":40}\nOutputs: kinetic_energy_j [J], kinetic_energy_kj [kJ], kinetic_energy_kwh [kWh], kinetic_energy_kcal [kcal], velocity_km_h [km/h].\nFormula: KE = ½ × mass_kg × velocity_m_s²; kJ = J / 1000; kWh = J / 3,600,000; kcal = J / 4184\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kinetic-energy with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/physics/kinetic-energy.md", "inputSchema": { "additionalProperties": false, "examples": [ { "mass_kg": 1200, "velocity_m_s": 25 }, { "mass_kg": 0.145, "velocity_m_s": 40 } ], "properties": { "mass_kg": { "description": "Mass of the moving object in kilograms. Unit: kg.", "examples": [ 1200 ], "exclusiveMinimum": 0, "type": "number", "x-unit": "kg" }, "velocity_m_s": { "description": "Speed in metres per second (km/h ÷ 3.6, mph × 0.44704). Limited to 10 % of the speed of light, below which the classical formula is accurate to within 1 %. Unit: m/s.", "examples": [ 25 ], "maximum": 30000000, "minimum": 0, "type": "number", "x-unit": "m/s" } }, "required": [ "mass_kg", "velocity_m_s" ], "type": "object" }, "name": "calculate_kinetic_energy", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "kinetic_energy_j": { "description": "KE = ½ × m × v². Unit: J.", "type": "number", "x-unit": "J" }, "kinetic_energy_kcal": { "description": "Kinetic energy in kilocalories (thermochemical, J ÷ 4184). Unit: kcal.", "type": "number", "x-unit": "kcal" }, "kinetic_energy_kj": { "description": "Kinetic energy in kilojoules. Unit: kJ.", "type": "number", "x-unit": "kJ" }, "kinetic_energy_kwh": { "description": "Kinetic energy in kilowatt-hours (J ÷ 3,600,000). Unit: kWh.", "type": "number", "x-unit": "kWh" }, "velocity_km_h": { "description": "The input speed in km/h. Unit: km/h.", "type": "number", "x-unit": "km/h" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the monthly payment or total interest cost of an auto, personal, student or other fixed-rate installment loan given its amount, APR and term. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need property tax, insurance and HOA in the payment (use mortgage-payment), or you know the payment and want the payoff time (use debt-payoff).\nWhat it computes: Computes the level monthly payment of a fully amortizing fixed-rate loan from principal, annual rate and term, plus the total paid and total interest over the life of the loan.\nExample user requests: For a 100000 loan at 6% fixed for 5 years, calculate the monthly payment and total interest. | What will I pay each month on a 420000 loan at 6.15% for 25 years? | 6000 元零利率分 12 个月偿还,每月和总计是多少?\nInputs: principal (number); annual_rate_percent (number, %); term_years (number, years, optional); term_months (integer, months, optional).\nValid input combinations: Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together.\nComplete JSON argument examples: {\"principal\":200000,\"annual_rate_percent\":6,\"term_years\":30} | {\"principal\":25000,\"annual_rate_percent\":7,\"term_months\":60}\nOutputs: monthly_payment, number_of_payments, total_payment, total_interest, payoff_summary.\nFormula: i = annual_rate_percent / 1200; n = 12·term_years + term_months; monthly_payment = principal × i / (1 − (1 + i)^−n); if i = 0, monthly_payment = principal / n. total_payment = monthly_payment × n; total_interest = total_payment − principal.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/loan-payment with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/loan-payment.md", "inputSchema": { "additionalProperties": false, "anyOf": [ { "properties": { "term_years": { "exclusiveMinimum": 0 } }, "required": [ "term_years" ] }, { "properties": { "term_months": { "minimum": 1 } }, "required": [ "term_months" ] } ], "description": "Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together.", "examples": [ { "annual_rate_percent": 6, "principal": 200000, "term_years": 30 }, { "annual_rate_percent": 7, "principal": 25000, "term_months": 60 } ], "properties": { "annual_rate_percent": { "description": "Nominal annual rate in percent; the monthly rate is this / 12. 0 is allowed for interest-free loans. Unit: %.", "examples": [ 6 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "principal": { "description": "Amount borrowed.", "examples": [ 200000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "number" }, "term_months": { "default": 0, "description": "Additional months of term (e.g. term_months=60 alone for a 5-year auto loan). Unit: months.", "examples": [ 0 ], "maximum": 1200, "minimum": 0, "type": "integer", "x-unit": "months" }, "term_years": { "description": "Loan term in years; fractional values allowed. Added to term_months when both are given. Unit: years.", "examples": [ 30 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "years" } }, "required": [ "principal", "annual_rate_percent" ], "type": "object" }, "name": "calculate_loan_payment", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "monthly_payment": { "description": "Level payment due each month (principal + interest).", "type": "number" }, "number_of_payments": { "description": "Total months = 12 × term_years + term_months.", "type": "integer" }, "payoff_summary": { "description": "Plain-language summary of the schedule.", "type": "string" }, "total_interest": { "description": "total_payment − principal.", "type": "number" }, "total_payment": { "description": "monthly_payment × number_of_payments (unrounded payment).", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have a chemical formula and need its molar mass (molecular weight), the number of atoms of each element, or its elemental mass-percent composition. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you already know the molar mass and want to convert between grams and moles (use moles-mass) or need a solution concentration (use molarity).\nWhat it computes: Parses a chemical formula (including brackets, nested groups and hydrates) and sums IUPAC 2021 standard atomic weights to give the molar mass in g/mol, plus the atom count and mass-percent composition of each element.\nInputs: formula (string).\nComplete JSON argument examples: {\"formula\":\"C6H12O6\"} | {\"formula\":\"CuSO4·5H2O\"}\nOutputs: molar_mass_g_mol [g/mol], molecular_mass_da [Da], atom_count, element_count, composition.\nFormula: molar_mass = Σ (atomic_weight_i × count_i); mass_fraction_percent_i = 100 × atomic_weight_i × count_i / molar_mass\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/molar-mass with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/chemistry/molar-mass.md", "inputSchema": { "additionalProperties": false, "examples": [ { "formula": "C6H12O6" }, { "formula": "CuSO4·5H2O" } ], "properties": { "formula": { "description": "Chemical formula with case-sensitive element symbols, integer subscripts, brackets and optional hydrate dot, e.g. C6H12O6, Ca(OH)2, Fe2(SO4)3, CuSO4·5H2O. A trailing charge (NH4+, SO4^2-) or state (aq) is ignored.", "examples": [ "C6H12O6" ], "type": "string" } }, "required": [ "formula" ], "type": "object" }, "name": "calculate_molar_mass", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "atom_count": { "description": "Total number of atoms in one formula unit.", "type": "integer" }, "composition": { "description": "Per element: symbol, atom count, atomic weight, contributed mass (g/mol) and mass fraction in percent.", "type": "array" }, "element_count": { "description": "Number of distinct elements in the formula.", "type": "integer" }, "molar_mass_g_mol": { "description": "Sum of atomic weight × atom count over all elements. Unit: g/mol.", "type": "number", "x-unit": "g/mol" }, "molecular_mass_da": { "description": "Same value expressed in daltons (unified atomic mass units) per molecule or formula unit. Unit: Da.", "type": "number", "x-unit": "Da" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you want the monthly cost of buying a home with a fixed-rate mortgage, including escrowed taxes and insurance, or the total interest over the loan. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the loan is adjustable-rate or interest-only, or you only need the payment on a plain loan amount (use loan-payment).\nWhat it computes: Computes the monthly principal-and-interest payment of a fixed-rate mortgage from home price, down payment, rate and term, then adds property tax, home insurance and HOA dues to give the full monthly housing payment and lifetime interest.\nInputs: home_price (number); down_payment (number, optional); annual_rate_percent (number, %); term_years (number, years, optional); annual_property_tax (number, optional); annual_home_insurance (number, optional); monthly_hoa (number, optional).\nComplete JSON argument examples: {\"home_price\":250000,\"down_payment\":50000,\"annual_rate_percent\":6,\"term_years\":30,\"annual_property_tax\":3000,\"annual_home_insurance\":1200} | {\"home_price\":400000,\"down_payment\":80000,\"annual_rate_percent\":6.5,\"term_years\":30}\nOutputs: loan_amount, loan_to_value_percent [%], monthly_principal_and_interest, monthly_property_tax, monthly_insurance, monthly_hoa_fee, total_monthly_payment, number_of_payments, total_interest, total_of_payments, payoff_summary.\nFormula: loan_amount = home_price − down_payment; i = annual_rate_percent / 1200; n = 12·term_years; P&I = loan_amount × i / (1 − (1 + i)^−n) (loan_amount / n if i = 0); total_monthly_payment = P&I + annual_property_tax/12 + annual_home_insurance/12 + monthly_hoa.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/mortgage-payment with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/mortgage-payment.md", "inputSchema": { "additionalProperties": false, "examples": [ { "annual_home_insurance": 1200, "annual_property_tax": 3000, "annual_rate_percent": 6, "down_payment": 50000, "home_price": 250000, "term_years": 30 }, { "annual_rate_percent": 6.5, "down_payment": 80000, "home_price": 400000, "term_years": 30 } ], "properties": { "annual_home_insurance": { "default": 0, "description": "Yearly homeowners insurance premium; one twelfth is added monthly.", "examples": [ 1200 ], "maximum": 1000000000, "minimum": 0, "type": "number" }, "annual_property_tax": { "default": 0, "description": "Yearly property tax; one twelfth is added to the monthly payment.", "examples": [ 3000 ], "maximum": 1000000000, "minimum": 0, "type": "number" }, "annual_rate_percent": { "description": "Fixed note rate in percent; the monthly rate is this / 12. Unit: %.", "examples": [ 6 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "down_payment": { "default": 0, "description": "Cash paid up front; loan_amount = home_price − down_payment. For 20 % of a 250,000 home enter 50000.", "examples": [ 50000 ], "maximum": 1000000000000, "minimum": 0, "type": "number" }, "home_price": { "description": "Purchase price of the property.", "examples": [ 250000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "number" }, "monthly_hoa": { "default": 0, "description": "Monthly homeowners-association or condo fee.", "examples": [ 0 ], "maximum": 10000000, "minimum": 0, "type": "number" }, "term_years": { "default": 30, "description": "Loan term in years (30 and 15 are the common US terms). Unit: years.", "examples": [ 30 ], "exclusiveMinimum": 0, "maximum": 50, "type": "number", "x-unit": "years" } }, "required": [ "home_price", "annual_rate_percent" ], "type": "object" }, "name": "calculate_mortgage_payment", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "loan_amount": { "description": "home_price − down_payment.", "type": "number" }, "loan_to_value_percent": { "description": "loan_amount / home_price × 100; above 80 % usually requires mortgage insurance (PMI). Unit: %.", "type": "number", "x-unit": "%" }, "monthly_hoa_fee": { "description": "monthly_hoa as entered.", "type": "number" }, "monthly_insurance": { "description": "annual_home_insurance / 12.", "type": "number" }, "monthly_principal_and_interest": { "description": "Level monthly amortizing payment on the loan.", "type": "number" }, "monthly_property_tax": { "description": "annual_property_tax / 12.", "type": "number" }, "number_of_payments": { "description": "12 × term_years.", "type": "integer" }, "payoff_summary": { "description": "Plain-language summary of the loan schedule.", "type": "string" }, "total_interest": { "description": "Interest paid over the full term.", "type": "number" }, "total_monthly_payment": { "description": "Principal & interest + tax + insurance + HOA (PITI + HOA).", "type": "number" }, "total_of_payments": { "description": "monthly_principal_and_interest × number_of_payments.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a percentage of a value, the percentage one value represents of another, or the base value that a part and its percentage imply. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need the percentage change between two values (use percentage-change), a price after a percentage discount (use discount) or a tax amount (use sales-tax).\nWhat it computes: Solves the three basic percentage questions (a percentage of a number, what percentage one number is of another, and the whole behind a known part and percentage). Always returns the part, the whole and the percent.\nInputs: mode (enum, optional); x (number); y (number).\nComplete JSON argument examples: {\"mode\":\"percent_of\",\"x\":15,\"y\":240} | {\"mode\":\"is_what_percent\",\"x\":30,\"y\":120}\nOutputs: result, sentence, part, whole, percent [%].\nFormula: percent_of: result = x / 100 × y. is_what_percent: result = x / y × 100. percent_of_what: result = x / (y / 100). In every mode part = percent × whole / 100.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/percentage with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/math/percentage.md", "inputSchema": { "additionalProperties": false, "examples": [ { "mode": "percent_of", "x": 15, "y": 240 }, { "mode": "is_what_percent", "x": 30, "y": 120 } ], "properties": { "mode": { "default": "percent_of", "description": "Which percentage question to solve; x and y take the meaning shown in the label of the chosen mode.", "enum": [ "percent_of", "is_what_percent", "percent_of_what" ], "examples": [ "percent_of" ], "type": "string" }, "x": { "description": "First number: the percent (percent_of) or the part (is_what_percent, percent_of_what). Percents are plain numbers, 15 means 15%.", "examples": [ 15 ], "type": "number" }, "y": { "description": "Second number: the whole (percent_of, is_what_percent) or the percent (percent_of_what).", "examples": [ 240 ], "type": "number" } }, "required": [ "x", "y" ], "type": "object" }, "name": "calculate_percentage", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "part": { "description": "The part: percent × whole / 100.", "type": "number" }, "percent": { "description": "The percentage: part / whole × 100. Unit: %.", "type": "number", "x-unit": "%" }, "result": { "description": "The unknown quantity: the part (percent_of), the percent in % (is_what_percent) or the whole (percent_of_what).", "type": "number" }, "sentence": { "description": "The solved statement, e.g. '15% of 240 is 36.'", "type": "string" }, "whole": { "description": "The base value that corresponds to 100%.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have a starting and an ending value and need the percentage increase or decrease, or a symmetric percent difference between two comparable values. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a percentage of a number (use percentage), an annualised growth rate over several years (use cagr) or an investment return (use roi).\nWhat it computes: Computes the relative change from an old value to a new value as a percentage, the signed absolute change, the new/old ratio and the symmetric percent difference.\nInputs: old_value (number); new_value (number).\nComplete JSON argument examples: {\"old_value\":50,\"new_value\":65} | {\"old_value\":80,\"new_value\":60}\nOutputs: change_percent [%], absolute_change, direction, ratio, percent_difference [%].\nFormula: change_percent = (new_value − old_value) / |old_value| × 100; percent_difference = |new_value − old_value| / ((|new_value| + |old_value|) / 2) × 100\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/percentage-change with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/math/percentage-change.md", "inputSchema": { "additionalProperties": false, "examples": [ { "new_value": 65, "old_value": 50 }, { "new_value": 60, "old_value": 80 } ], "properties": { "new_value": { "description": "Ending value.", "examples": [ 65 ], "type": "number" }, "old_value": { "description": "Starting (reference) value. Must not be 0.", "examples": [ 50 ], "type": "number" } }, "required": [ "old_value", "new_value" ], "type": "object" }, "name": "calculate_percentage_change", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "absolute_change": { "description": "new_value − old_value (signed).", "type": "number" }, "change_percent": { "description": "(new − old) / |old| × 100; negative for a decrease. Unit: %.", "type": "number", "x-unit": "%" }, "direction": { "description": "'increase', 'decrease' or 'no change'.", "type": "string" }, "percent_difference": { "description": "|new − old| / ((|new| + |old|) / 2) × 100; the same whichever value is called 'old'. Unit: %.", "type": "number", "x-unit": "%" }, "ratio": { "description": "new_value / old_value (1.3 means a 30% increase).", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you know a distance and the time it took (or a target time) and need the pace, the equivalent speed, or the time that pace gives over standard race distances. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you want a realistic prediction of a longer race from a shorter one (pace slows with distance; use race-time-predictor), or you only need to convert between pace and speed units (use pace-converter).\nWhat it computes: Computes running pace in min/km and min/mile and speed in km/h and mph from a distance and elapsed time, and projects the finish time for 5 km, 10 km, half marathon and marathon at that constant pace.\nInputs: distance (number); distance_unit (enum, optional); time (string).\nComplete JSON argument examples: {\"distance\":10,\"distance_unit\":\"km\",\"time\":\"50:00\"} | {\"distance\":5,\"distance_unit\":\"mi\",\"time\":\"45:00\"}\nOutputs: pace_min_per_km [min:sec/km], pace_min_per_mile [min:sec/mi], pace_seconds_per_km [s/km], speed_kmh [km/h], speed_mph [mph], distance_km [km], time_5k [h:mm:ss], time_10k [h:mm:ss], time_half_marathon [h:mm:ss], time_marathon [h:mm:ss].\nFormula: pace_s_per_km = time_seconds / distance_km; pace_s_per_mile = pace_s_per_km × 1.609344; speed_kmh = 3600 / pace_s_per_km; speed_mph = speed_kmh / 1.609344; time(D) = pace_s_per_km × D for D = 5, 10, 21.0975, 42.195 km\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/running-pace with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/fitness/running-pace.md", "inputSchema": { "additionalProperties": false, "examples": [ { "distance": 10, "distance_unit": "km", "time": "50:00" }, { "distance": 5, "distance_unit": "mi", "time": "45:00" } ], "properties": { "distance": { "description": "Distance covered, in the unit given by distance_unit.", "examples": [ 10 ], "exclusiveMinimum": 0, "maximum": 5000, "type": "number" }, "distance_unit": { "default": "km", "description": "Unit of the distance input.", "enum": [ "km", "mi" ], "examples": [ "km" ], "type": "string" }, "time": { "description": "Elapsed time as h:mm:ss (1:45:00), mm:ss (50:00) or plain minutes (50).", "examples": [ "50:00" ], "type": "string" } }, "required": [ "distance", "time" ], "type": "object" }, "name": "calculate_running_pace", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "distance_km": { "description": "Input distance converted to kilometres. Unit: km.", "type": "number", "x-unit": "km" }, "pace_min_per_km": { "description": "Minutes and seconds per kilometre. Unit: min:sec/km.", "type": "string", "x-unit": "min:sec/km" }, "pace_min_per_mile": { "description": "Minutes and seconds per mile. Unit: min:sec/mi.", "type": "string", "x-unit": "min:sec/mi" }, "pace_seconds_per_km": { "description": "Same pace as a plain number of seconds per kilometre. Unit: s/km.", "type": "number", "x-unit": "s/km" }, "speed_kmh": { "description": "Average speed in kilometres per hour. Unit: km/h.", "type": "number", "x-unit": "km/h" }, "speed_mph": { "description": "Average speed in miles per hour. Unit: mph.", "type": "number", "x-unit": "mph" }, "time_10k": { "description": "Time to run 10 km at exactly this pace. Unit: h:mm:ss.", "type": "string", "x-unit": "h:mm:ss" }, "time_5k": { "description": "Time to run 5 km at exactly this pace. Unit: h:mm:ss.", "type": "string", "x-unit": "h:mm:ss" }, "time_half_marathon": { "description": "Time for 21.0975 km at exactly this pace. Unit: h:mm:ss.", "type": "string", "x-unit": "h:mm:ss" }, "time_marathon": { "description": "Time for 42.195 km at exactly this pace. Unit: h:mm:ss.", "type": "string", "x-unit": "h:mm:ss" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to know which subnet an IPv4 address belongs to, the host range and count of a /prefix, or the mask equivalent of a prefix length. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the address is IPv6, you want to split a block into several subnets (VLSM planning), or you only need a number in binary or hex (use base-converter).\nWhat it computes: Computes the network and broadcast addresses, subnet and wildcard masks, first and last host, usable and total addresses, address class and RFC 1918 private status for an IPv4 address in CIDR notation or with a dotted subnet mask, using 32-bit unsigned arithmetic.\nInputs: cidr (string).\nComplete JSON argument examples: {\"cidr\":\"192.168.1.10/26\"} | {\"cidr\":\"10.0.0.0 255.0.0.0\"}\nOutputs: ip_address, cidr_notation, network_address, broadcast_address, subnet_mask, wildcard_mask, prefix_length [bits], host_bits [bits], first_host, last_host, usable_hosts, total_addresses, ip_class, is_private, address_scope, binary_mask, binary_address, ip_integer.\nFormula: mask = 2^32 − 2^(32 − prefix); network = ip AND mask; broadcast = network OR NOT mask; total = 2^(32 − prefix); usable = total − 2 (prefix ≤ 30), 2 (prefix 31), 1 (prefix 32)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/subnet-calculator with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/developer/subnet-calculator.md", "inputSchema": { "additionalProperties": false, "examples": [ { "cidr": "192.168.1.10/26" }, { "cidr": "10.0.0.0 255.0.0.0" } ], "properties": { "cidr": { "description": "IPv4 address followed by /prefix (0–32) or by a dotted subnet mask separated by a space or slash, e.g. 192.168.1.10/26 or 192.168.1.10 255.255.255.192.", "examples": [ "192.168.1.10/26" ], "maxLength": 40, "type": "string" } }, "required": [ "cidr" ], "type": "object" }, "name": "calculate_subnet", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "address_scope": { "description": "Special-use block the address belongs to (RFC 1918 private, loopback, link-local, CGNAT, multicast, reserved) or public.", "type": "string" }, "binary_address": { "description": "The IP address as four 8-bit groups.", "type": "string" }, "binary_mask": { "description": "Subnet mask as four 8-bit groups.", "type": "string" }, "broadcast_address": { "description": "network OR wildcard: the last address of the block (equals the address itself for /32).", "type": "string" }, "cidr_notation": { "description": "Network address with prefix length, e.g. 192.168.1.0/26.", "type": "string" }, "first_host": { "description": "network + 1 (for /31 and /32 the network address itself, RFC 3021).", "type": "string" }, "host_bits": { "description": "32 − prefix_length. Unit: bits.", "type": "integer", "x-unit": "bits" }, "ip_address": { "description": "The address as parsed (dotted quad).", "type": "string" }, "ip_class": { "description": "Historical classful class from the first octet: A (0–127), B (128–191), C (192–223), D (224–239, multicast), E (240–255, reserved).", "type": "string" }, "ip_integer": { "description": "The address as an unsigned 32-bit integer (a·2^24 + b·2^16 + c·2^8 + d).", "type": "integer" }, "is_private": { "description": "true when the address lies in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16; loopback and link-local blocks are reported separately in address_scope.", "type": "boolean" }, "last_host": { "description": "broadcast − 1 (for /31 the second address, for /32 the address itself).", "type": "string" }, "network_address": { "description": "ip AND mask: the first address of the block.", "type": "string" }, "prefix_length": { "description": "Number of network bits (the /n). Unit: bits.", "type": "integer", "x-unit": "bits" }, "subnet_mask": { "description": "Dotted-decimal mask with prefix_length leading one bits.", "type": "string" }, "total_addresses": { "description": "2^host_bits including network and broadcast.", "type": "integer" }, "usable_hosts": { "description": "2^host_bits − 2, except 2 for /31 (RFC 3021 point-to-point) and 1 for /32.", "type": "integer" }, "wildcard_mask": { "description": "Bitwise complement of the subnet mask (used in Cisco ACLs).", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you want to test whether a sample mean differs from a hypothesised value, whether two independent groups have different means, or whether paired before/after measurements changed. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the data are proportions or counts (use proportion-z-test or chi-square-test), you have three or more groups (ANOVA), or you already have t and df and only need the p-value (use p-value).\nWhat it computes: Runs a one-sample, Welch two-sample (unequal variances) or paired Student t-test from raw samples or summary statistics (mean, SD, n), returning t, degrees of freedom, two- and one-sided p-values, the confidence interval and the decision at the chosen alpha.\nExample user requests: Run a one-sample t-test for [102, 98, 105, 101, 104] against a mean of 100. | Compare two independent samples with Welch's t-test from their means, sample SDs and sample sizes. | Run a paired t-test on these before and after measurements in matching order.\nInputs: mode (enum, optional); sample_a (number_list, optional); sample_b (number_list, optional); mean_a (number, optional); sd_a (number, optional); n_a (integer, optional); mean_b (number, optional); sd_b (number, optional); n_b (integer, optional); hypothesized_mean (number, optional); alpha (number, optional).\nValid input combinations: one_sample: sample_a, or all of mean_a + sd_a + n_a. two_sample (also the default when mode is omitted): one complete raw-or-summary input for A and one for B. paired: both sample_a + sample_b, or paired-difference summary mean_a + sd_a + n_a. Do not mix a raw sample with its summary fields.\nComplete JSON argument examples: {\"mode\":\"two_sample\",\"sample_a\":[5.1,4.9,5.6,5.8,6],\"sample_b\":[4.2,4.8,4.4,4.6,4.5]} | {\"mode\":\"two_sample\",\"mean_a\":5.48,\"sd_a\":0.47117,\"n_a\":5,\"mean_b\":4.5,\"sd_b\":0.23452,\"n_b\":5} | {\"mode\":\"one_sample\",\"sample_a\":[102,98,105,101,104],\"hypothesized_mean\":100} | {\"mode\":\"paired\",\"sample_a\":[1.9,0.8,1.1,0.1,-0.1,4.4,5.5,1.6,4.6,3.4],\"sample_b\":[0.7,-1.6,-0.2,-1.2,-0.1,3.4,3.7,0.8,0,2]} | {\"mode\":\"paired\",\"mean_a\":1.58,\"sd_a\":1.23042,\"n_a\":10}\nOutputs: test, mean_a, mean_b, mean_difference, standard_error, t_statistic, degrees_of_freedom, p_value_two_sided, p_value_one_sided, t_critical, ci_lower, ci_upper, significant, decision.\nFormula: one_sample: t = (x̄ − μ0) / (s / √n), df = n − 1. paired: same on the differences d = a − b. two_sample (Welch): t = (x̄a − x̄b − μ0) / √(sa²/na + sb²/nb), df = (sa²/na + sb²/nb)² / ((sa²/na)²/(na − 1) + (sb²/nb)²/(nb − 1)). p = P(|T_df| ≥ |t|); CI = estimate ± t(1 − alpha/2, df) × SE\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/t-test with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/statistics/t-test.md", "inputSchema": { "additionalProperties": false, "allOf": [ { "if": { "properties": { "mode": { "const": "one_sample" } }, "required": [ "mode" ] }, "then": { "oneOf": [ { "not": { "anyOf": [ { "required": [ "mean_a" ] }, { "required": [ "sd_a" ] }, { "required": [ "n_a" ] } ] }, "required": [ "sample_a" ] }, { "not": { "required": [ "sample_a" ] }, "required": [ "mean_a", "sd_a", "n_a" ] } ] } }, { "if": { "properties": { "mode": { "const": "paired" } }, "required": [ "mode" ] }, "then": { "oneOf": [ { "not": { "anyOf": [ { "required": [ "mean_a" ] }, { "required": [ "sd_a" ] }, { "required": [ "n_a" ] } ] }, "required": [ "sample_a", "sample_b" ] }, { "not": { "anyOf": [ { "required": [ "sample_a" ] }, { "required": [ "sample_b" ] } ] }, "required": [ "mean_a", "sd_a", "n_a" ] } ] } }, { "if": { "anyOf": [ { "properties": { "mode": { "const": "two_sample" } }, "required": [ "mode" ] }, { "not": { "required": [ "mode" ] } } ] }, "then": { "allOf": [ { "oneOf": [ { "not": { "anyOf": [ { "required": [ "mean_a" ] }, { "required": [ "sd_a" ] }, { "required": [ "n_a" ] } ] }, "required": [ "sample_a" ] }, { "not": { "required": [ "sample_a" ] }, "required": [ "mean_a", "sd_a", "n_a" ] } ] }, { "oneOf": [ { "not": { "anyOf": [ { "required": [ "mean_b" ] }, { "required": [ "sd_b" ] }, { "required": [ "n_b" ] } ] }, "required": [ "sample_b" ] }, { "not": { "required": [ "sample_b" ] }, "required": [ "mean_b", "sd_b", "n_b" ] } ] } ] } } ], "description": "one_sample: sample_a, or all of mean_a + sd_a + n_a. two_sample (also the default when mode is omitted): one complete raw-or-summary input for A and one for B. paired: both sample_a + sample_b, or paired-difference summary mean_a + sd_a + n_a. Do not mix a raw sample with its summary fields.", "examples": [ { "mode": "two_sample", "sample_a": [ 5.1, 4.9, 5.6, 5.8, 6 ], "sample_b": [ 4.2, 4.8, 4.4, 4.6, 4.5 ] }, { "mean_a": 5.48, "mean_b": 4.5, "mode": "two_sample", "n_a": 5, "n_b": 5, "sd_a": 0.47117, "sd_b": 0.23452 }, { "hypothesized_mean": 100, "mode": "one_sample", "sample_a": [ 102, 98, 105, 101, 104 ] }, { "mode": "paired", "sample_a": [ 1.9, 0.8, 1.1, 0.1, -0.1, 4.4, 5.5, 1.6, 4.6, 3.4 ], "sample_b": [ 0.7, -1.6, -0.2, -1.2, -0.1, 3.4, 3.7, 0.8, 0, 2 ] }, { "mean_a": 1.58, "mode": "paired", "n_a": 10, "sd_a": 1.23042 } ], "properties": { "alpha": { "default": 0.05, "description": "Significance level as a probability (0.05 = 5 %), not a percentage. Confidence intervals and critical values use level 1 − alpha.", "examples": [ 0.05 ], "exclusiveMaximum": 1, "exclusiveMinimum": 0, "type": "number" }, "hypothesized_mean": { "default": 0, "description": "Null-hypothesis value: the population mean (one_sample) or the mean difference (two_sample, paired). Usually 0 for differences.", "examples": [ 0 ], "type": "number" }, "mean_a": { "description": "Summary alternative to sample_a: sample mean of A (in paired mode: mean of the differences a − b).", "type": "number" }, "mean_b": { "description": "Summary alternative to sample_b (two_sample only): sample mean of B.", "type": "number" }, "mode": { "default": "two_sample", "description": "Which t-test to run.", "enum": [ "one_sample", "two_sample", "paired" ], "examples": [ "two_sample" ], "type": "string" }, "n_a": { "description": "Number of observations in A, or number of pairs.", "minimum": 2, "type": "integer" }, "n_b": { "description": "Number of observations in B.", "minimum": 2, "type": "integer" }, "sample_a": { "description": "Raw observations of the first (or only) sample. Alternatively give mean_a, sd_a and n_a.", "examples": [ [ 5.1, 4.9, 5.6, 5.8, 6 ] ], "items": { "type": "number" }, "maxItems": 10000, "minItems": 2, "type": "array" }, "sample_b": { "description": "Raw observations of the second sample (two_sample) or the paired partner values in the same order (paired). Alternatively give mean_b, sd_b and n_b.", "examples": [ [ 4.2, 4.8, 4.4, 4.6, 4.5 ] ], "items": { "type": "number" }, "maxItems": 10000, "minItems": 2, "type": "array" }, "sd_a": { "description": "Sample standard deviation (n − 1) of A, or of the paired differences.", "exclusiveMinimum": 0, "type": "number" }, "sd_b": { "description": "Sample standard deviation (n − 1) of B.", "exclusiveMinimum": 0, "type": "number" } }, "type": "object" }, "name": "calculate_t_test", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "ci_lower": { "description": "Lower limit of the 100·(1 − alpha) % confidence interval for the mean (one_sample) or the mean difference.", "type": "number" }, "ci_upper": { "description": "Upper limit of the same interval.", "type": "number" }, "decision": { "description": "Plain-language conclusion of the two-sided test.", "type": "string" }, "degrees_of_freedom": { "description": "n − 1 for one-sample and paired tests; Welch–Satterthwaite approximation (fractional) for two samples.", "type": "number" }, "mean_a": { "description": "Sample mean of A (paired mode: mean of the differences).", "type": "number" }, "mean_b": { "description": "Sample mean of B (two_sample only).", "type": "number" }, "mean_difference": { "description": "mean_a − hypothesized_mean (one_sample), mean_a − mean_b (two_sample) or mean of a − b (paired).", "type": "number" }, "p_value_one_sided": { "description": "Half the two-sided p: for the alternative in the direction of the observed difference.", "type": "number" }, "p_value_two_sided": { "description": "P(|T| ≥ |t|) under H0.", "type": "number" }, "significant": { "description": "true when p_value_two_sided < alpha.", "type": "boolean" }, "standard_error": { "description": "Standard error of the estimated difference.", "type": "number" }, "t_critical": { "description": "t quantile at 1 − alpha/2 for the degrees of freedom.", "type": "number" }, "t_statistic": { "description": "(estimated difference − hypothesized_mean) / standard_error.", "type": "number" }, "test": { "description": "Which t-test was run and on how many observations.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need daily maintenance calories for an adult, or calorie targets for a mild/standard deficit or surplus. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the person is a child, pregnant or breastfeeding, or you only need the resting rate (use bmr).\nWhat it computes: Estimates total daily energy expenditure from Mifflin-St Jeor BMR and an activity level, and derives calorie targets for maintaining, losing or gaining weight.\nInputs: sex (enum); weight_kg (number, kg); height_cm (number, cm); age_years (number, years); activity_level (enum, optional).\nComplete JSON argument examples: {\"sex\":\"male\",\"weight_kg\":70,\"height_cm\":175,\"age_years\":30,\"activity_level\":\"moderate\"}\nOutputs: bmr_kcal_per_day [kcal/day], activity_multiplier, tdee_kcal_per_day [kcal/day], mild_loss_kcal_per_day [kcal/day], loss_kcal_per_day [kcal/day], mild_gain_kcal_per_day [kcal/day], gain_kcal_per_day [kcal/day].\nFormula: TDEE = BMR(Mifflin-St Jeor) × activity_multiplier; targets = TDEE ± 250 or ± 500 kcal/day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/tdee with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/health/tdee.md", "inputSchema": { "additionalProperties": false, "examples": [ { "activity_level": "moderate", "age_years": 30, "height_cm": 175, "sex": "male", "weight_kg": 70 } ], "properties": { "activity_level": { "default": "moderate", "description": "Weekly exercise level; maps to the standard activity multipliers 1.2 / 1.375 / 1.55 / 1.725 / 1.9.", "enum": [ "sedentary", "light", "moderate", "very_active", "extra_active" ], "examples": [ "moderate" ], "type": "string" }, "age_years": { "description": "Age in years. Unit: years.", "examples": [ 30 ], "maximum": 120, "minimum": 18, "type": "number", "x-unit": "years" }, "height_cm": { "description": "Height in centimetres. Unit: cm.", "examples": [ 175 ], "maximum": 300, "minimum": 50, "type": "number", "x-unit": "cm" }, "sex": { "description": "Biological sex used to select the formula coefficients.", "enum": [ "male", "female" ], "examples": [ "male" ], "type": "string" }, "weight_kg": { "description": "Body weight in kilograms. Unit: kg.", "examples": [ 70 ], "exclusiveMinimum": 0, "maximum": 700, "type": "number", "x-unit": "kg" } }, "required": [ "sex", "weight_kg", "height_cm", "age_years" ], "type": "object" }, "name": "calculate_tdee", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "activity_multiplier": { "description": "Factor applied to BMR.", "type": "number" }, "bmr_kcal_per_day": { "description": "Mifflin-St Jeor basal metabolic rate. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "gain_kcal_per_day": { "description": "Approximately 0.5 kg/week gain. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "loss_kcal_per_day": { "description": "Approximately 0.5 kg/week loss. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "mild_gain_kcal_per_day": { "description": "Approximately 0.25 kg/week gain. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "mild_loss_kcal_per_day": { "description": "Approximately 0.25 kg/week loss. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" }, "tdee_kcal_per_day": { "description": "Calories to maintain current weight. Unit: kcal/day.", "type": "number", "x-unit": "kcal/day" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to add a gratuity to a restaurant, delivery or service bill and optionally divide the total among several people. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when people pay for different items or unequal shares (use bill-split), or you need to add sales tax rather than a tip (use sales-tax).\nWhat it computes: Computes the tip from a bill amount and tip percentage, the total including tip, and the per-person share when the bill is split evenly.\nInputs: bill_amount (number); tip_percent (number, %, optional); split_between (integer, optional).\nComplete JSON argument examples: {\"bill_amount\":85.5,\"tip_percent\":18,\"split_between\":3} | {\"bill_amount\":42,\"tip_percent\":20}\nOutputs: tip_amount, total_amount, total_per_person, tip_per_person, bill_per_person.\nFormula: tip_amount = bill_amount × tip_percent / 100; total_amount = bill_amount + tip_amount; per person = value / split_between\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/tip with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/tip.md", "inputSchema": { "additionalProperties": false, "examples": [ { "bill_amount": 85.5, "split_between": 3, "tip_percent": 18 }, { "bill_amount": 42, "tip_percent": 20 } ], "properties": { "bill_amount": { "description": "Amount on the bill before tip (pre- or post-tax, as you prefer to tip).", "examples": [ 85.5 ], "maximum": 10000000, "minimum": 0, "type": "number" }, "split_between": { "default": 1, "description": "How many people share the bill equally.", "examples": [ 3 ], "maximum": 1000, "minimum": 1, "type": "integer" }, "tip_percent": { "default": 15, "description": "Gratuity as a percent of bill_amount. US restaurant custom is 15–20 %. Unit: %.", "examples": [ 18 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" } }, "required": [ "bill_amount" ], "type": "object" }, "name": "calculate_tip", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bill_per_person": { "description": "bill_amount / split_between.", "type": "number" }, "tip_amount": { "description": "bill_amount × tip_percent / 100.", "type": "number" }, "tip_per_person": { "description": "tip_amount / split_between.", "type": "number" }, "total_amount": { "description": "bill_amount + tip_amount.", "type": "number" }, "total_per_person": { "description": "total_amount / split_between.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a Plum Blossom hexagram cast for a moment or from numbers, with the upper/lower trigram arithmetic, the moving line and the 体/用 five-element reading laid out step by step. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you already have six lines from coins or yarrow (use liuyao for a 六爻 chart or hexagram-change for plain line changes), or you only want a hexagram's text and structure (use hexagram-lookup).\nWhat it computes: Casts an I Ching hexagram by the Plum Blossom (Meihua Yishu) method of Shao Yong from the lunar year, month, day and hour (年月日时起卦) or from two or three given numbers, then derives the moving line, changed hexagram (之卦), nuclear hexagram (互卦), the 体 (Ti, self) and 用 (Yong, matter) trigrams and their five-element relations.\nInputs: method (enum, optional); date (date, optional); time (string, optional); number_1 (integer, optional); number_2 (integer, optional); number_3 (integer, optional); add_hour_to_moving_line (boolean, optional).\nValid input combinations: time_method needs date/time only; two_numbers requires number_1 + number_2; three_numbers requires number_1 + number_2 + number_3.\nComplete JSON argument examples: {\"method\":\"time_method\",\"date\":\"2026-09-24\",\"time\":\"14:30\"} | {\"method\":\"two_numbers\",\"number_1\":3,\"number_2\":7,\"date\":\"2026-09-24\",\"time\":\"12:00\"}\nOutputs: method_used, lunar_date, upper_trigram, lower_trigram, original_hexagram, original_lines, moving_line, moving_line_name, changed_hexagram, nuclear_hexagram, ti_trigram, yong_trigram, ti_element, yong_element, yong_ti_relation, nuclear_relations, changed_relation, ti_seasonal_strength, calculation_trace, reading_hint, disclaimer.\nFormula: Time method: year = branch number of the lunar year (子 = 1 … 亥 = 12), month = lunar month, day = lunar day, hour = 时辰 number (子 = 1 … 亥 = 12); upper = (year + month + day) mod 8, lower = (year + month + day + hour) mod 8, moving line = (year + month + day + hour) mod 6 (remainder 0 → 8 or 6); trigram numbers in earlier-heaven order 乾1 兑2 离3 震4 巽5 坎6 艮7 坤8. Two numbers: upper = number_1 mod 8, lower = number_2 mod 8, moving = (number_1 + number_2 [+ hour]) mod 6. Three numbers: moving = number_3 mod 6. 体 = trigram without the moving line, 用 = trigram with it; relations by the five-element generating (木→火→土→金→水) and controlling (木→土→水→火→金) cycles.\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/meihua-yishu with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/yijing/meihua-yishu.md", "inputSchema": { "additionalProperties": false, "anyOf": [ { "properties": { "method": { "const": "time_method" } } }, { "properties": { "method": { "const": "two_numbers" } }, "required": [ "method", "number_1", "number_2" ] }, { "properties": { "method": { "const": "three_numbers" } }, "required": [ "method", "number_1", "number_2", "number_3" ] } ], "description": "time_method needs date/time only; two_numbers requires number_1 + number_2; three_numbers requires number_1 + number_2 + number_3.", "examples": [ { "date": "2026-09-24", "method": "time_method", "time": "14:30" }, { "date": "2026-09-24", "method": "two_numbers", "number_1": 3, "number_2": 7, "time": "12:00" } ], "properties": { "add_hour_to_moving_line": { "default": false, "description": "Two-number method only: some schools add the 时辰 number (子 = 1 … 亥 = 12) of the given time before taking mod 6.", "examples": [ false ], "type": "boolean" }, "date": { "default": "today", "description": "Civil date in China Standard Time (UTC+8), 1900–2100; defaults to today.", "examples": [ "2026-09-24" ], "format": "date", "type": "string" }, "method": { "default": "time_method", "description": "How the trigrams and the moving line are derived.", "enum": [ "time_method", "two_numbers", "three_numbers" ], "examples": [ "time_method" ], "type": "string" }, "number_1": { "description": "First number for the number methods; mod 8 gives the upper trigram (0 counts as 8).", "examples": [ 3 ], "maximum": 1000000000, "minimum": 1, "type": "integer" }, "number_2": { "description": "Second number for the number methods; mod 8 gives the lower trigram.", "examples": [ 7 ], "maximum": 1000000000, "minimum": 1, "type": "integer" }, "number_3": { "description": "Third number for the three-number method; mod 6 gives the moving line (0 counts as 6).", "examples": [ 4 ], "maximum": 1000000000, "minimum": 1, "type": "integer" }, "time": { "default": "12:00", "description": "Clock time HH:MM (China Standard Time) that fixes the 时辰 (double hour) for the time method or the optional hour addition.", "examples": [ "14:30" ], "type": "string" } }, "type": "object" }, "name": "cast_plum_blossom_hexagram", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calculation_trace": { "description": "Every sum and remainder used.", "items": { "type": "string" }, "type": "array" }, "changed_hexagram": { "description": "Hexagram obtained by changing the moving line.", "type": "string" }, "changed_relation": { "description": "The changed hexagram's 用-side trigram against 体 (the tendency of the outcome).", "type": "string" }, "disclaimer": { "description": "Cultural framing of the result.", "type": "string" }, "lower_trigram": { "description": "Character, symbol, pinyin, nature and element.", "type": "string" }, "lunar_date": { "description": "Chinese lunar date of the given civil date with the sexagenary year.", "type": "string" }, "method_used": { "description": "Casting method applied.", "type": "string" }, "moving_line": { "description": "Position of the moving line, 1 = bottom.", "type": "integer" }, "moving_line_name": { "description": "Traditional line name such as 初九 or 六二 with pinyin.", "type": "string" }, "nuclear_hexagram": { "description": "Hexagram formed by lines 2–4 (lower) and 3–5 (upper).", "type": "string" }, "nuclear_relations": { "description": "Each nuclear trigram treated as 用 against 体.", "items": { "type": "string" }, "type": "array" }, "original_hexagram": { "description": "King Wen number, full Chinese name, symbol, pinyin and Wilhelm title.", "type": "string" }, "original_lines": { "description": "Six digits bottom→top, 1 = yang, 0 = yin.", "type": "string" }, "reading_hint": { "description": "Which classical texts to read for this cast.", "type": "string" }, "ti_element": { "description": "Five-element (五行) of the 体 trigram.", "type": "string" }, "ti_seasonal_strength": { "description": "旺相休囚死 of the 体 element in the solar-term month of the date (spring Wood 旺, summer Fire 旺, autumn Metal 旺, winter Water 旺, 辰戌丑未 months Earth 旺).", "type": "string" }, "ti_trigram": { "description": "The trigram without the moving line, representing the querent.", "type": "string" }, "upper_trigram": { "description": "Character, symbol, pinyin, nature and element.", "type": "string" }, "yong_element": { "description": "Five-element of the 用 trigram.", "type": "string" }, "yong_ti_relation": { "description": "生克 relation of 用 to 体: 用生体 favourable, 体生用 draining, 用克体 unfavourable, 体克用 favourable/minor gain, 比和 harmonious.", "type": "string" }, "yong_trigram": { "description": "The trigram containing the moving line, representing the matter asked about.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Argentina Argentina nationwide national holidays and published tourism non-working days for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Argentina: Argentina national holiday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-25\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/argentina-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/argentina-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-25" } ], "properties": { "date": { "description": "Gregorian date in Argentina coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ar_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "argentina-public-holidays", "type": "string" }, "calendar_scope": { "description": "Argentina nationwide national holidays and published tourism non-working days for 2026", "type": "string" }, "dataset_version": { "description": "ar-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit", "type": "string" }, "territory": { "description": "AR (Argentina).", "type": "string" }, "territory_name": { "description": "Argentina", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Austria Austria nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Austria: Austrian National Day. | Austria: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-10-26\"} | {\"date\":\"2026-10-27\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/austria-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/austria-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-26" }, { "date": "2026-10-27" } ], "properties": { "date": { "description": "Gregorian date in Austria coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_at_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "austria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Austria nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "at-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.", "type": "string" }, "territory": { "description": "AT (Austria).", "type": "string" }, "territory_name": { "description": "Austria", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a state/territory-wide Australian public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you do not know the state/territory, or you need a local council, regional, employer, exchange or industry calendar.\nWhat it computes: Checks an Australian date for a required state or territory using the Fair Work Ombudsman 2026-2027 public-holiday tables and explicit scope limitations.\nExample user requests: Is 2026-04-27 a working day in NSW? | Check 2027-12-27 in Victoria.\nInputs: date (date); division (enum).\nComplete JSON argument examples: {\"date\":\"2026-04-27\",\"division\":\"nsw\"}\nOutputs: territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version.\nFormula: is_working_day = CLDR AU weekend baseline and no state/territory-wide full-day public holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/australia-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-27", "division": "nsw" } ], "properties": { "date": { "description": "Gregorian date in 2026-2027.", "examples": [ "2026-04-27" ], "format": "date", "type": "string" }, "division": { "description": "Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.", "enum": [ "act", "nsw", "nt", "qld", "sa", "tas", "vic", "wa" ], "examples": [ "nsw" ], "type": "string" } }, "required": [ "date", "division" ], "type": "object" }, "name": "check_australia_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "australia-fairwork-public-holidays.", "type": "string" }, "calendar_scope": { "description": "State/territory-wide full-day public holidays plus weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Fair Work package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized state/territory code.", "type": "string" }, "division_name": { "description": "State/territory name.", "type": "string" }, "holiday_names": { "description": "Full-day public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an additional/substitute date is explicitly listed.", "type": "boolean" }, "is_working_day": { "description": "True when the date is not a weekend or included full-day state/territory public holiday.", "type": "boolean" }, "limited_or_part_day_events": { "description": "Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.", "items": { "type": "string" }, "type": "array" }, "regional_policy": { "description": "Limited-event policy.", "type": "string" }, "source_quality": { "description": "Official government sources with state/territory scope.", "type": "string" }, "territory": { "description": "AU.", "type": "string" }, "territory_name": { "description": "Australia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR baseline weekend.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Bangladesh Bangladesh 2026 government public-office holiday schedule plus later election-period national closures result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice.\nWhat it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Bangladesh: Election-period special holiday. | Bangladesh: Eid-ul-Adha period.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-02-11\"} | {\"date\":\"2026-05-31\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bangladesh-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bangladesh-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-02-11" }, { "date": "2026-05-31" } ], "properties": { "date": { "description": "Gregorian date in Bangladesh's pinned 2026 government/public-office holiday coverage over a Friday-Saturday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_bd_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "bangladesh-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bangladesh 2026 government public-office holiday schedule plus later election-period national closures", "type": "string" }, "dataset_version": { "description": "bd-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred", "type": "string" }, "territory": { "description": "BD (Bangladesh).", "type": "string" }, "territory_name": { "description": "Bangladesh", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Belgium Belgium ten statutory private-sector public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Belgium: Belgian National Day. | Belgium: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-07-21\"} | {\"date\":\"2026-07-22\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/belgium-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/belgium-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-07-21" }, { "date": "2026-07-22" } ], "properties": { "date": { "description": "Gregorian date in Belgium coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_be_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "belgium-public-holidays", "type": "string" }, "calendar_scope": { "description": "Belgium ten statutory private-sector public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "be-legal-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking.", "type": "string" }, "territory": { "description": "BE (Belgium).", "type": "string" }, "territory_name": { "description": "Belgium", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Bulgaria Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; education-only holidays do not create general rest.\nExample user requests: Bulgaria: One-off euro transition rest, not statutory holiday. | Bulgaria: May 24 Sunday replacement. | Bulgaria: No nationwide school-holiday substitute.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-01-02\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-05-25\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-11-02\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope.\nFormula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bulgaria-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-02", "work_schedule": "mon_fri_planning" }, { "date": "2026-05-25", "work_schedule": "mon_fri_planning" }, { "date": "2026-11-02", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Bulgaria coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_bg_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "bulgaria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "bg-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance", "type": "string" }, "is_education_only_holiday": { "description": "November 1 education-only annotation; not extra general rest.", "type": "boolean" }, "is_observed_non_attendance_day": { "description": "Whether result.date is a pinned article 154(2) observed rest date.", "type": "boolean" }, "is_one_off_non_attendance_day": { "description": "Whether result.date is January 2, 2026 one-off non-attendance.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.", "type": "boolean" }, "is_working_day": { "description": "Working date in the explicit mon_fri_planning nationwide baseline, not an individual or school roster.", "type": "boolean" }, "observed_for_dates": { "description": "Original statutory holiday dates for observed non-attendance, or an empty list.", "items": { "type": "string" }, "type": "array" }, "payroll_scope": { "description": "Always not_computed; holiday and non-attendance pay rules differ.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates", "type": "string" }, "territory": { "description": "BG (Bulgaria).", "type": "string" }, "territory_name": { "description": "Bulgaria", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Brazil Brazil federal executive public administration (SIPEC) result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Brazil: Tiradentes.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-04-21\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/brazil-federal-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/brazil-federal-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-21" } ], "properties": { "date": { "description": "Gregorian date in Brazil coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_br_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "brazil-federal-holidays", "type": "string" }, "calendar_scope": { "description": "Brazil federal executive public administration (SIPEC)", "type": "string" }, "dataset_version": { "description": "br-mgi-federal-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No private-sector, state or municipal substitute-day rule is inferred", "type": "string" }, "territory": { "description": "BR (Brazil).", "type": "string" }, "territory_name": { "description": "Brazil", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a federally regulated-employer general-holiday result for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a province/territory, municipal, private-employer, exchange or schedule-specific substitute-day calendar.\nWhat it computes: Checks a date against the 10 Canada Labour Code general holidays and the Canada Saturday/Sunday baseline; substitute days are not inferred.\nExample user requests: Is 2026-09-30 a Canada federal working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-09-30\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Canada weekday baseline and no Canada Labour Code general holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/canada-federal-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-09-30" } ], "properties": { "date": { "description": "Gregorian date in the pinned Canada 2026-2027 coverage.", "examples": [ "2026-09-30" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_canada_federal_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "canada-federal-general-holidays.", "type": "string" }, "calendar_scope": { "description": "Federally regulated employers only.", "type": "string" }, "dataset_version": { "description": "Pinned Canada.ca evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or Canada federal general holiday.", "type": "string" }, "holiday_actual_dates": { "description": "Actual general-holiday dates.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Canada Labour Code general holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "False because substitute dates depend on schedule and agreement and are not inferred.", "type": "boolean" }, "is_working_day": { "description": "True when the Canada Saturday/Sunday baseline has no listed federal general holiday.", "type": "boolean" }, "rest_day_policy": { "description": "Scheduled-workday and employer substitution rules are not inferred.", "type": "string" }, "sources": { "description": "Official Canada.ca and Canada Labour Code sources.", "type": "array" }, "substitute_day_policy": { "description": "Canada.ca rule summary with schedule-dependent boundary.", "type": "string" }, "territory": { "description": "CA.", "type": "string" }, "territory_name": { "description": "Canada.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Switzerland Switzerland federal public holiday layer for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Switzerland: Swiss National Day. | Switzerland: Cantonal holiday is not inferred.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-08-01\"} | {\"date\":\"2026-09-10\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/switzerland-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/switzerland-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-08-01" }, { "date": "2026-09-10" } ], "properties": { "date": { "description": "Gregorian date in Switzerland coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ch_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "switzerland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Switzerland federal public holiday layer for 2026-2027", "type": "string" }, "dataset_version": { "description": "ch-federal-public-holiday-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swiss National Day on 1 August is included as the only federal public holiday.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when 1 August falls on a weekend.", "type": "string" }, "territory": { "description": "CH (Switzerland).", "type": "string" }, "territory_name": { "description": "Switzerland", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to know whether a specific 2024-2026 date is a working day in mainland China, especially around Spring Festival, National Day or another adjusted holiday. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a Hong Kong, Macao, Taiwan, local minority, school, employer, bank-settlement or stock-exchange calendar, or a year outside 2024-2026.\nWhat it computes: Checks whether a date is an official national working day in mainland China, including weekend makeup workdays (调休上班) and multi-day holiday periods from State Council notices.\nExample user requests: Is Sunday 2026-01-04 an official working day in mainland China? | 2026年9月20日是休息日还是调休上班? | Will mainland China offices normally work on 2026-02-18?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-01-04\"} | {\"date\":\"2026-02-18\"}\nOutputs: date, weekday, is_working_day, day_type, holiday_name, holiday_name_zh, status_basis, jurisdiction, source_document_id, source_published_at, source_url, dataset_version, coverage_start, coverage_end.\nFormula: adjusted weekend workday override → working; else official holiday-period override → non-working; else Monday-Friday → working; Saturday-Sunday → non-working\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/china-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-04" }, { "date": "2026-02-18" } ], "properties": { "date": { "description": "Mainland China civil date (YYYY-MM-DD), within 2024-2026.", "examples": [ "2026-01-04" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_china_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "coverage_end": { "description": "Last supported date in this package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Version of the source-traceable mainland China work-calendar package.", "type": "string" }, "date": { "description": "The checked civil date.", "format": "date", "type": "string" }, "day_type": { "description": "adjusted_workday, official_holiday_period, regular_weekday or regular_weekend.", "type": "string" }, "holiday_name": { "description": "English holiday name when the date belongs to or compensates for a holiday; otherwise empty.", "type": "string" }, "holiday_name_zh": { "description": "Chinese holiday name when applicable; otherwise empty.", "type": "string" }, "is_working_day": { "description": "True for a regular weekday or official adjusted weekend working day.", "type": "boolean" }, "jurisdiction": { "description": "Calendar scope.", "type": "string" }, "source_document_id": { "description": "Official State Council notice identifier for the date's year.", "type": "string" }, "source_published_at": { "description": "Publication date of the official annual notice.", "format": "date", "type": "string" }, "source_url": { "description": "Official Chinese Government source URL.", "type": "string" }, "status_basis": { "description": "Why the date is treated as working or non-working.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Chile Chile nationwide statutory/public holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Chile's nationwide statutory/public-holiday layer over a Saturday-Sunday baseline. Regional/local holidays, school, bank, private-employer, sector and collective-agreement schedules are not inferred. Commerce mandatory-rest exceptions are preserved as provenance but are not generalized to every worker. Future annual dates require refreshed official evidence.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Chile: Chile Labour Day. | Chile: Chile ordinary working day. | Chile: Chile winter-solstice Indigenous Peoples Day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-01\"} | {\"date\":\"2026-09-14\"} | {\"date\":\"2026-06-21\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/chile-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-01" }, { "date": "2026-09-14" }, { "date": "2026-06-21" } ], "properties": { "date": { "description": "Gregorian date in Chile's pinned 2026 nationwide statutory/public-holiday coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_cl_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "chile-public-holidays", "type": "string" }, "calendar_scope": { "description": "Chile nationwide statutory/public holidays for 2026", "type": "string" }, "dataset_version": { "description": "cl-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Chile_Ley_2977_plus_related_statutory_and_labour_rules", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CL (Chile).", "type": "string" }, "territory_name": { "description": "Chile", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Colombia Colombia nationwide statutory paid-rest public holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Colombia: Colombia transferred Three Kings holiday. | Colombia: Colombia Good Friday. | Colombia: Ordinary Colombia working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-01-12\"} | {\"date\":\"2026-04-03\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/colombia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/colombia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-12" }, { "date": "2026-04-03" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Colombia's pinned 2026 nationwide statutory paid-rest holiday coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_co_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "colombia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Colombia nationwide statutory paid-rest public holidays for 2026", "type": "string" }, "dataset_version": { "description": "co-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CO (Colombia).", "type": "string" }, "territory_name": { "description": "Colombia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Czech Republic Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; commemorative events do not create rest.\nExample user requests: Czech Republic: Two names on January 1, one rest date. | Czech Republic: Education commemorative day remains a planning workday. | Czech Republic: November 17 is a Czech statutory rest day.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-01-01\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-07\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-11-17\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope.\nFormula: planning_workday = weekday AND no state_holiday AND no other_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/czech-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-01", "work_schedule": "mon_fri_planning" }, { "date": "2026-04-07", "work_schedule": "mon_fri_planning" }, { "date": "2026-11-17", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Czech Republic coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a statutory universal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_cz_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "czech-public-holidays", "type": "string" }, "calendar_scope": { "description": "Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "cz-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_245_2000_sections_1_2_3_rest_section_4_commemorative", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has a section 4 event effective at that occurrence; does not add rest.", "type": "boolean" }, "is_other_holiday": { "description": "Whether result.date is a section 2 other holiday.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is a section 1 state holiday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a statutory holiday under section 1 or 2.", "type": "boolean" }, "is_working_day": { "description": "Working date in the explicitly selected mon_fri_planning baseline, not an individual roster.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute Monday inferred", "type": "string" }, "territory": { "description": "CZ (Czech Republic).", "type": "string" }, "territory_name": { "description": "Czech Republic", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Germany Germany nationwide statutory public holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Germany: German Unity Day. | Germany: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-10-03\"} | {\"date\":\"2026-10-13\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/germany-national-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/germany-national-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-03" }, { "date": "2026-10-13" } ], "properties": { "date": { "description": "Gregorian date in Germany coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_de_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "germany-national-holidays", "type": "string" }, "calendar_scope": { "description": "Germany nationwide statutory public holidays for 2026", "type": "string" }, "dataset_version": { "description": "de-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DE (Germany).", "type": "string" }, "territory_name": { "description": "Germany", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Denmark Denmark nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Denmark: Ascension Day. | Denmark: Constitution Day is not a statutory holiday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-14\"} | {\"date\":\"2026-06-05\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/denmark-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/denmark-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-14" }, { "date": "2026-06-05" } ], "properties": { "date": { "description": "Gregorian date in Denmark coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_dk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "denmark-public-holidays", "type": "string" }, "calendar_scope": { "description": "Denmark nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "dk-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DK (Denmark).", "type": "string" }, "territory_name": { "description": "Denmark", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Estonia Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest.\nExample user requests: Estonia: Independence Day is statutory rest. | Estonia: Shortened working date is not full-day rest. | Estonia: National importance does not imply rest.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-02-24\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-02-23\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-11-16\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/estonia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-02-24", "work_schedule": "mon_fri_planning" }, { "date": "2026-02-23", "work_schedule": "mon_fri_planning" }, { "date": "2026-11-16", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Estonia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_ee_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "estonia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ee-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest", "type": "string" }, "is_day_of_national_importance": { "description": "Whether result.date is a PTS section 3 observance without extra rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.", "type": "boolean" }, "is_working_day": { "description": "Working date in explicit mon_fri_planning, not individual attendance; a shortened date counts once.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "shortening_scope": { "description": "Conditions and limits of shortening.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_unpublished_substitute_or_bridge_day_inferred", "type": "string" }, "territory": { "description": "EE (Estonia).", "type": "string" }, "territory_name": { "description": "Estonia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Egypt Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package.\nWhat it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Egypt: Eid al-Fitr public holiday. | Egypt: Ordinary Egypt working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-03-20\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/egypt-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/egypt-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-03-20" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Egypt's pinned 2026 official public-holiday coverage over a Friday-Saturday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_eg_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "egypt-public-holidays", "type": "string" }, "calendar_scope": { "description": "Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies", "type": "string" }, "dataset_version": { "description": "eg-official-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference", "type": "string" }, "territory": { "description": "EG (Egypt).", "type": "string" }, "territory_name": { "description": "Egypt", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Spain Spain nationwide national non-substitutable labour holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Spain: National Day. | Spain: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-10-12\"} | {\"date\":\"2026-10-13\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/spain-national-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/spain-national-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-12" }, { "date": "2026-10-13" } ], "properties": { "date": { "description": "Gregorian date in Spain coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_es_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "spain-national-holidays", "type": "string" }, "calendar_scope": { "description": "Spain nationwide national non-substitutable labour holidays for 2026", "type": "string" }, "dataset_version": { "description": "es-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Autonomous-community substitution choices and local compensatory arrangements are not inferred.", "type": "string" }, "territory": { "description": "ES (Spain).", "type": "string" }, "territory_name": { "description": "Spain", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Finland Finland nationwide church and national full-day public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Finland: Independence Day. | Finland: Midsummer Eve is agreement-dependent.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-12-06\"} | {\"date\":\"2026-06-19\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/finland-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/finland-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-12-06" }, { "date": "2026-06-19" } ], "properties": { "date": { "description": "Gregorian date in Finland coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_fi_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "finland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Finland nationwide church and national full-day public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "fi-nationwide-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.", "type": "string" }, "territory": { "description": "FI (Finland).", "type": "string" }, "territory_name": { "description": "Finland", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic France France national legal public holidays result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: France: Bastille Day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-07-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/france-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/france-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-07-14" } ], "properties": { "date": { "description": "Gregorian date in France coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_fr_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "france-public-holidays", "type": "string" }, "calendar_scope": { "description": "France national legal public holidays", "type": "string" }, "dataset_version": { "description": "fr-legifrance-public-holidays-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence", "type": "string" }, "territory": { "description": "FR (France).", "type": "string" }, "territory_name": { "description": "France", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Ghana Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Ghana: Republic Day observed. | Ghana: Ordinary Ghana working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-07-03\"} | {\"date\":\"2026-06-16\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ghana-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ghana-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-07-03" }, { "date": "2026-06-16" } ], "properties": { "date": { "description": "Gregorian date in Ghana's pinned 2026 nationwide statutory/public-holiday coverage over a Saturday-Sunday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_gh_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "ghana-public-holidays", "type": "string" }, "calendar_scope": { "description": "Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "gh-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice", "type": "string" }, "territory": { "description": "GH (Ghana).", "type": "string" }, "territory_name": { "description": "Ghana", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a source-labelled 2026-2028 public-holiday reference for one of the supported OpenHolidays countries and nationwide-only semantics are acceptable. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an official direct authority result, regional/local holidays, substitute-day rules, employer/bank/exchange closures, or a date outside 2026-2028; use the verified China/UK package or the CLDR baseline as appropriate.\nWhat it computes: Checks a date for a supported country using CLDR weekend rules plus nationwide public-holiday events from a pinned OpenHolidays open-data snapshot, with explicit non-authority and substitute-day limits.\nExample user requests: Is 2026-10-26 a working day in Austria after nationwide public holidays are excluded? | Check 2027-05-01 in France using the OpenHolidays nationwide reference.\nInputs: date (date); territory (enum).\nComplete JSON argument examples: {\"date\":\"2026-10-26\",\"territory\":\"AT\"}\nOutputs: territory, territory_name, weekday, is_working_day, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit.\nFormula: is_working_day = CLDR weekday(date) and no included nationwide public-holiday event(date, territory)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-public-holiday-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-26", "territory": "AT" } ], "properties": { "date": { "description": "Gregorian date from 2026-01-01 through 2028-12-31.", "examples": [ "2026-10-26" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.", "enum": [ "AD", "AL", "AT", "BE", "BG", "BY", "CH", "CZ", "DE", "EE", "ES", "FR", "HR", "HU", "IE", "IT", "LI", "LT", "LU", "LV", "MC", "MD", "MT", "MX", "NL", "PL", "PT", "RO", "RS", "SE", "SI", "SK", "SM", "VA", "ZA" ], "examples": [ "DE" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "date", "territory" ], "type": "object" }, "name": "check_global_public_holiday_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "global-public-holiday-reference.", "type": "string" }, "calendar_scope": { "description": "Weekday plus nationwide public-holiday reference.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenHolidays snapshot version.", "type": "string" }, "holiday_names": { "description": "Included nationwide public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nationwide public events only; regional and substitute-day rules are not inferred.", "type": "string" }, "is_working_day": { "description": "True when the date is outside the CLDR weekend and has no included nationwide public-holiday event.", "type": "boolean" }, "source_commit": { "description": "Immutable source-data repository commit.", "type": "string" }, "source_quality": { "description": "Open public-source aggregation, not a direct national authority feed.", "type": "string" }, "substitute_day_policy": { "description": "not_inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "English country name from the source catalogue.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used as the base rule.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need broad 2026-2028 working-day reference coverage and accept national-scope open-derived semantics rather than a direct authority calendar. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an official direct authority, a regional/employer/bank/exchange calendar, a legal determination, or a date outside 2026-2028; use the official China/UK package or the CLDR baseline as appropriate.\nWhat it computes: Checks a date across 246 country/territory codes using a pinned OpenWorkdays national-scope public-holiday reference, country weekend rules and explicit working-weekend dates, with estimated/observed flags and non-authority limits.\nExample user requests: Is 2026-10-26 a working day in Australia using the broad national reference? | Check 2027-02-25 in Saudi Arabia and show whether the holiday date is estimated.\nInputs: date (date); territory (enum).\nComplete JSON argument examples: {\"date\":\"2026-10-26\",\"territory\":\"AU\"}\nOutputs: territory, territory_name, source_territory_name, weekday, is_working_day, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url.\nFormula: is_working_day = not source_weekend(date) and not source_public_holiday(date, country); explicit source working-weekend dates override the weekend classification\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-reference-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-26", "territory": "AU" } ], "properties": { "date": { "description": "Gregorian date from 2026-01-01 through 2028-12-31.", "examples": [ "2026-10-26" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.", "enum": [ "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "date", "territory" ], "type": "object" }, "name": "check_global_reference_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "global-working-day-reference.", "type": "string" }, "calendar_scope": { "description": "National reference plus country weekend and explicit working-weekend dates.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenWorkdays snapshot version.", "type": "string" }, "holiday_estimated": { "description": "True when an included event is marked estimated by the source.", "type": "boolean" }, "holiday_names": { "description": "Included national-scope public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an included event is marked observed by the source.", "type": "boolean" }, "holiday_policy": { "description": "National-scope events with source observed/estimated flags preserved.", "type": "string" }, "is_working_day": { "description": "True when the date is neither a source country weekend nor an included public-holiday event.", "type": "boolean" }, "source_quality": { "description": "Open derived reference, not a direct national authority feed.", "type": "string" }, "source_territory_name": { "description": "Raw country name from the hash-pinned OpenWorkdays source catalogue.", "type": "string" }, "source_url": { "description": "Pinned OpenWorkdays source index.", "type": "string" }, "substitute_day_policy": { "description": "Source flags are preserved; no new substitute-day rule is inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Weekend convention supplied by the source country file.", "items": { "type": "string" }, "type": "array" }, "working_weekend_day": { "description": "True when the source explicitly marks a weekend date as an official working day.", "type": "boolean" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a worldwide weekday/weekend check and have a CLDR alpha-2 territory code, but do not need public-holiday exclusions. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need public holidays, substitute holidays, employer closures, bank settlement, stock exchange, school, religious or emergency closure rules; use a jurisdiction-specific evidence package instead.\nWhat it computes: Checks a Gregorian date for any supported CLDR alpha-2 territory code using the pinned Unicode CLDR weekend convention, with explicit holiday exclusions and provenance.\nExample user requests: Is 2026-10-05 a working day in Australia under the territory weekend rule? | Check whether Friday 2026-06-12 is a weekday in Saudi Arabia. | 判断 2026-10-01 在印度按周末规则是否为工作日。\nInputs: date (date); territory (enum).\nComplete JSON argument examples: {\"date\":\"2026-10-05\",\"territory\":\"AU\"}\nOutputs: date, territory, territory_display_name, weekday, is_working_day, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url.\nFormula: is_working_day = weekday(date) not in CLDR(territory).weekendStart..weekendEnd\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-05", "territory": "AU" } ], "properties": { "date": { "description": "Gregorian date from 1900-01-01 through 2100-12-31.", "examples": [ "2026-10-05" ], "format": "date", "type": "string" }, "territory": { "description": "CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.", "enum": [ "AC", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BU", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CP", "CQ", "CR", "CS", "CU", "CV", "CW", "CX", "CY", "CZ", "DD", "DE", "DG", "DJ", "DK", "DM", "DO", "DZ", "EA", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "EU", "EZ", "FI", "FJ", "FK", "FM", "FO", "FR", "FX", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NT", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "QO", "QU", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SU", "SV", "SX", "SY", "SZ", "TA", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TP", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "UN", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YD", "YE", "YT", "YU", "ZA", "ZM", "ZR", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "date", "territory" ], "type": "object" }, "name": "check_global_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "Machine-readable profile id: global-weekday-baseline.", "type": "string" }, "calendar_scope": { "description": "weekday_pattern_only; public holidays are intentionally not included.", "type": "string" }, "calendar_selection_catalog_url": { "description": "Use this catalog before selecting a jurisdiction-specific holiday package.", "type": "string" }, "dataset_version": { "description": "Pinned CLDR weekend-data version.", "type": "string" }, "date": { "description": "Checked Gregorian date.", "format": "date", "type": "string" }, "holiday_policy": { "description": "public_holidays_not_included for this global baseline.", "type": "string" }, "is_working_day": { "description": "True when the date is not in the territory's CLDR weekend range.", "type": "boolean" }, "source_url": { "description": "Pinned CLDR JSON source.", "type": "string" }, "territory": { "description": "Normalized uppercase CLDR territory code.", "type": "string" }, "territory_display_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Territory weekend convention from CLDR.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Greece Greece nationwide compulsory public holidays under the employment-law layer for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Greece: Greece Easter Monday. | Greece: Greece ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-04-13\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/greece-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/greece-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-13" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Greece's pinned 2026 nationwide compulsory public-holiday coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_gr_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "greece-public-holidays", "type": "string" }, "calendar_scope": { "description": "Greece nationwide compulsory public holidays under the employment-law layer for 2026", "type": "string" }, "dataset_version": { "description": "gr-labour-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article_60_Law_4808_2021_compulsory_public_holidays", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence", "type": "string" }, "territory": { "description": "GR (Greece).", "type": "string" }, "territory_name": { "description": "Greece", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic 中国香港特别行政区 Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred.\nWhat it computes: Checks a date against the Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: 中国香港特别行政区: 2027 Lunar New Year substitute. | 中国香港特别行政区: 2026 Ching Ming substitution.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-09\"} | {\"date\":\"2026-04-06\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hong-kong-general-holidays-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hong-kong-general-holidays-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-09" }, { "date": "2026-04-06" } ], "properties": { "date": { "description": "Gregorian date in the pinned Hong Kong Government 2026-2027 general-holiday coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_hk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "hong-kong-general-holidays", "type": "string" }, "calendar_scope": { "description": "Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only", "type": "string" }, "dataset_version": { "description": "hk-general-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred", "type": "string" }, "territory": { "description": "HK (中国香港特别行政区).", "type": "string" }, "territory_name": { "description": "中国香港特别行政区", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Croatia Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest.\nExample user requests: Croatia: Good Friday is not a general statutory holiday. | Croatia: Corpus Christi. | Croatia: Independence memorial is not a rest holiday.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-04-03\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-06-04\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-06-25\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope.\nFormula: planning_workday = weekday AND no article_1_statutory_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/croatia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-03", "work_schedule": "mon_fri_planning" }, { "date": "2026-06-04", "work_schedule": "mon_fri_planning" }, { "date": "2026-06-25", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Croatia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual statutory roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_hr_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "croatia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "hr-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has an article 2 memorial; this does not add rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an article 1 general statutory holiday.", "type": "boolean" }, "is_working_day": { "description": "Working date in explicit mon_fri_planning article 1 general scope, not individual attendance or religious leave.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "religious_rest_scope": { "description": "article_3_person_specific_not_computed: no union or inferred personal religious identity.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_4_no_next_day_transfer; no_unpublished_substitute_inferred", "type": "string" }, "territory": { "description": "HR (Croatia).", "type": "string" }, "territory_name": { "description": "Croatia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Hungary Hungary 2026 general Monday-Friday work schedule result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates.\nExample user requests: Hungary: Working Saturday compensates August 21. | Hungary: Christmas Eve is transferred rest, not statutory holiday. | Hungary: Whit Monday.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-08-08\",\"work_schedule\":\"general_monday_friday\"} | {\"date\":\"2026-12-24\",\"work_schedule\":\"general_monday_friday\"} | {\"date\":\"2026-05-25\",\"work_schedule\":\"general_monday_friday\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope.\nFormula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hungary-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-08-08", "work_schedule": "general_monday_friday" }, { "date": "2026-12-24", "work_schedule": "general_monday_friday" }, { "date": "2026-05-25", "work_schedule": "general_monday_friday" } ], "properties": { "date": { "description": "Gregorian date in Hungary coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.", "enum": [ "general_monday_friday" ], "examples": [ "general_monday_friday" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_hu_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "hungary-public-holidays", "type": "string" }, "calendar_scope": { "description": "Hungary 2026 general Monday-Friday work schedule", "type": "string" }, "dataset_version": { "description": "hu-general-work-calendar-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_I_2012_102_1_and_NGM_10_2025", "type": "string" }, "is_makeup_working_day": { "description": "Whether result.date is a published working Saturday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Labour Code 102(1) holiday.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Whether result.date is one of the three NGM rest dates.", "type": "boolean" }, "is_working_day": { "description": "General-schedule working date, including the three published makeup Saturdays.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only three published 2026 transfer pairs; no substitute Monday inferred", "type": "string" }, "territory": { "description": "HU (Hungary).", "type": "string" }, "territory_name": { "description": "Hungary", "type": "string" }, "transfer_pair": { "description": "Paired working/rest dates and legal basis for result.date, otherwise empty object.", "type": "object" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicitly selected general_monday_friday schedule.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Indonesia Indonesia national holidays and joint-leave schedule published by the three-minister SKB result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Indonesia: National holiday. | Indonesia: Joint leave is separately labelled.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-08-17\"} | {\"date\":\"2027-03-12\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/indonesia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/indonesia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-08-17" }, { "date": "2027-03-12" } ], "properties": { "date": { "description": "Gregorian date in Indonesia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_id_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "indonesia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Indonesia national holidays and joint-leave schedule published by the three-minister SKB", "type": "string" }, "dataset_version": { "description": "id-skb-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.", "type": "string" }, "territory": { "description": "ID (Indonesia).", "type": "string" }, "territory_name": { "description": "Indonesia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic 2026 central-government office baseline and can specify Delhi/New Delhi versus outside Delhi. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a state, Union Territory, bank, employer, school, exchange, or an outside-Delhi locally selected optional-holiday calendar.\nWhat it computes: Checks a 2026 date against the Department of Personnel and Training central-government holiday schedule, preserving Gazetted and Restricted distinctions.\nExample user requests: Is 2026-10-20 a working day for India's central government office in Delhi? | Is 2026-08-28 a guaranteed closure or only a restricted holiday option outside Delhi?\nInputs: date (date); office_scope (enum).\nComplete JSON argument examples: {\"date\":\"2026-10-20\",\"office_scope\":\"delhi_new_delhi\"} | {\"date\":\"2026-08-28\",\"office_scope\":\"outside_delhi\"}\nOutputs: territory, territory_name, office_scope, office_scope_name, weekday, is_working_day, is_guaranteed_non_working_day, day_type, gazetted_holiday_names, restricted_holiday_names, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = India Saturday/Sunday baseline and no applicable Gazetted holiday; Restricted holidays remain options\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/india-central-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-10-20", "office_scope": "delhi_new_delhi" }, { "date": "2026-08-28", "office_scope": "outside_delhi" } ], "properties": { "date": { "description": "Gregorian date in the pinned 2026 DoPT coverage.", "examples": [ "2026-10-20" ], "format": "date", "type": "string" }, "office_scope": { "description": "Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.", "enum": [ "delhi_new_delhi", "outside_delhi" ], "examples": [ "delhi_new_delhi" ], "type": "string" } }, "required": [ "date", "office_scope" ], "type": "object" }, "name": "check_india_central_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "in-dopt-central-government-holidays.", "type": "string" }, "calendar_scope": { "description": "Exact data scope.", "type": "string" }, "dataset_version": { "description": "Pinned DoPT package version.", "type": "string" }, "day_type": { "description": "Weekly rest day, gazetted holiday, restricted option or regular weekday.", "type": "string" }, "gazetted_holiday_names": { "description": "Gazetted holidays applying to the selected central-government scope.", "items": { "type": "string" }, "type": "array" }, "is_guaranteed_non_working_day": { "description": "True for the weekly baseline or an applicable gazetted holiday.", "type": "boolean" }, "is_working_day": { "description": "True when the Saturday/Sunday baseline has no applicable gazetted closure.", "type": "boolean" }, "office_scope": { "description": "Selected central-government office scope.", "type": "string" }, "office_scope_name": { "description": "Human-readable scope.", "type": "string" }, "rest_day_policy": { "description": "Weekly-rest and exclusion policy.", "type": "string" }, "restricted_holiday_available": { "description": "Whether a restricted-holiday option is listed on the date.", "type": "boolean" }, "restricted_holiday_names": { "description": "Restricted-holiday options listed by the memorandum; these do not close the office by default.", "items": { "type": "string" }, "type": "array" }, "restricted_holiday_policy": { "description": "Restricted and locally selected optional-holiday rule.", "type": "string" }, "selection_policy": { "description": "Whether local optional selection is required.", "type": "string" }, "sources": { "description": "Official Government of India sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute-day inference.", "type": "string" }, "territory": { "description": "IN.", "type": "string" }, "territory_name": { "description": "India.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an Ireland national statutory public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer, bank, school, sector, local or individually selected benefit day.\nWhat it computes: Checks an Ireland date against the Saturday-Sunday baseline and exact 2026-2027 national statutory public holidays. Good Friday is a normal working day and weekend holidays are not automatically moved to Monday.\nExample user requests: Is 2027-02-01 an Ireland working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-01\"} | {\"date\":\"2027-03-26\"}\nOutputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Monday-Friday and no exact national statutory public holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ireland-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-01" }, { "date": "2027-03-26" } ], "properties": { "date": { "description": "Gregorian date in Ireland national 2026-2027 coverage.", "examples": [ "2027-02-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ireland_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "ireland-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Ireland WRC package.", "type": "string" }, "good_friday_policy": { "description": "Good Friday is not a public holiday.", "type": "string" }, "holiday_names": { "description": "National statutory public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Monday-Friday with no national statutory public holiday.", "type": "boolean" }, "sources": { "description": "Official Irish government regulator and legislation sources.", "type": "array" }, "territory": { "description": "IE (Ireland).", "type": "string" }, "territory_name": { "description": "Ireland.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_holiday_policy": { "description": "No automatic next-working-day closure is inferred.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Italy Italy nationwide statutory/public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Italy: Republic Day. | Italy: Easter Monday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-06-02\"} | {\"date\":\"2027-03-29\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/italy-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/italy-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-06-02" }, { "date": "2027-03-29" } ], "properties": { "date": { "description": "Gregorian date in Italy coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_it_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "italy-public-holidays", "type": "string" }, "calendar_scope": { "description": "Italy nationwide statutory/public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "it-national-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.", "type": "string" }, "territory": { "description": "IT (Italy).", "type": "string" }, "territory_name": { "description": "Italy", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need Japan statutory national-holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a company, school, bank, exchange or prefectural closure calendar.\nWhat it computes: Checks a date against Japan's statutory national holidays and Saturday/Sunday baseline.\nExample user requests: Is 2027-03-22 a Japan working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-03-22\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Japan weekday baseline and no Cabinet Office statutory holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/japan-national-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-03-22" } ], "properties": { "date": { "description": "Gregorian date in the pinned Cabinet Office 2026-2027 coverage.", "examples": [ "2027-03-22" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_japan_national_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "jp-cabinet-office-national-holidays.", "type": "string" }, "calendar_scope": { "description": "Japan statutory national holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Cabinet Office evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or statutory national holiday.", "type": "string" }, "holiday_kinds": { "description": "National holiday or statutory holiday under the Cabinet Office table.", "items": { "type": "string" }, "type": "array" }, "holiday_legal_bases": { "description": "Holiday Act or Cabinet Office legal classification.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Japanese statutory holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "True when the Japan Saturday/Sunday baseline is a weekday and no statutory national holiday applies.", "type": "boolean" }, "rest_day_policy": { "description": "Company, school, bank and exchange closures are not inferred.", "type": "string" }, "sources": { "description": "Official Cabinet Office and legislation sources.", "type": "array" }, "territory": { "description": "JP.", "type": "string" }, "territory_name": { "description": "Japan.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Kenya Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Kenya: Idd-ul-Fitr public holiday. | Kenya: Ordinary Kenya working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-03-20\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kenya-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kenya-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-03-20" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Kenya's pinned 2026 nationwide public-holiday coverage over a Saturday-Sunday baseline.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ke_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "kenya-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline", "type": "string" }, "dataset_version": { "description": "ke-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kenya_Public_Holidays_Act_and_2026_Gazette_Notices", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice", "type": "string" }, "territory": { "description": "KE (Kenya).", "type": "string" }, "territory_name": { "description": "Kenya", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic South Korea South Korea statutory public holidays and public-office substitute holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: South Korea: New Labor Day public holiday. | South Korea: Published substitute holiday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-01\"} | {\"date\":\"2026-10-05\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-korea-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-01" }, { "date": "2026-10-05" } ], "properties": { "date": { "description": "Gregorian date in South Korea coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_kr_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "south-korea-public-holidays", "type": "string" }, "calendar_scope": { "description": "South Korea statutory public holidays and public-office substitute holidays for 2026", "type": "string" }, "dataset_version": { "description": "kr-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.", "type": "string" }, "territory": { "description": "KR (South Korea).", "type": "string" }, "territory_name": { "description": "South Korea", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Kazakhstan Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Kazakhstan: Nauryz transfer day. | Kazakhstan: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-03-24\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kazakhstan-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kazakhstan-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-03-24" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Kazakhstan's pinned 2026 nationwide published five-day schedule.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_kz_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "kazakhstan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule", "type": "string" }, "dataset_version": { "description": "kz-gov-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred", "type": "string" }, "territory": { "description": "KZ (Kazakhstan).", "type": "string" }, "territory_name": { "description": "Kazakhstan", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Sri Lanka Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Sri Lanka: Poya holiday. | Sri Lanka: Temporary government-office Wednesday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-08-27\"} | {\"date\":\"2026-03-25\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sri-lanka-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sri-lanka-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-08-27" }, { "date": "2026-03-25" } ], "properties": { "date": { "description": "Gregorian date in Sri Lanka's pinned 2026 combined public/bank/mercantile holiday coverage over a Saturday-Sunday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_lk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "sri-lanka-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures", "type": "string" }, "dataset_version": { "description": "lk-public-bank-mercantile-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides", "type": "string" }, "territory": { "description": "LK (Sri Lanka).", "type": "string" }, "territory_name": { "description": "Sri Lanka", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Lithuania Lithuania 2026 statutory holiday facts over explicit mon_fri_planning result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed.\nWhat it computes: Checks whether a date is working in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest.\nExample user requests: Lithuania: Restoration of the State is a statutory holiday. | Lithuania: August 14 shortening is not full-day rest. | Lithuania: Good Friday is not an Article 123 rest day. | Lithuania: Easter eve depends on selected workweek.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-02-16\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-08-14\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-03\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-04\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-02-16\",\"work_schedule\":\"mon_sat_planning\"} | {\"date\":\"2026-08-14\",\"work_schedule\":\"mon_sat_planning\"} | {\"date\":\"2026-04-03\",\"work_schedule\":\"mon_sat_planning\"} | {\"date\":\"2026-04-04\",\"work_schedule\":\"mon_sat_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope.\nFormula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/lithuania-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-02-16", "work_schedule": "mon_fri_planning" }, { "date": "2026-08-14", "work_schedule": "mon_fri_planning" }, { "date": "2026-04-03", "work_schedule": "mon_fri_planning" }, { "date": "2026-04-04", "work_schedule": "mon_fri_planning" }, { "date": "2026-02-16", "work_schedule": "mon_sat_planning" }, { "date": "2026-08-14", "work_schedule": "mon_sat_planning" }, { "date": "2026-04-03", "work_schedule": "mon_sat_planning" }, { "date": "2026-04-04", "work_schedule": "mon_sat_planning" } ], "properties": { "date": { "description": "Gregorian date in Lithuania coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.", "enum": [ "mon_fri_planning", "mon_sat_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_lt_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "lithuania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Lithuania 2026 statutory holiday facts over explicit mon_fri_planning", "type": "string" }, "dataset_version": { "description": "lt-explicit-workweek-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest", "type": "string" }, "is_preholiday_rule_date": { "description": "Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.", "type": "boolean" }, "is_shortened_workday": { "description": "Rule-eve which is also working in selected baseline; no claim of actual hours worked.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an Article 123 holiday, independent of weekend.", "type": "boolean" }, "is_working_day": { "description": "Working date in the explicitly selected five/six-day baseline; NOT individual attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "shortening_scope": { "description": "Required conditions and exceptions to the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge", "type": "string" }, "territory": { "description": "LT (Lithuania).", "type": "string" }, "territory_name": { "description": "Lithuania", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit selected five-day or six-day planning workweek.", "type": "string" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Luxembourg Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2028 authority events. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed.\nExample user requests: Luxembourg: Europe Day is statutory rest. | Luxembourg: No uniform Monday compensation date. | Luxembourg: Bank-only Good Friday is not general statutory rest.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-05-09\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-05-11\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-03\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/luxembourg-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-09", "work_schedule": "mon_fri_planning" }, { "date": "2026-05-11", "work_schedule": "mon_fri_planning" }, { "date": "2026-04-03", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Luxembourg coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_lu_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "luxembourg-public-holidays", "type": "string" }, "calendar_scope": { "description": "Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of compensatory leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed; personal schedule and applicable rules required.", "type": "string" }, "dataset_version": { "description": "lu-statutory-calendar-2026-2028.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.", "type": "boolean" }, "holiday_policy": { "description": "Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed", "type": "string" }, "is_statutory_non_working_day": { "description": "Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.", "type": "boolean" }, "is_working_day": { "description": "Planning working date BEFORE personal annual/compensatory leave; not actual attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "territory": { "description": "LU (Luxembourg).", "type": "string" }, "territory_name": { "description": "Luxembourg", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Latvia Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening.\nExample user requests: Latvia: Mother's Day is statutory even on Sunday. | Latvia: January 2 depends on explicit transfer basis. | Latvia: June 27 depends on explicit transfer basis.\nInputs: date (date); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-05-10\",\"calendar_basis\":\"statutory_holidays_only\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-01-02\",\"calendar_basis\":\"statutory_holidays_only\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-06-27\",\"calendar_basis\":\"statutory_holidays_only\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-05-10\",\"calendar_basis\":\"cabinet_order_330_transfers\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-01-02\",\"calendar_basis\":\"cabinet_order_330_transfers\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-06-27\",\"calendar_basis\":\"cabinet_order_330_transfers\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope.\nFormula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/latvia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "statutory_holidays_only", "date": "2026-05-10", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "statutory_holidays_only", "date": "2026-01-02", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "statutory_holidays_only", "date": "2026-06-27", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "cabinet_order_330_transfers", "date": "2026-05-10", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "cabinet_order_330_transfers", "date": "2026-01-02", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "cabinet_order_330_transfers", "date": "2026-06-27", "work_schedule": "mon_fri_planning" } ], "properties": { "calendar_basis": { "description": "Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.", "enum": [ "statutory_holidays_only", "cabinet_order_330_transfers" ], "examples": [ "statutory_holidays_only" ], "type": "string" }, "date": { "description": "Gregorian date in Latvia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "check_lv_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected transfer basis; no employer adoption inferred.", "type": "string" }, "calendar_profile": { "description": "latvia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "lv-statutory-transfer-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis", "type": "string" }, "is_non_rest_observance": { "description": "Whether result.date has a section 2 observance, which itself does not cause rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Rest date under the explicitly selected Order 330 basis.", "type": "boolean" }, "is_transferred_working_day": { "description": "Working Saturday under the explicitly selected Order 330 basis.", "type": "boolean" }, "is_working_day": { "description": "Working date in the explicitly selected calendar, including selected transferred Saturdays. Not individual attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "shortening_scope": { "description": "Conditions on the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.", "type": "string" }, "territory": { "description": "LV (Latvia).", "type": "string" }, "territory_name": { "description": "Latvia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline, before selected transfers.", "type": "string" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Malta Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed.\nExample user requests: Malta: Good Friday is scheduled public rest. | Malta: Ordinary Sunday is public holiday, not a named holiday. | Malta: No invented Monday compensation.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-04-03\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-01-04\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-06-08\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy.\nFormula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malta-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-03", "work_schedule": "mon_fri_planning" }, { "date": "2026-01-04", "work_schedule": "mon_fri_planning" }, { "date": "2026-06-08", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Malta coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_mt_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "malta-public-holidays", "type": "string" }, "calendar_scope": { "description": "Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed.", "type": "string" }, "dataset_version": { "description": "mt-statutory-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.", "type": "boolean" }, "holiday_policy": { "description": "Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed", "type": "string" }, "is_named_statutory_holiday": { "description": "One of the fourteen government-listed dates; ordinary Sundays are not named events.", "type": "boolean" }, "is_national_holiday": { "description": "One of five national holidays under Cap.252 articles 2-3.", "type": "boolean" }, "is_other_scheduled_public_holiday": { "description": "One of nine other dates listed in the Cap.252 Schedule.", "type": "boolean" }, "is_public_holiday": { "description": "Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.", "type": "boolean" }, "is_sunday_public_holiday": { "description": "Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.", "type": "boolean" }, "is_working_day": { "description": "Planning working date BEFORE individual annual or compensatory leave; not actual attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "sunday_legal_basis": { "description": "Cap.252 article 5(1) on Sunday; empty otherwise.", "type": "string" }, "territory": { "description": "MT (Malta).", "type": "string" }, "territory_name": { "description": "Malta", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Mexico Mexico Federal Labour Law mandatory rest days result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Mexico: Constitution Day observed.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-02-02\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/mexico-labor-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/mexico-labor-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-02-02" } ], "properties": { "date": { "description": "Gregorian date in Mexico coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_mx_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "mexico-labor-rest-days", "type": "string" }, "calendar_scope": { "description": "Mexico Federal Labour Law mandatory rest days", "type": "string" }, "dataset_version": { "description": "mx-lft-mandatory-rest-days-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule", "type": "string" }, "territory": { "description": "MX (Mexico).", "type": "string" }, "territory_name": { "description": "Mexico", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a division-specific Malaysian public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the division is unknown, or you need an employer, bank, exchange, school or inferred replacement-day calendar.\nWhat it computes: Checks a Malaysian date with a required federal-territory/state division, BKPP/JPM's 2027 public-holiday table and division weekly-rest baseline.\nExample user requests: Is 2027-02-08 a working day in Kuala Lumpur? | Check 2027-06-06 in Terengganu.\nInputs: date (date); division (enum).\nComplete JSON argument examples: {\"date\":\"2027-02-08\",\"division\":\"KUL\"}\nOutputs: territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: is_working_day = division weekly baseline and no applicable BKPP event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malaysia-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-08", "division": "KUL" } ], "properties": { "date": { "description": "Gregorian date in the pinned 2027 coverage.", "examples": [ "2027-02-08" ], "format": "date", "type": "string" }, "division": { "description": "Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.", "enum": [ "KUL", "LBN", "PJY", "JHR", "KDH", "KTN", "MLK", "NSN", "PHG", "PRK", "PLS", "PNG", "SBH", "SWK", "SGR", "TRG" ], "examples": [ "KUL" ], "type": "string" } }, "required": [ "date", "division" ], "type": "object" }, "name": "check_my_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "malaysia-bkpp-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Selected division's federal/state public holidays and weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned BKPP/JPM 2027 package.", "type": "string" }, "day_type": { "description": "Regular weekday, official weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized division code.", "type": "string" }, "division_name": { "description": "Federal territory or state.", "type": "string" }, "holiday_names": { "description": "Official events applying to the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "Always false here because no substitute date is inferred.", "type": "boolean" }, "is_working_day": { "description": "False for the division's declared weekly baseline or applicable official holiday.", "type": "boolean" }, "rest_day_policy": { "description": "Employer roster and replacement-day policy are not inferred.", "type": "string" }, "sources": { "description": "Official government and legislative sources.", "type": "array" }, "substitute_day_policy": { "description": "Replacement dates are not inferred.", "type": "string" }, "territory": { "description": "MY.", "type": "string" }, "territory_name": { "description": "Malaysia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Division weekly-rest baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a New Zealand national statutory public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a regional anniversary, school, bank, exchange or employer calendar.\nWhat it computes: Checks a New Zealand date against the Saturday-Sunday baseline and exact 2026-2027 national public holidays, including observed dates.\nExample user requests: Is 2027-02-08 a New Zealand working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-08\"}\nOutputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Monday-Friday and no exact national public holiday or observed date\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/new-zealand-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-08" } ], "properties": { "date": { "description": "Gregorian date in New Zealand national 2026-2027 coverage.", "examples": [ "2027-02-08" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_new_zealand_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "new-zealand-employment-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned New Zealand government package.", "type": "string" }, "holiday_names": { "description": "National holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Monday-Friday with no national statutory holiday.", "type": "boolean" }, "regional_anniversary_day_policy": { "description": "Regional anniversary days are not inferred.", "type": "string" }, "sources": { "description": "Official New Zealand Government and Employment New Zealand sources.", "type": "array" }, "territory": { "description": "NZ.", "type": "string" }, "territory_name": { "description": "New Zealand.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Nigeria Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Nigeria: Federal Democracy Day. | Nigeria: Ordinary federal working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-06-12\"} | {\"date\":\"2026-06-16\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/nigeria-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/nigeria-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-06-12" }, { "date": "2026-06-16" } ], "properties": { "date": { "description": "Gregorian date in Nigeria's pinned 2026 federal public-holiday coverage over a Saturday-Sunday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ng_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "nigeria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "ng-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides", "type": "string" }, "territory": { "description": "NG (Nigeria).", "type": "string" }, "territory_name": { "description": "Nigeria", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Netherlands Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Netherlands: King's Day. | Netherlands: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-04-27\"} | {\"date\":\"2026-04-28\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/netherlands-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/netherlands-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-27" }, { "date": "2026-04-28" } ], "properties": { "date": { "description": "Gregorian date in Netherlands coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_nl_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "netherlands-public-holidays", "type": "string" }, "calendar_scope": { "description": "Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent", "type": "string" }, "dataset_version": { "description": "nl-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.", "type": "string" }, "territory": { "description": "NL (Netherlands).", "type": "string" }, "territory_name": { "description": "Netherlands", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Norway Norway nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Norway: Constitution Day. | Norway: Christmas Eve is not a full-day statutory holiday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-17\"} | {\"date\":\"2026-12-24\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/norway-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/norway-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-17" }, { "date": "2026-12-24" } ], "properties": { "date": { "description": "Gregorian date in Norway coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_no_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "norway-public-holidays", "type": "string" }, "calendar_scope": { "description": "Norway nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "no-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "NO (Norway).", "type": "string" }, "territory_name": { "description": "Norway", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Peru Peru 2026 national_statutory result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.\nExample user requests: Peru: National layer keeps July bridge open. | Peru: Public-sector July bridge. | Peru: Six-day Saturday.\nInputs: date (date); calendar_scope (enum); workweek (integer).\nComplete JSON argument examples: {\"date\":\"2026-07-27\",\"calendar_scope\":\"national_statutory\",\"workweek\":5} | {\"date\":\"2026-07-27\",\"calendar_scope\":\"public_sector\",\"workweek\":5} | {\"date\":\"2026-09-19\",\"calendar_scope\":\"national_statutory\",\"workweek\":6}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details.\nFormula: working day = outside selected weekly rest and selected holiday layer\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/peru-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_scope": "national_statutory", "date": "2026-07-27", "workweek": 5 }, { "calendar_scope": "public_sector", "date": "2026-07-27", "workweek": 5 }, { "calendar_scope": "national_statutory", "date": "2026-09-19", "workweek": 6 } ], "properties": { "calendar_scope": { "description": "Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.", "enum": [ "national_statutory", "public_sector" ], "examples": [ "national_statutory" ], "type": "string" }, "date": { "description": "Gregorian date in Peru coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "workweek": { "description": "Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "date", "calendar_scope", "workweek" ], "type": "object" }, "name": "check_pe_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "peru-public-holidays", "type": "string" }, "calendar_scope": { "description": "Peru 2026 national_statutory", "type": "string" }, "calendar_selection": { "description": "Explicit national_statutory or public_sector layer.", "type": "string" }, "compensable_day_details": { "description": "Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.", "type": "array" }, "dataset_version": { "description": "pe-official-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Peru_2026_national_holidays_with_explicit_public_sector_layer", "type": "string" }, "is_working_day": { "description": "Working under the explicit scope and five-day/six-day baseline.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published dates only; no automatic Monday substitution or employer compensation roster is inferred", "type": "string" }, "territory": { "description": "PE (Peru).", "type": "string" }, "territory_name": { "description": "Peru", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "workweek": { "description": "User-selected 5 or 6 days per week.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Philippines Philippines nationwide presidential-proclamation calendar result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Philippines: EDSA remains a special working day. | Philippines: Eid'l Adha is a declared holiday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-02-25\"} | {\"date\":\"2026-05-27\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/philippines-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/philippines-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-02-25" }, { "date": "2026-05-27" } ], "properties": { "date": { "description": "Gregorian date in Philippines coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ph_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "philippines-public-holidays", "type": "string" }, "calendar_scope": { "description": "Philippines nationwide presidential-proclamation calendar", "type": "string" }, "dataset_version": { "description": "ph-op-proclamations-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.", "type": "string" }, "territory": { "description": "PH (Philippines).", "type": "string" }, "territory_name": { "description": "Philippines", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Pakistan Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Pakistan: Pakistan Day. | Pakistan: Ordinary federal working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-03-23\"} | {\"date\":\"2026-10-12\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/pakistan-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/pakistan-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-03-23" }, { "date": "2026-10-12" } ], "properties": { "date": { "description": "Gregorian date in Pakistan's pinned 2026 nationwide federal public-holiday coverage over a Saturday-Sunday federal-office baseline.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_pk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "pakistan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline", "type": "string" }, "dataset_version": { "description": "pk-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate", "type": "string" }, "territory": { "description": "PK (Pakistan).", "type": "string" }, "territory_name": { "description": "Pakistan", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Poland Poland nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Poland: Christmas Eve. | Poland: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-12-24\"} | {\"date\":\"2026-10-27\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/poland-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/poland-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-12-24" }, { "date": "2026-10-27" } ], "properties": { "date": { "description": "Gregorian date in Poland coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_pl_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "poland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Poland nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pl-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.", "type": "string" }, "territory": { "description": "PL (Poland).", "type": "string" }, "territory_name": { "description": "Poland", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Portugal Portugal nationwide mandatory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Portugal: Portugal Day. | Portugal: Ordinary weekday.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-06-10\"} | {\"date\":\"2026-10-27\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/portugal-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/portugal-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-06-10" }, { "date": "2026-10-27" } ], "properties": { "date": { "description": "Gregorian date in Portugal coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_pt_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "portugal-public-holidays", "type": "string" }, "calendar_scope": { "description": "Portugal nationwide mandatory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pt-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.", "type": "string" }, "territory": { "description": "PT (Portugal).", "type": "string" }, "territory_name": { "description": "Portugal", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Romania Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference.\nExample user requests: Romania: January 24 remains a statutory holiday even on Saturday. | Romania: Selected-calendar Good Friday.\nInputs: date (date); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-01-24\",\"calendar_basis\":\"romanian_orthodox\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-10\",\"calendar_basis\":\"romanian_orthodox\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-01-24\",\"calendar_basis\":\"roman_catholic\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-04-03\",\"calendar_basis\":\"roman_catholic\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope.\nFormula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/romania-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "romanian_orthodox", "date": "2026-01-24", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "romanian_orthodox", "date": "2026-04-10", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "roman_catholic", "date": "2026-01-24", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "roman_catholic", "date": "2026-04-03", "work_schedule": "mon_fri_planning" } ], "properties": { "calendar_basis": { "description": "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars.", "enum": [ "romanian_orthodox", "roman_catholic" ], "examples": [ "romanian_orthodox" ], "type": "string" }, "date": { "description": "Gregorian date in Romania coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "check_ro_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected calendar basis; never inferred or combined.", "type": "string" }, "calendar_profile": { "description": "romania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ro-statutory-holidays-2026.1", "type": "string" }, "day_type": { "description": "statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_article_139_calendar_specific_not_union", "type": "string" }, "is_statutory_holiday": { "description": "Whether result.date is a holiday in the selected statutory layer.", "type": "boolean" }, "is_working_day": { "description": "Working date in the selected planning calendar; no individual roster inference.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute Monday, extra coincident-date day or employer bridge inferred", "type": "string" }, "territory": { "description": "RO (Romania).", "type": "string" }, "territory_name": { "description": "Romania", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Russia Russia federal statutory public holidays and Government-published 2026 transfer days result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Russia: Russia New Year's holiday. | Russia: Published transfer day. | Russia: Ordinary Russia working day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-01-05\"} | {\"date\":\"2026-01-09\"} | {\"date\":\"2026-09-14\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/russia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/russia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-05" }, { "date": "2026-01-09" }, { "date": "2026-09-14" } ], "properties": { "date": { "description": "Gregorian date in Russia's pinned 2026 federal statutory and transfer-day coverage over a Saturday-Sunday weekend.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_ru_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "russia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Russia federal statutory public holidays and Government-published 2026 transfer days", "type": "string" }, "dataset_version": { "description": "ru-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference", "type": "string" }, "territory": { "description": "RU (Russia).", "type": "string" }, "territory_name": { "description": "Russia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Saudi Arabia Saudi Central Bank financial institutions result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred.\nWhat it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2029 authority events.\nExample user requests: Saudi Arabia: SAMA Eid Al-Fitr interval. | Saudi Arabia: Friday/Saturday weekly baseline. | Saudi Arabia: National Day Saturday substitution.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-03-17\"} | {\"date\":\"2026-01-02\"} | {\"date\":\"2028-09-24\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/saudi-financial-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/saudi-financial-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-03-17" }, { "date": "2026-01-02" }, { "date": "2028-09-24" } ], "properties": { "date": { "description": "Gregorian date in Saudi Arabia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_sa_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "saudi-sama-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Saudi Central Bank financial institutions", "type": "string" }, "dataset_version": { "description": "sa-sama-financial-holidays-2026-2029.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.", "type": "string" }, "territory": { "description": "SA (Saudi Arabia).", "type": "string" }, "territory_name": { "description": "Saudi Arabia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Sweden Sweden nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Sweden: National Day. | Sweden: Midsummer Eve is not statutory.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-06-06\"} | {\"date\":\"2026-06-19\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sweden-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sweden-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-06-06" }, { "date": "2026-06-19" } ], "properties": { "date": { "description": "Gregorian date in Sweden coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_se_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "sweden-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sweden nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "se-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "SE (Sweden).", "type": "string" }, "territory_name": { "description": "Sweden", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Slovenia Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; seven named state holidays do not add rest.\nExample user requests: Slovenia: Easter Monday is statutory rest. | Slovenia: Whit Monday is not Whit Sunday. | Slovenia: Science Day is a state holiday without rest.\nInputs: date (date); work_schedule (enum).\nComplete JSON argument examples: {\"date\":\"2026-04-06\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-05-25\",\"work_schedule\":\"mon_fri_planning\"} | {\"date\":\"2026-11-10\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_work_free_event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovenia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-04-06", "work_schedule": "mon_fri_planning" }, { "date": "2026-05-25", "work_schedule": "mon_fri_planning" }, { "date": "2026-11-10", "work_schedule": "mon_fri_planning" } ], "properties": { "date": { "description": "Gregorian date in Slovenia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "date", "work_schedule" ], "type": "object" }, "name": "check_si_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "slovenia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "si-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays", "type": "string" }, "is_non_rest_state_holiday": { "description": "Whether result.date is one of the seven state holidays that do not add rest.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is an article 1 state holiday, whether or not work-free.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.", "type": "boolean" }, "is_working_day": { "description": "Working date in explicit mon_fri_planning, not individual attendance.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred", "type": "string" }, "territory": { "description": "SI (Slovenia).", "type": "string" }, "territory_name": { "description": "Slovenia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need Singapore national public-holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer roster, a non-Sunday weekly rest day, bank/exchange closures, or a year outside the pinned MOM coverage.\nWhat it computes: Checks a Singapore date using Ministry of Manpower national public holidays and explicitly published observed dates, with a separate employer-rest-day limitation.\nExample user requests: Is 2027-02-08 a Singapore working day after Chinese New Year? | Check the Singapore public-holiday status of 2026-08-10.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-08\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: is_working_day = CLDR weekday baseline and no MOM public-holiday event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/singapore-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-08" } ], "properties": { "date": { "description": "Gregorian date in the pinned MOM 2026-2027 coverage.", "examples": [ "2027-02-08" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_singapore_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "singapore-mom-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Singapore national public holidays plus the CLDR Saturday/Sunday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned MOM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or MOM public holiday.", "type": "string" }, "holiday_names": { "description": "MOM holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the source explicitly publishes an observed date.", "type": "boolean" }, "is_working_day": { "description": "True when the CLDR Saturday/Sunday baseline is a weekday and no included MOM public holiday applies.", "type": "boolean" }, "rest_day_policy": { "description": "Employer-specific weekly rest-day placement is not inferred.", "type": "string" }, "source_quality": { "description": "Official Singapore government sources, with employer-rest-day limitation.", "type": "string" }, "sources": { "description": "Official MOM, government open-data and legislation sources.", "type": "array" }, "territory": { "description": "SG.", "type": "string" }, "territory_name": { "description": "Singapore.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used only as the baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Slovakia Slovakia 2026 national statutory rest-day calendar result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026.\nExample user requests: Slovakia: May 8 is a named holiday but a working date. | Slovakia: Good Friday. | Slovakia: November 17 is not statutory rest.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-05-08\"} | {\"date\":\"2026-04-03\"} | {\"date\":\"2026-11-17\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, holiday_rest_status, payroll_scope.\nFormula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovakia-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-05-08" }, { "date": "2026-04-03" }, { "date": "2026-11-17" } ], "properties": { "date": { "description": "Gregorian date in Slovakia coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_sk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "slovakia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovakia 2026 national statutory rest-day calendar", "type": "string" }, "dataset_version": { "description": "sk-statutory-rest-days-2026.1", "type": "string" }, "day_type": { "description": "weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_241_1993_sections_1_2_4b_2026", "type": "string" }, "holiday_rest_status": { "description": "Rest classification on result.date; a named holiday alone never implies non-working status.", "type": "string" }, "is_working_day": { "description": "Monday-Friday without a statutory_rest_holiday; named non-rest holidays remain working.", "type": "boolean" }, "payroll_scope": { "description": "Always not_computed; calendar semantics do not decide wage premiums or leave.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No next-Monday substitution or employer day off is inferred", "type": "string" }, "territory": { "description": "SK (Slovakia).", "type": "string" }, "territory_name": { "description": "Slovakia", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a South Africa national public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer, bargaining-council, school, bank, exchange, provincial or locally exchanged calendar.\nWhat it computes: Checks a South African date against the Saturday-Sunday baseline and exact 2026-2027 national public holidays, including the 4 November 2026 election holiday and observed Sunday holidays.\nExample user requests: Is 2026-11-04 a South Africa working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-11-04\"}\nOutputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Monday-Friday and no exact national public holiday or observed date\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-africa-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-11-04" } ], "properties": { "date": { "description": "Gregorian date in South Africa national 2026-2027 coverage.", "examples": [ "2026-11-04" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_south_africa_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "south-africa-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned South African Government package.", "type": "string" }, "employer_schedule_policy": { "description": "Employer-specific exchanges and rest days are not inferred.", "type": "string" }, "holiday_names": { "description": "National public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Monday-Friday with no national public holiday.", "type": "boolean" }, "sources": { "description": "Official South African Government, legislation and Presidency sources.", "type": "array" }, "territory": { "description": "ZA (South Africa).", "type": "string" }, "territory_name": { "description": "South Africa.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Thailand Thailand financial institutions and specialized financial institutions result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: Thailand: 2027 substitution. | Thailand: Bangkok-only event remains conditional.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-22\"} | {\"date\":\"2026-10-16\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/thailand-financial-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/thailand-financial-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-22" }, { "date": "2026-10-16" } ], "properties": { "date": { "description": "Gregorian date in the pinned Bank of Thailand 2026-2027 financial-institution coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_th_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "thailand-bot-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Thailand financial institutions and specialized financial institutions", "type": "string" }, "dataset_version": { "description": "th-bot-financial-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "BOT_published_financial_institution_and_specialized_financial_institution_holidays", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "BOT_substitution_events_are_pinned; no new substitution is inferred", "type": "string" }, "territory": { "description": "TH (Thailand).", "type": "string" }, "territory_name": { "description": "Thailand", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need Türkiye national statutory public-holiday status. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a company, school, bank, exchange, collective-agreement or local closure calendar.\nWhat it computes: Checks a date against Türkiye's statutory public holidays and explicit 13:00 half-day events for 2026-2027.\nExample user requests: Is 2027-03-08 a Türkiye working day? | Does 2026-05-26 have a Turkish half-day holiday?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-03-08\"}\nOutputs: territory, territory_name, weekday, is_working_day, 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.\nFormula: is_working_day = Türkiye Saturday/Sunday baseline and no published full-day or half-day statutory holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/turkey-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-03-08" } ], "properties": { "date": { "description": "Gregorian date in the pinned Türkiye 2026-2027 coverage.", "examples": [ "2027-03-08" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_turkey_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "tr-statutory-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Türkiye statutory national public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Turkish official evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend, general holiday or half-day general holiday.", "type": "string" }, "half_day_policy": { "description": "Official 13:00 half-day semantics.", "type": "string" }, "half_day_start_time": { "description": "13:00 when an official half-day applies; empty string otherwise.", "type": "string" }, "holiday_kinds": { "description": "full_day or half_day.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Turkish statutory holiday events applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "False for the Saturday/Sunday baseline, a full statutory holiday, or a published half-day holiday; half-day details are returned separately.", "type": "boolean" }, "non_working_fraction": { "description": "1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.", "type": "number" }, "rest_day_policy": { "description": "Private and sector-specific closures are not inferred.", "type": "string" }, "sources": { "description": "Official Diyanet and statutory sources.", "type": "array" }, "territory": { "description": "TR.", "type": "string" }, "territory_name": { "description": "Türkiye.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic 中国台湾省 中国台湾省政府行政機關工作日曆 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events.\nExample user requests: 中国台湾省: Spring Festival substitute holiday. | 中国台湾省: Government calendar does not mean private-employer closure.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-02-09\"} | {\"date\":\"2027-05-03\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/taiwan-government-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/taiwan-government-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-02-09" }, { "date": "2027-05-03" } ], "properties": { "date": { "description": "Gregorian date in the official DGPA 2026-2027 government administrative-agency coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_tw_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "taiwan-government-work-calendar", "type": "string" }, "calendar_scope": { "description": "中国台湾省政府行政機關工作日曆 2026-2027", "type": "string" }, "dataset_version": { "description": "tw-dgpa-government-calendar-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.", "type": "string" }, "territory": { "description": "TW (中国台湾省).", "type": "string" }, "territory_name": { "description": "中国台湾省", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a UAE federal-government workday or public-holiday result for 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need Sharjah/local-government, private-employer, bank, exchange, school or an unannounced lunar date.\nWhat it computes: Checks a UAE date against the federal-government Monday-Friday baseline and exact 2026 UAE/FAHR public holidays.\nExample user requests: Is 2026-08-28 a UAE federal-government working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-08-28\"}\nOutputs: territory, territory_name, jurisdiction, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources.\nFormula: is_working_day = Monday-Friday federal baseline and no exact published public holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uae-federal-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-08-28" } ], "properties": { "date": { "description": "Gregorian date in exact 2026 UAE federal-government coverage.", "examples": [ "2026-08-28" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_uae_federal_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "uae-fahr-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "UAE federal-government workweek and national public holidays.", "type": "string" }, "dataset_version": { "description": "Pinned FAHR/UAE Government package.", "type": "string" }, "day_type": { "description": "Regular workday, official weekend or public holiday.", "type": "string" }, "holiday_legal_bases": { "description": "Government announcement or Cabinet Resolution basis.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Exact-date public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "True for a Monday-Friday date without an included exact public holiday.", "type": "boolean" }, "jurisdiction": { "description": "UAE federal government.", "type": "string" }, "private_sector_policy": { "description": "Employer weekly rest-day limitation.", "type": "string" }, "sources": { "description": "Official UAE Government, legislation and FAHR sources.", "type": "array" }, "territory": { "description": "AE.", "type": "string" }, "territory_name": { "description": "United Arab Emirates.", "type": "string" }, "unresolved_lunar_rules": { "description": "Rules still awaiting an official Gregorian date, if any.", "type": "array" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Saturday and Sunday for the federal-government baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to know whether a 2024-2028 UK date is a Monday-Friday working day after applying the official bank holidays for the selected division. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a local council, school, employer, financial-market, emergency-closure or non-UK calendar, or a date outside 2024-2028.\nWhat it computes: Checks whether a date is a normal working day in England and Wales, Scotland or Northern Ireland using a pinned snapshot of the official GOV.UK bank-holiday feed.\nExample user requests: Is 28 December 2026 a working day in England and Wales, or the Boxing Day substitute holiday? | Is Scotland working on 15 June 2026? | Check whether 13 July 2026 is a working day in Northern Ireland.\nInputs: date (date); division (enum, optional).\nComplete JSON argument examples: {\"date\":\"2026-12-28\",\"division\":\"england-and-wales\"} | {\"date\":\"2026-06-15\",\"division\":\"scotland\"}\nOutputs: date, weekday, division, division_name, is_working_day, day_type, bank_holiday_name, bank_holiday_notes, status_basis, source_url, licence, dataset_version, coverage_start, coverage_end, source_snapshot_sha256.\nFormula: official bank-holiday event → non-working; else Saturday/Sunday → non-working; else Monday-Friday → working\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uk-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-12-28", "division": "england-and-wales" }, { "date": "2026-06-15", "division": "scotland" } ], "properties": { "date": { "description": "UK civil date in YYYY-MM-DD format, within 2024-2028.", "examples": [ "2026-12-28" ], "format": "date", "type": "string" }, "division": { "default": "england-and-wales", "description": "GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.", "enum": [ "england-and-wales", "scotland", "northern-ireland" ], "examples": [ "england-and-wales" ], "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_uk_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bank_holiday_name": { "description": "Official event title when the date is a bank holiday; otherwise empty.", "type": "string" }, "bank_holiday_notes": { "description": "GOV.UK notes such as Substitute day; otherwise empty.", "type": "string" }, "coverage_end": { "description": "Last supported date in this pinned package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this pinned package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.", "type": "string" }, "date": { "description": "Checked civil date.", "format": "date", "type": "string" }, "day_type": { "description": "bank_holiday, regular_weekend or regular_weekday.", "type": "string" }, "division": { "description": "Canonical GOV.UK division id.", "type": "string" }, "division_name": { "description": "Human-readable UK division.", "type": "string" }, "is_working_day": { "description": "True only for Monday-Friday dates not listed as a bank holiday.", "type": "boolean" }, "licence": { "description": "Reuse licence for GOV.UK content.", "type": "string" }, "source_snapshot_sha256": { "description": "SHA-256 of the complete official GOV.UK JSON response used for this package.", "type": "string" }, "source_url": { "description": "Official GOV.UK JSON source.", "type": "string" }, "status_basis": { "description": "Evidence-based explanation for the classification.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need US federal employee or federal-office holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a state/local/private-employer/exchange calendar or an alternate federal work schedule without explicit in-lieu resolution.\nWhat it computes: Checks a date against the OPM federal-employee holiday schedule and the US Saturday/Sunday baseline.\nExample user requests: Is 2027-07-05 a US federal working day?\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2027-07-05\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: is_working_day = US weekday baseline and no OPM federal holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/us-federal-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2027-07-05" } ], "properties": { "date": { "description": "Gregorian date in the pinned OPM 2026-2027 coverage.", "examples": [ "2027-07-05" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_us_federal_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "us-opm-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "Federal employees and federal offices only.", "type": "string" }, "dataset_version": { "description": "Pinned OPM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or OPM federal holiday.", "type": "string" }, "holiday_actual_dates": { "description": "Underlying statutory holiday dates for observed events.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "OPM federal holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.", "type": "boolean" }, "is_working_day": { "description": "True when the US Saturday/Sunday baseline is a weekday and no OPM federal holiday applies.", "type": "boolean" }, "rest_day_policy": { "description": "OPM alternative work schedules need separate in-lieu resolution.", "type": "string" }, "source_quality": { "description": "Official OPM schedule and federal-law references.", "type": "string" }, "sources": { "description": "Official OPM, federal guidance and legislation sources.", "type": "array" }, "territory": { "description": "US.", "type": "string" }, "territory_name": { "description": "United States.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable nationwide Uzbekistan 2026 result and know the workweek variant. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when workweek is unknown, or the roster is continuous, shift-based, employer-specific, bank, school or sector-specific.\nWhat it computes: Checks a date against Uzbekistan's 2026 statutory holidays and the selected five-day or six-day workweek transfer schedule.\nExample user requests: Is 2026-12-31 a working day in Uzbekistan for a five-day workweek? | Check 2026-05-30 for a six-day workweek.\nInputs: date (date); workweek (integer).\nComplete JSON argument examples: {\"date\":\"2026-12-31\",\"workweek\":5} | {\"date\":\"2026-05-30\",\"workweek\":6}\nOutputs: territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: apply selected weekly-rest baseline, statutory events and PF-257 workweek-specific transfers\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uzbekistan-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-12-31", "workweek": 5 }, { "date": "2026-05-30", "workweek": 6 } ], "properties": { "date": { "description": "Gregorian date in the pinned 2026 coverage.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "workweek": { "description": "Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "date", "workweek" ], "type": "object" }, "name": "check_uzbekistan_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "uzbekistan-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Nationwide 2026 statutory and PF-257 schedule scope.", "type": "string" }, "dataset_version": { "description": "Pinned package version.", "type": "string" }, "day_type": { "description": "Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.", "type": "string" }, "holiday_details": { "description": "Events with legal basis.", "type": "array" }, "holiday_kinds": { "description": "Structured event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Official events applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Whether the date is working under the selected official workweek variant.", "type": "boolean" }, "sources": { "description": "Authority and cross-check sources.", "type": "array" }, "substitute_day_policy": { "description": "Published transfers only; no employer/shift inference.", "type": "string" }, "territory": { "description": "UZ.", "type": "string" }, "territory_name": { "description": "Uzbekistan.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Selected weekly-rest baseline.", "items": { "type": "string" }, "type": "array" }, "weekly_rest_model": { "description": "Weekly rest baseline applied.", "type": "string" }, "workweek": { "description": "Selected five-day or six-day workweek.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a deterministic Vietnam Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved.\nWhat it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.\nExample user requests: Vietnam: New Year transfer. | Vietnam: Vietnam Cultural Day.\nInputs: date (date).\nComplete JSON argument examples: {\"date\":\"2026-01-10\"} | {\"date\":\"2026-11-24\"}\nOutputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/vietnam-public-working-day with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/vietnam-public-working-day.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-01-10" }, { "date": "2026-11-24" } ], "properties": { "date": { "description": "Gregorian date in Vietnam's pinned 2026 public-sector/statutory holiday coverage.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "date" ], "type": "object" }, "name": "check_vn_working_day", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "vietnam-public-holidays", "type": "string" }, "calendar_scope": { "description": "Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays", "type": "string" }, "dataset_version": { "description": "vn-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays", "type": "string" }, "is_working_day": { "description": "Monday-Friday with no event in this pinned authority scope.", "type": "boolean" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred", "type": "string" }, "territory": { "description": "VN (Vietnam).", "type": "string" }, "territory_name": { "description": "Vietnam", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have two loan or mortgage quotes with different rates, terms or fees for the same amount and want the payments and lifetime costs side by side. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you are replacing an existing loan (use refinance-break-even), only need one loan's payment (use loan-payment), or will sell or repay early (this compares full-term costs and ignores the time value of money). Informational; not financial advice.\nWhat it computes: Compares two fixed-rate, fully amortizing loan offers for the same amount: the level monthly payment, total interest, up-front fees and total cost (interest + fees) of each, and which offer costs less over its full term.\nExample user requests: Compare a 300000 loan at 6% for 30 years with 3000 in fees against 5.5% for 15 years with 5000 in fees. | Which of these two fixed-rate offers has the lower lifetime interest and fees? | 同样贷款30万元,方案A年利率6%期限30年,方案B年利率5.5%期限15年,比较月供和总成本。\nInputs: loan_amount (number); rate_a_percent (number, %); term_a_years (number, years); fees_a (number, optional); rate_b_percent (number, %); term_b_years (number, years); fees_b (number, optional).\nComplete JSON argument examples: {\"loan_amount\":300000,\"rate_a_percent\":6,\"term_a_years\":30,\"fees_a\":3000,\"rate_b_percent\":5.5,\"term_b_years\":15,\"fees_b\":5000} | {\"loan_amount\":25000,\"rate_a_percent\":7,\"term_a_years\":5,\"rate_b_percent\":6,\"term_b_years\":6,\"fees_b\":500}\nOutputs: payment_a, payment_b, total_interest_a, total_interest_b, total_cost_a, total_cost_b, cheaper_loan, monthly_payment_difference, total_cost_difference, comparison, summary.\nFormula: For each loan: i = rate/1200, n = 12 × term_years, payment = loan_amount × i / (1 − (1 + i)^−n) (loan_amount / n if i = 0); total_interest = payment × n − loan_amount; total_cost = total_interest + fees. cheaper_loan = the loan with the lower total_cost; monthly_payment_difference = payment_a − payment_b; total_cost_difference = total_cost_a − total_cost_b\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/loan-comparison with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/finance/loan-comparison.md", "inputSchema": { "additionalProperties": false, "examples": [ { "fees_a": 3000, "fees_b": 5000, "loan_amount": 300000, "rate_a_percent": 6, "rate_b_percent": 5.5, "term_a_years": 30, "term_b_years": 15 }, { "fees_b": 500, "loan_amount": 25000, "rate_a_percent": 7, "rate_b_percent": 6, "term_a_years": 5, "term_b_years": 6 } ], "properties": { "fees_a": { "default": 0, "description": "Up-front fees of loan A (origination, points, closing costs), paid separately rather than financed.", "examples": [ 3000 ], "maximum": 1000000000, "minimum": 0, "type": "number" }, "fees_b": { "default": 0, "description": "Up-front fees of loan B.", "examples": [ 5000 ], "maximum": 1000000000, "minimum": 0, "type": "number" }, "loan_amount": { "description": "Amount borrowed under both offers.", "examples": [ 300000 ], "exclusiveMinimum": 0, "maximum": 1000000000000, "type": "number" }, "rate_a_percent": { "description": "Annual nominal rate of loan A in percent; the monthly rate is this / 12. Unit: %.", "examples": [ 6 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "rate_b_percent": { "description": "Annual nominal rate of loan B in percent. Unit: %.", "examples": [ 5.5 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "term_a_years": { "description": "Term of loan A in years (fractions allowed; rounded to whole months). Unit: years.", "examples": [ 30 ], "exclusiveMinimum": 0, "maximum": 100, "type": "number", "x-unit": "years" }, "term_b_years": { "description": "Term of loan B in years. Unit: years.", "examples": [ 15 ], "exclusiveMinimum": 0, "maximum": 100, "type": "number", "x-unit": "years" } }, "required": [ "loan_amount", "rate_a_percent", "term_a_years", "rate_b_percent", "term_b_years" ], "type": "object" }, "name": "compare_loans", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "cheaper_loan": { "description": "\"A\", \"B\" or \"equal\" by total cost (interest + fees), compared to the cent.", "type": "string" }, "comparison": { "description": "Two rows: loan, rate_percent, term_years, monthly_payment, total_interest, fees, total_cost.", "type": "array" }, "monthly_payment_difference": { "description": "payment_a − payment_b (positive = loan A has the higher monthly payment).", "type": "number" }, "payment_a": { "description": "Level monthly payment of loan A (annuity formula).", "type": "number" }, "payment_b": { "description": "Level monthly payment of loan B.", "type": "number" }, "summary": { "description": "Plain-language comparison of payment and lifetime cost.", "type": "string" }, "total_cost_a": { "description": "total_interest_a + fees_a: what loan A costs beyond repaying the principal.", "type": "number" }, "total_cost_b": { "description": "total_interest_b + fees_b.", "type": "number" }, "total_cost_difference": { "description": "total_cost_a − total_cost_b (positive = loan A costs more over its full term).", "type": "number" }, "total_interest_a": { "description": "payment_a × months_a − loan_amount.", "type": "number" }, "total_interest_b": { "description": "payment_b × months_b − loan_amount.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you have odds in one format and need the other two, the implied probability of a price, or the payout of a stake at those odds. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need the combined price of several selections (use parlay-odds), the value of a bet given your own probability estimate (use bet-expected-value), or a bookmaker's margin across a whole market (use arbitrage-bet). Mathematics only; not gambling advice.\nWhat it computes: Converts betting odds between American (moneyline), decimal (European) and fractional (UK) formats, auto-detecting the input format, and reports the implied probability, profit and total return for a stake.\nInputs: odds (string); format (enum, optional); stake (number, optional).\nComplete JSON argument examples: {\"odds\":\"+150\"} | {\"odds\":\"-200\",\"format\":\"auto\",\"stake\":100}\nOutputs: american, decimal, fractional, implied_probability_percent [%], profit_on_stake, total_return, detected_format.\nFormula: decimal = 1 + american/100 (american > 0) or 1 + 100/|american| (american < 0); decimal = 1 + a/b (fractional a/b); american = +100·(decimal − 1) if decimal ≥ 2, else −100/(decimal − 1); fractional = (decimal − 1) reduced with the GCD; implied_probability_percent = 100/decimal; total_return = stake × decimal\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/odds-converter with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/gaming/odds-converter.md", "inputSchema": { "additionalProperties": false, "examples": [ { "odds": "+150" }, { "format": "auto", "odds": "-200", "stake": 100 } ], "properties": { "format": { "default": "auto", "description": "Format of the odds input. Auto: a/b or a-b with digits on both sides is fractional, a sign or an integer of 100 or more is American, anything else is decimal.", "enum": [ "auto", "american", "decimal", "fractional" ], "examples": [ "auto" ], "type": "string" }, "odds": { "description": "Odds in any format: American +150 or -200, decimal 2.50, fractional 3/2 or 3-2, or evens.", "examples": [ "+150" ], "maxLength": 20, "type": "string" }, "stake": { "default": 100, "description": "Stake used for the profit and return outputs (any currency).", "examples": [ 100 ], "exclusiveMinimum": 0, "maximum": 1000000000, "type": "number" } }, "required": [ "odds" ], "type": "object" }, "name": "convert_betting_odds", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "american": { "description": "Moneyline price with sign, rounded to a whole number: +X wins X per 100 staked, -X needs X staked to win 100.", "type": "string" }, "decimal": { "description": "Total return per unit staked, including the stake.", "type": "number" }, "detected_format": { "description": "Format the input was parsed as (american, decimal or fractional).", "type": "string" }, "fractional": { "description": "Profit/stake as a fraction reduced with the GCD, exactly equal to decimal − 1.", "type": "string" }, "implied_probability_percent": { "description": "100 / decimal: the break-even win probability the price implies (includes the bookmaker margin). Unit: %.", "type": "number", "x-unit": "%" }, "profit_on_stake": { "description": "stake × (decimal − 1).", "type": "number" }, "total_return": { "description": "stake × decimal (profit plus the returned stake).", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you know a lunar date such as 八月十五 or 闰六月初一 of a given lunar year and need the Gregorian date (e.g. for a lunar birthday or festival). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you start from a Gregorian date (use lunar-calendar-converter), or you want every festival of a year at once (use chinese-festivals).\nWhat it computes: Converts a Chinese lunar calendar date (year, month, leap-month flag, day) to the Gregorian date, reporting the weekday, the day's ganzhi (干支) and the length of that lunar month, and validating that the leap month and day exist in that year.\nExample user requests: What Gregorian date is lunar 2026 month 8 day 15? | 2025 年农历闰六月初一对应公历哪一天? | Convert a Chinese lunar birthday to its Gregorian date and verify the leap-month flag.\nInputs: lunar_year (integer); lunar_month (integer); is_leap_month (boolean, optional); lunar_day (integer).\nComplete JSON argument examples: {\"lunar_year\":2026,\"lunar_month\":8,\"is_leap_month\":false,\"lunar_day\":15} | {\"lunar_year\":2025,\"lunar_month\":6,\"is_leap_month\":true,\"lunar_day\":1}\nOutputs: gregorian_date, weekday, day_ganzhi, month_days, lunar_date_chinese, month_name, year_ganzhi, zodiac, julian_day_number, leap_month_note.\nFormula: JDN = start of the lunar month (new-moon day at UTC+8) + lunar_day − 1; month numbering per GB/T 33661-2017 (month 11 contains the winter solstice; leap month = first month without a 中气)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/lunar-to-solar with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/lunar/lunar-to-solar.md", "inputSchema": { "additionalProperties": false, "examples": [ { "is_leap_month": false, "lunar_day": 15, "lunar_month": 8, "lunar_year": 2026 }, { "is_leap_month": true, "lunar_day": 1, "lunar_month": 6, "lunar_year": 2025 } ], "properties": { "is_leap_month": { "default": false, "description": "true when the date is in the intercalary month of that number (only valid in years that have that leap month).", "examples": [ false ], "type": "boolean" }, "lunar_day": { "description": "Day of the lunar month, 1–30 (day 30 exists only in 30-day months).", "examples": [ 15 ], "maximum": 30, "minimum": 1, "type": "integer" }, "lunar_month": { "description": "Lunar month number 1 (正月) to 12 (腊月).", "examples": [ 8 ], "maximum": 12, "minimum": 1, "type": "integer" }, "lunar_year": { "description": "Lunar year number (the year that starts at that year's Chinese New Year), 1900–2100.", "examples": [ 2026 ], "maximum": 2100, "minimum": 1900, "type": "integer" } }, "required": [ "lunar_year", "lunar_month", "lunar_day" ], "type": "object" }, "name": "convert_lunar_to_solar", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "day_ganzhi": { "description": "Sexagenary day with pinyin, e.g. 壬寅 (Renyin).", "type": "string" }, "gregorian_date": { "description": "Gregorian civil date (China Standard Time).", "format": "date", "type": "string" }, "julian_day_number": { "description": "Julian Day Number of the Gregorian date.", "type": "integer" }, "leap_month_note": { "description": "Which leap month the lunar year has (if any), so a wrong is_leap_month flag can be corrected.", "type": "string" }, "lunar_date_chinese": { "description": "Written form, e.g. 二〇二六年八月十五.", "type": "string" }, "month_days": { "description": "Length of the requested lunar month (29 or 30).", "type": "integer" }, "month_name": { "description": "Traditional month name, prefixed 闰 for a leap month.", "type": "string" }, "weekday": { "description": "Day of the week.", "type": "string" }, "year_ganzhi": { "description": "Sexagenary year with pinyin, e.g. 丙午 (Bingwu).", "type": "string" }, "zodiac": { "description": "Zodiac animal of the lunar year.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the Chinese lunar date, ganzhi day/month/year, zodiac year or current solar term for a given Gregorian date (defaults to today). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you start from a lunar date and need the Gregorian date (use lunar-to-solar), need a person's zodiac with the 立春 boundary option (use chinese-zodiac), or need the astronomical moon phase (use moon-phase).\nWhat it computes: Converts a Gregorian date to the Chinese lunisolar calendar (农历 nongli): lunar year, month (with leap-month flag), day, the sexagenary stems and branches (干支 ganzhi) of year, month and day, zodiac animal, nayin (纳音), the current 24-solar-term period and any traditional festival on that day.\nExample user requests: Convert 2026-09-25 to the Chinese lunar calendar and say whether it is a leap month. | 把 2025-07-25 换成农历,并给出干支和节气。 | Which Chinese lunar festival falls on this Gregorian date?\nInputs: date (date, optional).\nComplete JSON argument examples: {\"date\":\"2026-09-24\"} | {\"date\":\"2025-07-25\"}\nOutputs: lunar_year, lunar_month, is_leap_month, lunar_day, lunar_date_chinese, lunar_date_text, month_name, day_name, month_days, leap_month_this_year, year_ganzhi, year_ganzhi_pinyin, year_english, zodiac, nayin_year, month_ganzhi, month_ganzhi_pinyin, day_ganzhi, day_ganzhi_pinyin, weekday, current_solar_term, next_solar_term, days_to_next_term [days], is_solar_term_day, festival, julian_day_number.\nFormula: lunar month = interval between successive new moons (instants at 120° E, UTC+8); month 11 contains the winter solstice; a leap month is the first month without a major solar term (中气) in a 13-month solstice-to-solstice suite; year_ganzhi index = (lunar_year − 4) mod 60; day_ganzhi index = (JDN + 49) mod 60; month branch = 寅 from 立春, one branch per odd solar term\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/lunar-calendar-converter with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/lunar/lunar-calendar-converter.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-09-24" }, { "date": "2025-07-25" } ], "properties": { "date": { "default": "today", "description": "Civil date in China Standard Time (UTC+8), 1900–2100; defaults to the current UTC date.", "examples": [ "2026-09-24" ], "format": "date", "type": "string" } }, "type": "object" }, "name": "convert_solar_to_lunar", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "current_solar_term": { "description": "Solar-term period the date falls in and the date it began.", "type": "string" }, "day_ganzhi": { "description": "Sexagenary day (continuous 60-day cycle; 1949-10-01 = 甲子).", "type": "string" }, "day_ganzhi_pinyin": { "description": "Pinyin of the day ganzhi.", "type": "string" }, "day_name": { "description": "Traditional day name (初一 … 三十).", "type": "string" }, "days_to_next_term": { "description": "Days until the next solar term. Unit: days.", "type": "integer", "x-unit": "days" }, "festival": { "description": "Traditional festival(s) on this day (春节, 元宵节, 龙抬头, 上巳节, 端午节, 七夕, 中元节, 中秋节, 重阳节, 寒衣节, 下元节, 腊八节, 小年, 除夕, 清明节, 冬至) or \"none\".", "type": "string" }, "is_leap_month": { "description": "true when the date falls in an intercalary month (闰月 runyue).", "type": "boolean" }, "is_solar_term_day": { "description": "true when the date is itself a solar-term day.", "type": "boolean" }, "julian_day_number": { "description": "Julian Day Number of the civil date.", "type": "integer" }, "leap_month_this_year": { "description": "Number of the leap month in this lunar year, 0 when the year has none.", "type": "integer" }, "lunar_date_chinese": { "description": "Written form, e.g. 二〇二六年八月十四.", "type": "string" }, "lunar_date_text": { "description": "Readable form, e.g. 8th lunar month, day 14 (八月十四).", "type": "string" }, "lunar_day": { "description": "Day of the lunar month, 1–30.", "type": "integer" }, "lunar_month": { "description": "Lunar month number 1–12.", "type": "integer" }, "lunar_year": { "description": "Lunar year number (the year that began at the preceding Chinese New Year).", "type": "integer" }, "month_days": { "description": "Length of this lunar month (29 or 30).", "type": "integer" }, "month_ganzhi": { "description": "Sexagenary month by solar-term months (节气月): 寅 month starts at 立春, stems by the 五虎遁 rule.", "type": "string" }, "month_ganzhi_pinyin": { "description": "Pinyin of the month ganzhi.", "type": "string" }, "month_name": { "description": "Traditional month name (正月 … 腊月, prefixed 闰 for a leap month).", "type": "string" }, "nayin_year": { "description": "Nayin melodic element of the year ganzhi, e.g. 天河水 · Milky-way Water.", "type": "string" }, "next_solar_term": { "description": "Next solar term and its date.", "type": "string" }, "weekday": { "description": "Day of the week.", "type": "string" }, "year_english": { "description": "Stem element and zodiac animal, e.g. Fire Horse.", "type": "string" }, "year_ganzhi": { "description": "Sexagenary year of the lunar year, e.g. 丙午.", "type": "string" }, "year_ganzhi_pinyin": { "description": "Pinyin of the year ganzhi, e.g. Bingwu.", "type": "string" }, "zodiac": { "description": "Zodiac animal of the lunar year with its character, e.g. Horse (马).", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a weather, cooking, body or laboratory temperature in another scale, e.g. Fahrenheit to Celsius or Celsius to Kelvin. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need to convert a temperature difference (a change of 10 °C is 18 °F, not 50 °F: multiply by 9/5 without the offset) or heat energy (use energy).\nWhat it computes: Converts temperatures between Celsius, Fahrenheit, Kelvin and Rankine with the exact defining relations (°F = °C × 9/5 + 32, K = °C + 273.15, °R = °F + 459.67) and rejects values below absolute zero.\nInputs: value (number); from_unit (enum); to_unit (enum).\nComplete JSON argument examples: {\"value\":100,\"from_unit\":\"F\",\"to_unit\":\"C\"} | {\"value\":25,\"from_unit\":\"C\",\"to_unit\":\"F\"}\nOutputs: result, result_text, formula, factor, conversion_table.\nFormula: °F = °C × 9/5 + 32; °C = (°F − 32) × 5/9; K = °C + 273.15; °R = °F + 459.67 = K × 9/5\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/temperature with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/conversion/temperature.md", "inputSchema": { "additionalProperties": false, "examples": [ { "from_unit": "F", "to_unit": "C", "value": 100 }, { "from_unit": "C", "to_unit": "F", "value": 25 } ], "properties": { "from_unit": { "description": "Unit of the input value. Accepted symbols: C, F, K, R; spelled-out names and common abbreviations are accepted too.", "enum": [ "C", "F", "K", "R" ], "examples": [ "F" ], "type": "string" }, "to_unit": { "description": "Unit to convert into (same symbols as from_unit).", "enum": [ "C", "F", "K", "R" ], "examples": [ "C" ], "type": "string" }, "value": { "description": "Amount to convert, expressed in from_unit.", "examples": [ 100 ], "type": "number" } }, "required": [ "value", "from_unit", "to_unit" ], "type": "object" }, "name": "convert_temperature", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "conversion_table": { "description": "The input value expressed in every supported temperature unit (6 significant figures), keyed by unit symbol.", "type": "object" }, "factor": { "description": "Multiplier from from_unit to to_unit (result = value × factor); absent for non-linear conversions.", "type": "number" }, "formula": { "description": "Relation used, e.g. \"1 mi = 1.609344 km\".", "type": "string" }, "result": { "description": "Converted value expressed in to_unit (rounded to 6 decimals; see result_text for very small or very large values).", "type": "number" }, "result_text": { "description": "The conversion as text with 6 significant figures, e.g. \"5 mi = 8.04672 km\".", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to know what time an event scheduled in one city corresponds to in another city or in UTC on a specific date. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need the same instant in many zones at once (use world-clock), an epoch value (use unix-timestamp), or the elapsed time between two clock times (use time-duration).\nWhat it computes: Converts a wall-clock date and time between IANA zones using pinned tzdb 2026d. It reports both offsets, the UTC instant, date changes, the source-time status and every candidate UTC instant when the input falls in a repeated hour.\nExample user requests: Convert 2027-01-15 09:00 America/New_York to Australia/Adelaide and show both dates. | 把 2026-07-15 09:00 纽约时间换成阿德莱德时间。 | What UTC instant corresponds to 2026-10-04 01:45 in Australia/Adelaide?\nInputs: date (date, optional); time (string); from_zone (string); to_zone (string); resolution_policy (enum, optional).\nComplete JSON argument examples: {\"date\":\"2026-09-23\",\"time\":\"09:00\",\"from_zone\":\"Australia/Adelaide\",\"to_zone\":\"America/New_York\"} | {\"date\":\"2026-07-04\",\"time\":\"12:00\",\"from_zone\":\"America/Los_Angeles\",\"to_zone\":\"Asia/Kolkata\"}\nOutputs: converted_date, converted_time, converted_datetime, converted_weekday, from_utc_offset, to_utc_offset, from_abbreviation, to_abbreviation, utc_datetime, day_difference [days], time_difference_hours [h], source_time_status, source_candidate_utc_datetimes, applied_resolution_policy, tzdb_version, dataset_version, source_url, source_sha256.\nFormula: utc = date + time − offset_from(date, time); converted = utc + offset_to(utc); time_difference_hours = (offset_to − offset_from) / 60\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/time-zone-converter with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/time/time-zone-converter.md", "inputSchema": { "additionalProperties": false, "examples": [ { "date": "2026-09-23", "from_zone": "Australia/Adelaide", "time": "09:00", "to_zone": "America/New_York" }, { "date": "2026-07-04", "from_zone": "America/Los_Angeles", "time": "12:00", "to_zone": "Asia/Kolkata" } ], "properties": { "date": { "default": "today", "description": "Calendar date of the source time in from_zone (YYYY-MM-DD); defaults to the current UTC date.", "examples": [ "2026-09-23" ], "format": "date", "type": "string" }, "from_zone": { "description": "IANA time zone of the source time, e.g. Australia/Adelaide, Europe/Berlin or UTC.", "examples": [ "Australia/Adelaide" ], "maxLength": 64, "type": "string" }, "resolution_policy": { "default": "reject", "description": "How to handle a repeated or nonexistent source wall time. reject is safest; earlier/later choose a repeated-time candidate; shift_forward moves a skipped time by the DST gap.", "enum": [ "reject", "earlier", "later", "shift_forward" ], "examples": [ "reject" ], "type": "string" }, "time": { "description": "Wall-clock time in from_zone, 24-hour HH:MM (seconds optional).", "examples": [ "09:00" ], "maxLength": 8, "pattern": "^([01]?\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$", "type": "string" }, "to_zone": { "description": "IANA time zone to convert to, e.g. America/New_York or Asia/Tokyo.", "examples": [ "America/New_York" ], "maxLength": 64, "type": "string" } }, "required": [ "time", "from_zone", "to_zone" ], "type": "object" }, "name": "convert_time_zone", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "applied_resolution_policy": { "description": "unique, earlier, later or shift_forward.", "type": "string" }, "converted_date": { "description": "Calendar date in to_zone.", "format": "date", "type": "string" }, "converted_datetime": { "description": "ISO 8601 date-time in to_zone including its UTC offset.", "type": "string" }, "converted_time": { "description": "Wall-clock time in to_zone (HH:MM).", "type": "string" }, "converted_weekday": { "description": "Day of the week of converted_date.", "type": "string" }, "dataset_version": { "description": "Immutable Calcgrid time-zone evidence-package version.", "type": "string" }, "day_difference": { "description": "converted_date minus date: −1, 0 or +1. Unit: days.", "type": "integer", "x-unit": "days" }, "from_abbreviation": { "description": "Short zone abbreviation from the pinned IANA data build (for example EDT).", "type": "string" }, "from_utc_offset": { "description": "UTC offset of from_zone at that instant (±HH:MM).", "type": "string" }, "source_candidate_utc_datetimes": { "description": "Every UTC instant that matches the source wall time; two values for a repeated time and none for a gap.", "items": { "type": "string" }, "type": "array" }, "source_sha256": { "description": "SHA-256 of the official IANA tzdata release artifact.", "type": "string" }, "source_time_status": { "description": "unique, ambiguous or nonexistent under the pinned transition table.", "type": "string" }, "source_url": { "description": "Version-specific official IANA release URL.", "type": "string" }, "time_difference_hours": { "description": "to_zone offset minus from_zone offset at that instant; positive when to_zone is ahead. Unit: h.", "type": "number", "x-unit": "h" }, "to_abbreviation": { "description": "Short zone name of to_zone at that instant.", "type": "string" }, "to_utc_offset": { "description": "UTC offset of to_zone at that instant (±HH:MM).", "type": "string" }, "tzdb_version": { "description": "Pinned IANA release used for this result.", "type": "string" }, "utc_datetime": { "description": "The same instant in UTC (ISO 8601).", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when the user asks to convert a numeric value between units of the same physical quantity: length, mass, temperature, area, volume, speed, time, data, energy, pressure, power, angle, fuel economy, force, frequency, density or torque. Unit symbols and common names are accepted. Do not use this for currency, live exchange rates or cross-quantity conversions that require density. Returns the converted value, detected quantity, exact factor and a conversion table.", "inputSchema": { "additionalProperties": false, "properties": { "from_unit": { "description": "Source unit symbol or name, e.g. 'mi', 'miles', '°C'.", "type": "string" }, "to_unit": { "description": "Target unit symbol or name, e.g. 'km'.", "type": "string" }, "value": { "description": "Value to convert.", "type": "number" } }, "required": [ "value", "from_unit", "to_unit" ], "type": "object" }, "name": "convert_units", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "additionalProperties": true, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Argentina working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Argentina working days around Argentina national holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/argentina-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/argentina-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ar_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "argentina-public-holidays", "type": "string" }, "calendar_scope": { "description": "Argentina nationwide national holidays and published tourism non-working days for 2026", "type": "string" }, "dataset_version": { "description": "ar-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit", "type": "string" }, "territory": { "description": "AR (Argentina).", "type": "string" }, "territory_name": { "description": "Argentina", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Austria working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Austria working days around Austrian National Day. | Count Austria working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/austria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/austria-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_at_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "austria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Austria nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "at-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.", "type": "string" }, "territory": { "description": "AT (Austria).", "type": "string" }, "territory_name": { "description": "Austria", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable state/territory working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the division is unknown or the task requires a local/employer/exchange calendar.\nWhat it computes: Counts working and non-working dates for a selected Australian state or territory in 2026-2027.\nExample user requests: Count NSW working days from 2026-04-20 to 2026-05-04.\nInputs: start_date (date); end_date (date); division (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-20\",\"end_date\":\"2026-05-04\",\"division\":\"nsw\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version.\nFormula: for each included date: working_days += selected status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/australia-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "nsw", "end_date": "2026-05-04", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-20" } ], "properties": { "division": { "description": "Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.", "enum": [ "act", "nsw", "nt", "qld", "sa", "tas", "vic", "wa" ], "examples": [ "nsw" ], "type": "string" }, "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2026-05-04" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-04-20" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date", "division" ], "type": "object" }, "name": "count_australia_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "australia-fairwork-public-holidays.", "type": "string" }, "calendar_scope": { "description": "State/territory-wide full-day public holidays plus weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Fair Work package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized state/territory code.", "type": "string" }, "division_name": { "description": "State/territory name.", "type": "string" }, "holiday_names": { "description": "Full-day public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an additional/substitute date is explicitly listed.", "type": "boolean" }, "is_working_day": { "description": "True when the date is not a weekend or included full-day state/territory public holiday.", "type": "boolean" }, "limited_or_part_day_events": { "description": "Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.", "items": { "type": "string" }, "type": "array" }, "non_working_days": { "description": "Weekend and full-day public-holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "Full-day state/territory events in range.", "type": "array" }, "regional_policy": { "description": "Limited-event policy.", "type": "string" }, "source_quality": { "description": "Official government sources with state/territory scope.", "type": "string" }, "territory": { "description": "AU.", "type": "string" }, "territory_name": { "description": "Australia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "CLDR baseline weekend.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Working dates counted.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Bangladesh working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Bangladesh working days around Election-period special holiday. | Count Bangladesh working days around Eid-ul-Adha period.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-19\",\"end_date\":\"2026-03-23\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bangladesh-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bangladesh-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-23", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-19" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_bd_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "bangladesh-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bangladesh 2026 government public-office holiday schedule plus later election-period national closures", "type": "string" }, "dataset_version": { "description": "bd-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred", "type": "string" }, "territory": { "description": "BD (Bangladesh).", "type": "string" }, "territory_name": { "description": "Bangladesh", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Belgium working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Belgium working days around Belgian National Day. | Count Belgium working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/belgium-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/belgium-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_be_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "belgium-public-holidays", "type": "string" }, "calendar_scope": { "description": "Belgium ten statutory private-sector public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "be-legal-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking.", "type": "string" }, "territory": { "description": "BE (Belgium).", "type": "string" }, "territory_name": { "description": "Belgium", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Bulgaria working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; education-only holidays do not create general rest.\nExample user requests: Count Bulgaria working days around One-off euro transition rest, not statutory holiday. | Count Bulgaria working days around May 24 Sunday replacement. | Count Bulgaria working days around No nationwide school-holiday substitute.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-04-09\",\"end_date\":\"2026-04-14\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope.\nFormula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/bulgaria-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-14", "start_date": "2026-04-09", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_bg_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "bulgaria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "bg-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance", "type": "string" }, "is_education_only_holiday": { "description": "November 1 education-only annotation; not extra general rest.", "type": "boolean" }, "is_observed_non_attendance_day": { "description": "Whether result.date is a pinned article 154(2) observed rest date.", "type": "boolean" }, "is_one_off_non_attendance_day": { "description": "Whether result.date is January 2, 2026 one-off non-attendance.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "observed_for_dates": { "description": "Original statutory holiday dates for observed non-attendance, or an empty list.", "items": { "type": "string" }, "type": "array" }, "payroll_scope": { "description": "Always not_computed; holiday and non-attendance pay rules differ.", "type": "string" }, "public_holidays_counted": { "description": "Event dates including education-only annotations; this list length is not a general rest-day count.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates", "type": "string" }, "territory": { "description": "BG (Bulgaria).", "type": "string" }, "territory_name": { "description": "Bulgaria", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Brazil working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Brazil working days around Tiradentes.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/brazil-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/brazil-federal-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_br_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "brazil-federal-holidays", "type": "string" }, "calendar_scope": { "description": "Brazil federal executive public administration (SIPEC)", "type": "string" }, "dataset_version": { "description": "br-mgi-federal-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No private-sector, state or municipal substitute-day rule is inferred", "type": "string" }, "territory": { "description": "BR (Brazil).", "type": "string" }, "territory_name": { "description": "Brazil", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Canada federal baseline count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need provincial, private-employer or schedule-specific substitute-day semantics.\nWhat it computes: Counts baseline working and non-working dates for federally regulated-employer general holidays in 2026-2027.\nExample user requests: Count Canada federal working days from 2026-09-28 to 2026-10-02.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-09-28\",\"end_date\":\"2026-10-02\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, federal_general_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += Canada federal status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/canada-federal-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-10-02", "include_end_date": true, "include_start_date": true, "start_date": "2026-09-28" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2026-10-02" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-09-28" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_canada_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "canada-federal-general-holidays.", "type": "string" }, "calendar_scope": { "description": "Federally regulated employers only.", "type": "string" }, "dataset_version": { "description": "Pinned Canada.ca evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or Canada federal general holiday.", "type": "string" }, "federal_general_holidays_counted": { "description": "Canada general holidays in range.", "type": "array" }, "holiday_actual_dates": { "description": "Actual general-holiday dates.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Canada Labour Code general holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "False because substitute dates depend on schedule and agreement and are not inferred.", "type": "boolean" }, "non_working_days": { "description": "Weekend and Canada federal general-holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "rest_day_policy": { "description": "Scheduled-workday and employer substitution rules are not inferred.", "type": "string" }, "sources": { "description": "Official Canada.ca and Canada Labour Code sources.", "type": "array" }, "substitute_day_policy": { "description": "Canada.ca rule summary with schedule-dependent boundary.", "type": "string" }, "territory": { "description": "CA.", "type": "string" }, "territory_name": { "description": "Canada.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Canada federal baseline working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Switzerland working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Switzerland working days around Swiss National Day. | Count Switzerland working days around Cantonal holiday is not inferred.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-08-01\",\"end_date\":\"2026-08-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/switzerland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/switzerland-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-08-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-08-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ch_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "switzerland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Switzerland federal public holiday layer for 2026-2027", "type": "string" }, "dataset_version": { "description": "ch-federal-public-holiday-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swiss National Day on 1 August is included as the only federal public holiday.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when 1 August falls on a weekend.", "type": "string" }, "territory": { "description": "CH (Switzerland).", "type": "string" }, "territory_name": { "description": "Switzerland", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the number of official mainland China working days in a 2024-2026 date range for an SLA, payroll, project or delivery estimate. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need only elapsed calendar days, another jurisdiction, an industry-specific settlement calendar, or dates outside 2024-2026.\nWhat it computes: Counts official mainland China working and non-working days in a date range using State Council holiday periods and weekend makeup workdays rather than a simple Monday-Friday rule.\nExample user requests: How many official China working days are there from 2026-09-18 through 2026-09-25, inclusive? | 计算2026年国庆节前后这段日期中实际需要上班的天数,要包含调休周末。 | Count mainland China business days between 2025-01-24 and 2025-02-10.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-09-18\",\"end_date\":\"2026-09-25\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], adjusted_workdays_counted, holiday_dates_counted [days], source_document_ids, dataset_version, coverage_start, coverage_end.\nFormula: for each included date: working_days += is_working_day(date); non_working_days += not is_working_day(date)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/china-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-09-25", "include_end_date": true, "include_start_date": true, "start_date": "2026-09-18" } ], "properties": { "end_date": { "description": "Last date of the range (YYYY-MM-DD), within 2024-2026. Earlier dates are normalized and reported in a note.", "examples": [ "2026-09-25" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates in the count.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates in the count.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date of the range (YYYY-MM-DD), within 2024-2026.", "examples": [ "2026-09-18" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_china_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "adjusted_workdays_counted": { "description": "Weekend makeup workdays included in the count.", "type": "array" }, "calendar_days_counted": { "description": "Total dates included after endpoint rules. Unit: days.", "type": "integer", "x-unit": "days" }, "coverage_end": { "description": "Last supported date in this package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Version of the source-traceable mainland China work-calendar package.", "type": "string" }, "holiday_dates_counted": { "description": "Dates inside official holiday periods that were counted as non-working. Unit: days.", "type": "integer", "x-unit": "days" }, "non_working_days": { "description": "Official holiday-period dates and regular weekends in the selected range. Unit: days.", "type": "integer", "x-unit": "days" }, "normalized_end_date": { "description": "Later endpoint after normalization.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint after normalization.", "format": "date", "type": "string" }, "source_document_ids": { "description": "Official notice identifiers used across the range.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Official working dates in the selected inclusive/exclusive range. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Chile working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Chile's nationwide statutory/public-holiday layer over a Saturday-Sunday baseline. Regional/local holidays, school, bank, private-employer, sector and collective-agreement schedules are not inferred. Commerce mandatory-rest exceptions are preserved as provenance but are not generalized to every worker. Future annual dates require refreshed official evidence.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Chile working days around Chile Labour Day. | Count Chile working days around Chile ordinary working day. | Count Chile working days around Chile winter-solstice Indigenous Peoples Day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-02\",\"end_date\":\"2026-04-06\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/chile-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-06", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-02" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_cl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "chile-public-holidays", "type": "string" }, "calendar_scope": { "description": "Chile nationwide statutory/public holidays for 2026", "type": "string" }, "dataset_version": { "description": "cl-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Chile_Ley_2977_plus_related_statutory_and_labour_rules", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CL (Chile).", "type": "string" }, "territory_name": { "description": "Chile", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Colombia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Colombia working days around Colombia transferred Three Kings holiday. | Count Colombia working days around Colombia Good Friday. | Count Colombia working days around Ordinary Colombia working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-13\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/colombia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/colombia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-13", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_co_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "colombia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Colombia nationwide statutory paid-rest public holidays for 2026", "type": "string" }, "dataset_version": { "description": "co-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred", "type": "string" }, "territory": { "description": "CO (Colombia).", "type": "string" }, "territory_name": { "description": "Colombia", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Czech Republic working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; commemorative events do not create rest.\nExample user requests: Count Czech Republic working days around Two names on January 1, one rest date. | Count Czech Republic working days around Education commemorative day remains a planning workday. | Count Czech Republic working days around November 17 is a Czech statutory rest day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-04-02\",\"end_date\":\"2026-04-07\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope.\nFormula: planning_workday = weekday AND no state_holiday AND no other_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/czech-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-07", "start_date": "2026-04-02", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline, not a statutory universal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_cz_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "czech-public-holidays", "type": "string" }, "calendar_scope": { "description": "Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "cz-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_245_2000_sections_1_2_3_rest_section_4_commemorative", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has a section 4 event effective at that occurrence; does not add rest.", "type": "boolean" }, "is_other_holiday": { "description": "Whether result.date is a section 2 other holiday.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is a section 1 state holiday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a statutory holiday under section 1 or 2.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Calendar event dates including commemorations; this list length is not a rest-day count.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute Monday inferred", "type": "string" }, "territory": { "description": "CZ (Czech Republic).", "type": "string" }, "territory_name": { "description": "Czech Republic", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Germany working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Germany working days around German Unity Day. | Count Germany working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/germany-national-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/germany-national-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_de_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "germany-national-holidays", "type": "string" }, "calendar_scope": { "description": "Germany nationwide statutory public holidays for 2026", "type": "string" }, "dataset_version": { "description": "de-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DE (Germany).", "type": "string" }, "territory_name": { "description": "Germany", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Denmark working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Denmark working days around Ascension Day. | Count Denmark working days around Constitution Day is not a statutory holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/denmark-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/denmark-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_dk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "denmark-public-holidays", "type": "string" }, "calendar_scope": { "description": "Denmark nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "dk-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "DK (Denmark).", "type": "string" }, "territory_name": { "description": "Denmark", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Estonia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest.\nExample user requests: Count Estonia working days around Independence Day is statutory rest. | Count Estonia working days around Shortened working date is not full-day rest. | Count Estonia working days around National importance does not imply rest.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-06-22\",\"end_date\":\"2026-06-25\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope, shortened_work_dates_counted, shortened_work_date_count.\nFormula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/estonia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-06-25", "start_date": "2026-06-22", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_ee_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "estonia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ee-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest", "type": "string" }, "is_day_of_national_importance": { "description": "Whether result.date is a PTS section 3 observance without extra rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Event dates including non-rest observances and shortening; list length is not a full-day holiday count.", "type": "array" }, "shortened_work_date_count": { "description": "Count of included shortened dates, not hours.", "type": "integer" }, "shortened_work_dates_counted": { "description": "Included shortened dates, each already counted as one working day.", "items": { "type": "string" }, "type": "array" }, "shortening_scope": { "description": "Conditions and limits of shortening.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_unpublished_substitute_or_bridge_day_inferred", "type": "string" }, "territory": { "description": "EE (Estonia).", "type": "string" }, "territory_name": { "description": "Estonia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Egypt working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Egypt working days around Eid al-Fitr public holiday. | Count Egypt working days around Ordinary Egypt working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-19\",\"end_date\":\"2026-03-23\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/egypt-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/egypt-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-23", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-19" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_eg_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "egypt-public-holidays", "type": "string" }, "calendar_scope": { "description": "Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies", "type": "string" }, "dataset_version": { "description": "eg-official-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference", "type": "string" }, "territory": { "description": "EG (Egypt).", "type": "string" }, "territory_name": { "description": "Egypt", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Spain working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Spain working days around National Day. | Count Spain working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/spain-national-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/spain-national-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_es_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "spain-national-holidays", "type": "string" }, "calendar_scope": { "description": "Spain nationwide national non-substitutable labour holidays for 2026", "type": "string" }, "dataset_version": { "description": "es-national-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Autonomous-community substitution choices and local compensatory arrangements are not inferred.", "type": "string" }, "territory": { "description": "ES (Spain).", "type": "string" }, "territory_name": { "description": "Spain", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Finland working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Finland working days around Independence Day. | Count Finland working days around Midsummer Eve is agreement-dependent.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/finland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/finland-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_fi_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "finland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Finland nationwide church and national full-day public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "fi-nationwide-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.", "type": "string" }, "territory": { "description": "FI (Finland).", "type": "string" }, "territory_name": { "description": "Finland", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable France working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count France working days around Bastille Day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/france-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/france-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_fr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "france-public-holidays", "type": "string" }, "calendar_scope": { "description": "France national legal public holidays", "type": "string" }, "dataset_version": { "description": "fr-legifrance-public-holidays-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence", "type": "string" }, "territory": { "description": "FR (France).", "type": "string" }, "territory_name": { "description": "France", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Ghana working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Ghana working days around Republic Day observed. | Count Ghana working days around Ordinary Ghana working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-20\",\"end_date\":\"2026-03-23\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ghana-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ghana-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-23", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-20" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_gh_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "ghana-public-holidays", "type": "string" }, "calendar_scope": { "description": "Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "gh-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice", "type": "string" }, "territory": { "description": "GH (Ghana).", "type": "string" }, "territory_name": { "description": "Ghana", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a source-labelled nationwide public-holiday reference count for a supported country and regional or substitute-day semantics are not required. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the range needs a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside 2026-2028.\nWhat it computes: Counts working and non-working dates in a 2026-2028 range using CLDR weekends plus included nationwide OpenHolidays public events.\nExample user requests: Count reference working days in France from 2026-05-01 through 2026-05-15.\nInputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-05-01\",\"end_date\":\"2026-05-15\",\"territory\":\"FR\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], public_holidays_counted, territory, territory_name, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit.\nFormula: for each included date: working_days += reference status.is_working_day; non_working_days += not is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-public-holiday-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-05-15", "include_end_date": true, "include_start_date": true, "start_date": "2026-05-01", "territory": "FR" } ], "properties": { "end_date": { "description": "Last date in 2026-2028.", "examples": [ "2026-05-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2028.", "examples": [ "2026-05-01" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.", "enum": [ "AD", "AL", "AT", "BE", "BG", "BY", "CH", "CZ", "DE", "EE", "ES", "FR", "HR", "HU", "IE", "IT", "LI", "LT", "LU", "LV", "MC", "MD", "MT", "MX", "NL", "PL", "PT", "RO", "RS", "SE", "SI", "SK", "SM", "VA", "ZA" ], "examples": [ "DE" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "start_date", "end_date", "territory" ], "type": "object" }, "name": "count_global_public_holiday_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_counted": { "description": "Total dates included. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "global-public-holiday-reference.", "type": "string" }, "calendar_scope": { "description": "Weekday plus nationwide public-holiday reference.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenHolidays snapshot version.", "type": "string" }, "holiday_names": { "description": "Included nationwide public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nationwide public events only; regional and substitute-day rules are not inferred.", "type": "string" }, "non_working_days": { "description": "Weekend and included public-holiday dates. Unit: days.", "type": "integer", "x-unit": "days" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "Included public-holiday events in the range.", "type": "array" }, "source_commit": { "description": "Immutable source-data repository commit.", "type": "string" }, "source_quality": { "description": "Open public-source aggregation, not a direct national authority feed.", "type": "string" }, "substitute_day_policy": { "description": "not_inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "English country name from the source catalogue.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used as the base rule.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Reference working dates counted. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a broad national-scope reference count and regional or employer semantics are not required. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the range needs a direct official authority, regional/local or employer calendar, or dates outside 2026-2028.\nWhat it computes: Counts working and non-working dates in a 2026-2028 range using OpenWorkdays national-scope public-holiday data and country weekend rules.\nExample user requests: Count broad-reference working days in Australia from 2026-10-01 through 2026-10-15.\nInputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-10-01\",\"end_date\":\"2026-10-15\",\"territory\":\"AU\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], public_holidays_counted, territory, territory_name, source_territory_name, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url.\nFormula: for each included date: working_days += reference status.is_working_day; non_working_days += not is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-reference-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-10-15", "include_end_date": true, "include_start_date": true, "start_date": "2026-10-01", "territory": "AU" } ], "properties": { "end_date": { "description": "Last date in 2026-2028.", "examples": [ "2026-10-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2028.", "examples": [ "2026-10-01" ], "format": "date", "type": "string" }, "territory": { "description": "ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.", "enum": [ "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "start_date", "end_date", "territory" ], "type": "object" }, "name": "count_global_reference_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_counted": { "description": "Total dates included. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "global-working-day-reference.", "type": "string" }, "calendar_scope": { "description": "National reference plus country weekend and explicit working-weekend dates.", "type": "string" }, "coverage_end": { "description": "Last supported date.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned OpenWorkdays snapshot version.", "type": "string" }, "holiday_estimated": { "description": "True when an included event is marked estimated by the source.", "type": "boolean" }, "holiday_names": { "description": "Included national-scope public-holiday names on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when an included event is marked observed by the source.", "type": "boolean" }, "holiday_policy": { "description": "National-scope events with source observed/estimated flags preserved.", "type": "string" }, "non_working_days": { "description": "Weekend and public-holiday dates. Unit: days.", "type": "integer", "x-unit": "days" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "Source public-holiday events in the range.", "type": "array" }, "source_quality": { "description": "Open derived reference, not a direct national authority feed.", "type": "string" }, "source_territory_name": { "description": "Raw country name from the hash-pinned OpenWorkdays source catalogue.", "type": "string" }, "source_url": { "description": "Pinned OpenWorkdays source index.", "type": "string" }, "substitute_day_policy": { "description": "Source flags are preserved; no new substitute-day rule is inferred.", "type": "string" }, "territory": { "description": "Normalized uppercase country code.", "type": "string" }, "territory_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekend_days": { "description": "Weekend convention supplied by the source country file.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Reference working dates counted. Unit: working days.", "type": "integer", "x-unit": "working days" }, "working_weekend_day": { "description": "True when the source explicitly marks a weekend date as an official working day.", "type": "boolean" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a worldwide weekday-based count for a stated territory and public holidays are intentionally outside scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the count must reflect public holidays, substitute days, employer closures, bank settlement, exchange, school or religious calendars.\nWhat it computes: Counts weekday-baseline working days in a date range for any supported CLDR alpha-2 territory code, with explicit endpoint rules and no hidden holiday assumptions.\nExample user requests: How many weekday-baseline working days are between 2026-10-01 and 2026-10-15 in AE? | Count Saudi weekday working days from 2026-06-01 through 2026-06-30.\nInputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-10-01\",\"end_date\":\"2026-10-15\",\"territory\":\"AU\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], territory, territory_display_name, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url.\nFormula: for each included date: working_days += not is_weekend; non_working_days += is_weekend\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/global-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-10-15", "include_end_date": true, "include_start_date": true, "start_date": "2026-10-01", "territory": "AU" } ], "properties": { "end_date": { "description": "Last Gregorian date.", "examples": [ "2026-10-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates in the count.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates in the count.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First Gregorian date.", "examples": [ "2026-10-01" ], "format": "date", "type": "string" }, "territory": { "description": "CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.", "enum": [ "AC", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BU", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CP", "CQ", "CR", "CS", "CU", "CV", "CW", "CX", "CY", "CZ", "DD", "DE", "DG", "DJ", "DK", "DM", "DO", "DZ", "EA", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "EU", "EZ", "FI", "FJ", "FK", "FM", "FO", "FR", "FX", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NT", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "QO", "QU", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SU", "SV", "SX", "SY", "SZ", "TA", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TP", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "UN", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YD", "YE", "YT", "YU", "ZA", "ZM", "ZR", "ZW" ], "examples": [ "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "required": [ "start_date", "end_date", "territory" ], "type": "object" }, "name": "count_global_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_counted": { "description": "Total included dates. Unit: days.", "type": "integer", "x-unit": "days" }, "calendar_profile": { "description": "Machine-readable profile id: global-weekday-baseline.", "type": "string" }, "calendar_scope": { "description": "weekday_pattern_only; public holidays are intentionally not included.", "type": "string" }, "calendar_selection_catalog_url": { "description": "Use this catalog before selecting a jurisdiction-specific holiday package.", "type": "string" }, "dataset_version": { "description": "Pinned CLDR weekend-data version.", "type": "string" }, "holiday_policy": { "description": "public_holidays_not_included for this global baseline.", "type": "string" }, "non_working_days": { "description": "Weekend dates counted. Unit: days.", "type": "integer", "x-unit": "days" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "source_url": { "description": "Pinned CLDR JSON source.", "type": "string" }, "territory": { "description": "Normalized uppercase CLDR territory code.", "type": "string" }, "territory_display_name": { "description": "Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.", "type": "string" }, "weekend_days": { "description": "Territory weekend convention from CLDR.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Weekday-baseline working dates counted. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Greece working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Greece working days around Greece Easter Monday. | Count Greece working days around Greece ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-10\",\"end_date\":\"2026-04-14\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/greece-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/greece-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-14", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-10" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_gr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "greece-public-holidays", "type": "string" }, "calendar_scope": { "description": "Greece nationwide compulsory public holidays under the employment-law layer for 2026", "type": "string" }, "dataset_version": { "description": "gr-labour-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article_60_Law_4808_2021_compulsory_public_holidays", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence", "type": "string" }, "territory": { "description": "GR (Greece).", "type": "string" }, "territory_name": { "description": "Greece", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable 中国香港特别行政区 working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count 中国香港特别行政区 working days around 2027 Lunar New Year substitute. | Count 中国香港特别行政区 working days around 2026 Ching Ming substitution.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-02-06\",\"end_date\":\"2027-02-10\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hong-kong-general-holidays-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hong-kong-general-holidays-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-02-10", "include_end_date": true, "include_start_date": true, "start_date": "2027-02-06" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_hk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "hong-kong-general-holidays", "type": "string" }, "calendar_scope": { "description": "Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only", "type": "string" }, "dataset_version": { "description": "hk-general-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred", "type": "string" }, "territory": { "description": "HK (中国香港特别行政区).", "type": "string" }, "territory_name": { "description": "中国香港特别行政区", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Croatia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest.\nExample user requests: Count Croatia working days around Good Friday is not a general statutory holiday. | Count Croatia working days around Corpus Christi. | Count Croatia working days around Independence memorial is not a rest holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-04-03\",\"end_date\":\"2026-04-07\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope.\nFormula: planning_workday = weekday AND no article_1_statutory_holiday\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/croatia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-07", "start_date": "2026-04-03", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual statutory roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_hr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "croatia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "hr-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025", "type": "string" }, "is_commemorative_day": { "description": "Whether result.date has an article 2 memorial; this does not add rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an article 1 general statutory holiday.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Event dates including memorials; the list length is not a general rest-day count.", "type": "array" }, "religious_rest_scope": { "description": "article_3_person_specific_not_computed: no union or inferred personal religious identity.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_4_no_next_day_transfer; no_unpublished_substitute_inferred", "type": "string" }, "territory": { "description": "HR (Croatia).", "type": "string" }, "territory_name": { "description": "Croatia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Hungary working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates.\nExample user requests: Count Hungary working days around Working Saturday compensates August 21. | Count Hungary working days around Christmas Eve is transferred rest, not statutory holiday. | Count Hungary working days around Whit Monday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-08-07\",\"end_date\":\"2026-08-10\",\"work_schedule\":\"general_monday_friday\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope.\nFormula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/hungary-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-08-10", "start_date": "2026-08-07", "work_schedule": "general_monday_friday" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.", "enum": [ "general_monday_friday" ], "examples": [ "general_monday_friday" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_hu_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "hungary-public-holidays", "type": "string" }, "calendar_scope": { "description": "Hungary 2026 general Monday-Friday work schedule", "type": "string" }, "dataset_version": { "description": "hu-general-work-calendar-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_I_2012_102_1_and_NGM_10_2025", "type": "string" }, "is_makeup_working_day": { "description": "Whether result.date is a published working Saturday.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Labour Code 102(1) holiday.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Whether result.date is one of the three NGM rest dates.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "All retained calendar events, including working Saturdays; event count is not a rest-day count.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only three published 2026 transfer pairs; no substitute Monday inferred", "type": "string" }, "territory": { "description": "HU (Hungary).", "type": "string" }, "territory_name": { "description": "Hungary", "type": "string" }, "transfer_pair": { "description": "Paired working/rest dates and legal basis for result.date, otherwise empty object.", "type": "object" }, "work_schedule": { "description": "Explicitly selected general_monday_friday schedule.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Indonesia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Indonesia working days around National holiday. | Count Indonesia working days around Joint leave is separately labelled.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/indonesia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/indonesia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_id_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "indonesia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Indonesia national holidays and joint-leave schedule published by the three-minister SKB", "type": "string" }, "dataset_version": { "description": "id-skb-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.", "type": "string" }, "territory": { "description": "ID (Indonesia).", "type": "string" }, "territory_name": { "description": "Indonesia", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable 2026 central-government count and can specify the office scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a state/UT, bank, employer, school, exchange or exact outside-Delhi local optional calendar.\nWhat it computes: Counts 2026 central-government baseline working and non-working dates while preserving Gazetted and Restricted event classes.\nExample user requests: Count Delhi central-government working days from 2026-10-01 to 2026-10-31.\nInputs: start_date (date); end_date (date); office_scope (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-10-01\",\"end_date\":\"2026-10-31\",\"office_scope\":\"delhi_new_delhi\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, calendar_days_counted, gazetted_holidays_counted, restricted_holidays_available, territory, territory_name, office_scope, office_scope_name, is_guaranteed_non_working_day, day_type, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += selected status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/india-central-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-10-31", "include_end_date": true, "include_start_date": true, "office_scope": "delhi_new_delhi", "start_date": "2026-10-01" } ], "properties": { "end_date": { "description": "Last date in 2026.", "examples": [ "2026-10-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "office_scope": { "description": "Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.", "enum": [ "delhi_new_delhi", "outside_delhi" ], "examples": [ "delhi_new_delhi" ], "type": "string" }, "start_date": { "description": "First date in 2026.", "examples": [ "2026-10-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date", "office_scope" ], "type": "object" }, "name": "count_india_central_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_days_counted": { "description": "Total included dates.", "type": "integer" }, "calendar_profile": { "description": "in-dopt-central-government-holidays.", "type": "string" }, "calendar_scope": { "description": "Exact data scope.", "type": "string" }, "dataset_version": { "description": "Pinned DoPT package version.", "type": "string" }, "day_type": { "description": "Weekly rest day, gazetted holiday, restricted option or regular weekday.", "type": "string" }, "gazetted_holidays_counted": { "description": "Gazetted events in range.", "type": "array" }, "is_guaranteed_non_working_day": { "description": "True for the weekly baseline or an applicable gazetted holiday.", "type": "boolean" }, "non_working_days": { "description": "Weekly-rest and applicable Gazetted dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "office_scope": { "description": "Selected central-government office scope.", "type": "string" }, "office_scope_name": { "description": "Human-readable scope.", "type": "string" }, "rest_day_policy": { "description": "Weekly-rest and exclusion policy.", "type": "string" }, "restricted_holiday_available": { "description": "Whether a restricted-holiday option is listed on the date.", "type": "boolean" }, "restricted_holiday_policy": { "description": "Restricted and locally selected optional-holiday rule.", "type": "string" }, "restricted_holidays_available": { "description": "Restricted options in range.", "type": "array" }, "selection_policy": { "description": "Whether local optional selection is required.", "type": "string" }, "sources": { "description": "Official Government of India sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute-day inference.", "type": "string" }, "territory": { "description": "IN.", "type": "string" }, "territory_name": { "description": "India.", "type": "string" }, "working_days": { "description": "Central-government baseline working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Ireland national working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need employer, school, bank, sector or individually selected benefit schedules.\nWhat it computes: Counts national working and non-working dates in an Ireland 2026-2027 range.\nExample user requests: Count Ireland working days from 2027-01-29 to 2027-02-03.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-01-29\",\"end_date\":\"2027-02-03\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += Ireland status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/ireland-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-02-03", "include_end_date": true, "include_start_date": true, "start_date": "2027-01-29" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-02-03" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-01-29" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ireland_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "ireland-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned Ireland WRC package.", "type": "string" }, "good_friday_policy": { "description": "Good Friday is not a public holiday.", "type": "string" }, "holiday_names": { "description": "National statutory public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "non_working_days": { "description": "Weekend and exact national statutory public holiday dates.", "type": "integer" }, "public_holidays_counted": { "description": "Exact national events in the range.", "type": "array" }, "sources": { "description": "Official Irish government regulator and legislation sources.", "type": "array" }, "territory": { "description": "IE (Ireland).", "type": "string" }, "territory_name": { "description": "Ireland.", "type": "string" }, "weekend_holiday_policy": { "description": "No automatic next-working-day closure is inferred.", "type": "string" }, "working_days": { "description": "Ireland national working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Italy working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Italy working days around Republic Day. | Count Italy working days around Easter Monday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/italy-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/italy-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_it_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "italy-public-holidays", "type": "string" }, "calendar_scope": { "description": "Italy nationwide statutory/public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "it-national-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.", "type": "string" }, "territory": { "description": "IT (Italy).", "type": "string" }, "territory_name": { "description": "Italy", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Japan statutory national-holiday working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a company, school, bank, exchange or prefectural closure calendar.\nWhat it computes: Counts Japan statutory-baseline working and non-working dates for a pinned year range.\nExample user requests: Count Japan working days from 2027-03-01 to 2027-03-31.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-03-01\",\"end_date\":\"2027-03-31\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, national_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += Japan national status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/japan-national-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-03-31", "include_end_date": true, "include_start_date": true, "start_date": "2027-03-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-03-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-03-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_japan_national_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "jp-cabinet-office-national-holidays.", "type": "string" }, "calendar_scope": { "description": "Japan statutory national holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Cabinet Office evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or statutory national holiday.", "type": "string" }, "holiday_kinds": { "description": "National holiday or statutory holiday under the Cabinet Office table.", "items": { "type": "string" }, "type": "array" }, "holiday_legal_bases": { "description": "Holiday Act or Cabinet Office legal classification.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Japanese statutory holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "national_holidays_counted": { "description": "Cabinet Office events in the range.", "type": "array" }, "non_working_days": { "description": "Weekend and statutory holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "rest_day_policy": { "description": "Company, school, bank and exchange closures are not inferred.", "type": "string" }, "sources": { "description": "Official Cabinet Office and legislation sources.", "type": "array" }, "territory": { "description": "JP.", "type": "string" }, "territory_name": { "description": "Japan.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Japan statutory-baseline working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Kenya working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Kenya working days around Idd-ul-Fitr public holiday. | Count Kenya working days around Ordinary Kenya working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-03\",\"end_date\":\"2026-04-06\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kenya-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kenya-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-06", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-03" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ke_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "kenya-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline", "type": "string" }, "dataset_version": { "description": "ke-national-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kenya_Public_Holidays_Act_and_2026_Gazette_Notices", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice", "type": "string" }, "territory": { "description": "KE (Kenya).", "type": "string" }, "territory_name": { "description": "Kenya", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable South Korea working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count South Korea working days around New Labor Day public holiday. | Count South Korea working days around Published substitute holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-korea-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_kr_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "south-korea-public-holidays", "type": "string" }, "calendar_scope": { "description": "South Korea statutory public holidays and public-office substitute holidays for 2026", "type": "string" }, "dataset_version": { "description": "kr-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.", "type": "string" }, "territory": { "description": "KR (South Korea).", "type": "string" }, "territory_name": { "description": "South Korea", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Kazakhstan working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Kazakhstan working days around Nauryz transfer day. | Count Kazakhstan working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-21\",\"end_date\":\"2026-03-25\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/kazakhstan-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/kazakhstan-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-25", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-21" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_kz_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "kazakhstan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule", "type": "string" }, "dataset_version": { "description": "kz-gov-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred", "type": "string" }, "territory": { "description": "KZ (Kazakhstan).", "type": "string" }, "territory_name": { "description": "Kazakhstan", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Sri Lanka working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Sri Lanka working days around Poya holiday. | Count Sri Lanka working days around Temporary government-office Wednesday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-13\",\"end_date\":\"2026-04-14\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sri-lanka-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sri-lanka-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-14", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-13" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_lk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "sri-lanka-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures", "type": "string" }, "dataset_version": { "description": "lk-public-bank-mercantile-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides", "type": "string" }, "territory": { "description": "LK (Sri Lanka).", "type": "string" }, "territory_name": { "description": "Sri Lanka", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Lithuania working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed.\nWhat it computes: Counts working/rest dates in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest.\nExample user requests: Count Lithuania working days around Restoration of the State is a statutory holiday. | Count Lithuania working days around August 14 shortening is not full-day rest. | Count Lithuania working days around Good Friday is not an Article 123 rest day. | Count Lithuania working days around Easter eve depends on selected workweek.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\",\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\",\"work_schedule\":\"mon_sat_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope, shortened_work_dates_counted, shortened_work_date_count.\nFormula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/lithuania-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-12-31", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning" }, { "end_date": "2026-12-31", "start_date": "2026-01-01", "work_schedule": "mon_sat_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.", "enum": [ "mon_fri_planning", "mon_sat_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_lt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "lithuania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Lithuania 2026 statutory holiday facts over explicit mon_fri_planning", "type": "string" }, "dataset_version": { "description": "lt-explicit-workweek-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest", "type": "string" }, "is_preholiday_rule_date": { "description": "Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.", "type": "boolean" }, "is_shortened_workday": { "description": "Rule-eve which is also working in selected baseline; no claim of actual hours worked.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is an Article 123 holiday, independent of weekend.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Included distinct event dates, including conditional eves; list length is NOT a full-day holiday count.", "type": "array" }, "shortened_work_date_count": { "description": "Count of baseline working eves, not hours.", "type": "integer" }, "shortened_work_dates_counted": { "description": "Included baseline working eves, already counted once as working dates; not all conditional eve markers.", "items": { "type": "string" }, "type": "array" }, "shortening_scope": { "description": "Required conditions and exceptions to the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge", "type": "string" }, "territory": { "description": "LT (Lithuania).", "type": "string" }, "territory_name": { "description": "Lithuania", "type": "string" }, "work_schedule": { "description": "Explicit selected five-day or six-day planning workweek.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Luxembourg working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed.\nExample user requests: Count Luxembourg working days around Europe Day is statutory rest. | Count Luxembourg working days around No uniform Monday compensation date. | Count Luxembourg working days around Bank-only Good Friday is not general statutory rest.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-05-08\",\"end_date\":\"2026-05-11\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope, weekend_holiday_dates_counted, weekend_holiday_date_count.\nFormula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/luxembourg-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-05-11", "start_date": "2026-05-08", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2028.", "examples": [ "2028-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2028.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_lu_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "luxembourg-public-holidays", "type": "string" }, "calendar_scope": { "description": "Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of compensatory leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed; personal schedule and applicable rules required.", "type": "string" }, "dataset_version": { "description": "lu-statutory-calendar-2026-2028.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.", "type": "boolean" }, "holiday_policy": { "description": "Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed", "type": "string" }, "is_statutory_non_working_day": { "description": "Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "territory": { "description": "LU (Luxembourg).", "type": "string" }, "territory_name": { "description": "Luxembourg", "type": "string" }, "weekend_holiday_date_count": { "description": "Count of those calendar dates; not a leave entitlement.", "type": "integer" }, "weekend_holiday_dates_counted": { "description": "Included statutory holiday dates on the planning weekend; NOT individual compensatory days granted.", "items": { "type": "string" }, "type": "array" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Latvia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening.\nExample user requests: Count Latvia working days around Mother's Day is statutory even on Sunday. | Count Latvia working days around January 2 depends on explicit transfer basis. | Count Latvia working days around June 27 depends on explicit transfer basis.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\",\"calendar_basis\":\"statutory_holidays_only\",\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\",\"calendar_basis\":\"cabinet_order_330_transfers\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope, shortened_work_dates_counted, shortened_work_date_count.\nFormula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/latvia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "statutory_holidays_only", "end_date": "2026-12-31", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "cabinet_order_330_transfers", "end_date": "2026-12-31", "start_date": "2026-01-01", "work_schedule": "mon_fri_planning" } ], "properties": { "calendar_basis": { "description": "Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.", "enum": [ "statutory_holidays_only", "cabinet_order_330_transfers" ], "examples": [ "statutory_holidays_only" ], "type": "string" }, "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "count_lv_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected transfer basis; no employer adoption inferred.", "type": "string" }, "calendar_profile": { "description": "latvia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "lv-statutory-transfer-calendar-2026.1", "type": "string" }, "day_type": { "description": "statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis", "type": "string" }, "is_non_rest_observance": { "description": "Whether result.date has a section 2 observance, which itself does not cause rest.", "type": "boolean" }, "is_shortened_workday": { "description": "Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.", "type": "boolean" }, "is_statutory_holiday": { "description": "Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.", "type": "boolean" }, "is_transferred_rest_day": { "description": "Rest date under the explicitly selected Order 330 basis.", "type": "boolean" }, "is_transferred_working_day": { "description": "Working Saturday under the explicitly selected Order 330 basis.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Included event dates, also containing non-rest observances, shortening and transfers; not a full-day holiday count.", "type": "array" }, "shortened_work_date_count": { "description": "Number of included shortened dates, not hours.", "type": "integer" }, "shortened_work_dates_counted": { "description": "Included conditional shortened dates, already counted as one working day each.", "items": { "type": "string" }, "type": "array" }, "shortening_scope": { "description": "Conditions on the one-hour rule.", "type": "string" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "statutory_shortening_hours": { "description": "Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.", "type": "integer" }, "substitute_day_policy": { "description": "Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.", "type": "string" }, "territory": { "description": "LV (Latvia).", "type": "string" }, "territory_name": { "description": "Latvia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline, before selected transfers.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" }, "working_hours_scope": { "description": "Always not_computed.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Malta working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed.\nExample user requests: Count Malta working days around Good Friday is scheduled public rest. | Count Malta working days around Ordinary Sunday is public holiday, not a named holiday. | Count Malta working days around No invented Monday compensation.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-06-05\",\"end_date\":\"2026-06-08\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy, public_holiday_dates_counted, public_holiday_date_count, weekend_holiday_dates_counted, weekend_holiday_date_count.\nFormula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malta-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-06-08", "start_date": "2026-06-05", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_mt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "malta-public-holidays", "type": "string" }, "calendar_scope": { "description": "Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline", "type": "string" }, "compensatory_date_policy": { "description": "Always no_dates_assigned; not a denial of leave.", "type": "string" }, "compensatory_leave_scope": { "description": "Always not_computed.", "type": "string" }, "dataset_version": { "description": "mt-statutory-calendar-2026.1", "type": "string" }, "day_type": { "description": "national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date. Named events only; Sunday status is separately labelled.", "items": { "type": "string" }, "type": "array" }, "holiday_on_baseline_weekend": { "description": "Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.", "type": "boolean" }, "holiday_policy": { "description": "Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed", "type": "string" }, "is_named_statutory_holiday": { "description": "One of the fourteen government-listed dates; ordinary Sundays are not named events.", "type": "boolean" }, "is_national_holiday": { "description": "One of five national holidays under Cap.252 articles 2-3.", "type": "boolean" }, "is_other_scheduled_public_holiday": { "description": "One of nine other dates listed in the Cap.252 Schedule.", "type": "boolean" }, "is_public_holiday": { "description": "Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.", "type": "boolean" }, "is_sunday_public_holiday": { "description": "Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holiday_date_count": { "description": "Size of public_holiday_dates_counted, not a count of personal days off granted.", "type": "integer" }, "public_holiday_dates_counted": { "description": "Distinct included dates that are named holidays OR Sundays; overlaps counted once.", "items": { "type": "string" }, "type": "array" }, "public_holidays_counted": { "description": "Exact events in the range. Named events only; Sunday status is separately labelled.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No_uniform_next_Monday_or_compensatory_leave_date_assigned", "type": "string" }, "sunday_legal_basis": { "description": "Cap.252 article 5(1) on Sunday; empty otherwise.", "type": "string" }, "territory": { "description": "MT (Malta).", "type": "string" }, "territory_name": { "description": "Malta", "type": "string" }, "weekend_holiday_date_count": { "description": "Number of those named weekend dates; not granted leave.", "type": "integer" }, "weekend_holiday_dates_counted": { "description": "Named holiday dates on the baseline weekend; NOT leave entitlements.", "items": { "type": "string" }, "type": "array" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Mexico working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Mexico working days around Constitution Day observed.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/mexico-labor-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/mexico-labor-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_mx_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "mexico-labor-rest-days", "type": "string" }, "calendar_scope": { "description": "Mexico Federal Labour Law mandatory rest days", "type": "string" }, "dataset_version": { "description": "mx-lft-mandatory-rest-days-2026-09-29.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule", "type": "string" }, "territory": { "description": "MX (Mexico).", "type": "string" }, "territory_name": { "description": "Mexico", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable division-specific count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the division is unknown or employer/sector replacement-day rules matter.\nWhat it computes: Counts working and non-working dates for a selected Malaysian division over the pinned 2027 schedule.\nExample user requests: Count Kuala Lumpur working days from 2027-02-01 to 2027-02-15.\nInputs: start_date (date); end_date (date); division (enum); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-02-01\",\"end_date\":\"2027-02-15\",\"division\":\"KUL\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += selected status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/malaysia-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "KUL", "end_date": "2027-02-15", "include_end_date": true, "include_start_date": true, "start_date": "2027-02-01" } ], "properties": { "division": { "description": "Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.", "enum": [ "KUL", "LBN", "PJY", "JHR", "KDH", "KTN", "MLK", "NSN", "PHG", "PRK", "PLS", "PNG", "SBH", "SWK", "SGR", "TRG" ], "examples": [ "KUL" ], "type": "string" }, "end_date": { "description": "Last date in 2027.", "examples": [ "2027-02-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2027.", "examples": [ "2027-02-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date", "division" ], "type": "object" }, "name": "count_my_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "malaysia-bkpp-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Selected division's federal/state public holidays and weekly baseline.", "type": "string" }, "dataset_version": { "description": "Pinned BKPP/JPM 2027 package.", "type": "string" }, "day_type": { "description": "Regular weekday, official weekend or public holiday.", "type": "string" }, "division": { "description": "Normalized division code.", "type": "string" }, "division_name": { "description": "Federal territory or state.", "type": "string" }, "holiday_names": { "description": "Official events applying to the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "Always false here because no substitute date is inferred.", "type": "boolean" }, "is_working_day": { "description": "False for the division's declared weekly baseline or applicable official holiday.", "type": "boolean" }, "non_working_days": { "description": "Weekend and official event dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "Official events in range.", "type": "array" }, "rest_day_policy": { "description": "Employer roster and replacement-day policy are not inferred.", "type": "string" }, "sources": { "description": "Official government and legislative sources.", "type": "array" }, "substitute_day_policy": { "description": "Replacement dates are not inferred.", "type": "string" }, "territory": { "description": "MY.", "type": "string" }, "territory_name": { "description": "Malaysia.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Division weekly-rest baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Working dates counted.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable New Zealand national working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need regional anniversary or employer-specific closures.\nWhat it computes: Counts national working and non-working dates in a New Zealand 2026-2027 range.\nExample user requests: Count New Zealand working days from 2027-02-01 to 2027-02-15.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-02-01\",\"end_date\":\"2027-02-15\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += New Zealand status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/new-zealand-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-02-15", "include_end_date": true, "include_start_date": true, "start_date": "2027-02-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-02-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-02-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_new_zealand_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "new-zealand-employment-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National statutory public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned New Zealand government package.", "type": "string" }, "holiday_names": { "description": "National holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "non_working_days": { "description": "Weekend and exact national holiday dates.", "type": "integer" }, "public_holidays_counted": { "description": "Exact national events in the range.", "type": "array" }, "regional_anniversary_day_policy": { "description": "Regional anniversary days are not inferred.", "type": "string" }, "sources": { "description": "Official New Zealand Government and Employment New Zealand sources.", "type": "array" }, "territory": { "description": "NZ.", "type": "string" }, "territory_name": { "description": "New Zealand.", "type": "string" }, "working_days": { "description": "New Zealand national working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Nigeria working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Nigeria working days around Federal Democracy Day. | Count Nigeria working days around Ordinary federal working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-19\",\"end_date\":\"2026-03-20\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/nigeria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/nigeria-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-20", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-19" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ng_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "nigeria-public-holidays", "type": "string" }, "calendar_scope": { "description": "Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend", "type": "string" }, "dataset_version": { "description": "ng-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides", "type": "string" }, "territory": { "description": "NG (Nigeria).", "type": "string" }, "territory_name": { "description": "Nigeria", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Netherlands working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Netherlands working days around King's Day. | Count Netherlands working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/netherlands-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/netherlands-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_nl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "netherlands-public-holidays", "type": "string" }, "calendar_scope": { "description": "Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent", "type": "string" }, "dataset_version": { "description": "nl-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.", "type": "string" }, "territory": { "description": "NL (Netherlands).", "type": "string" }, "territory_name": { "description": "Netherlands", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Norway working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Norway working days around Constitution Day. | Count Norway working days around Christmas Eve is not a full-day statutory holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/norway-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/norway-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_no_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "norway-public-holidays", "type": "string" }, "calendar_scope": { "description": "Norway nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "no-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "NO (Norway).", "type": "string" }, "territory_name": { "description": "Norway", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Peru working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters.\nExample user requests: Peru: National July week. | Peru: Public-sector July week.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_scope (enum); workweek (integer).\nComplete JSON argument examples: {\"start_date\":\"2026-07-24\",\"end_date\":\"2026-07-30\",\"calendar_scope\":\"national_statutory\",\"workweek\":5} | {\"start_date\":\"2026-07-24\",\"end_date\":\"2026-07-30\",\"calendar_scope\":\"public_sector\",\"workweek\":5}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details.\nFormula: working day = outside selected weekly rest and selected holiday layer\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/peru-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_scope": "national_statutory", "end_date": "2026-07-30", "start_date": "2026-07-24", "workweek": 5 }, { "calendar_scope": "public_sector", "end_date": "2026-07-30", "start_date": "2026-07-24", "workweek": 5 } ], "properties": { "calendar_scope": { "description": "Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.", "enum": [ "national_statutory", "public_sector" ], "examples": [ "national_statutory" ], "type": "string" }, "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "workweek": { "description": "Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "start_date", "end_date", "calendar_scope", "workweek" ], "type": "object" }, "name": "count_pe_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "peru-public-holidays", "type": "string" }, "calendar_scope": { "description": "Peru 2026 national_statutory", "type": "string" }, "calendar_selection": { "description": "Explicit national_statutory or public_sector layer.", "type": "string" }, "compensable_day_details": { "description": "Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.", "type": "array" }, "dataset_version": { "description": "pe-official-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Peru_2026_national_holidays_with_explicit_public_sector_layer", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published dates only; no automatic Monday substitution or employer compensation roster is inferred", "type": "string" }, "territory": { "description": "PE (Peru).", "type": "string" }, "territory_name": { "description": "Peru", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" }, "workweek": { "description": "User-selected 5 or 6 days per week.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Philippines working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Philippines working days around EDSA remains a special working day. | Count Philippines working days around Eid'l Adha is a declared holiday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/philippines-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/philippines-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ph_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "philippines-public-holidays", "type": "string" }, "calendar_scope": { "description": "Philippines nationwide presidential-proclamation calendar", "type": "string" }, "dataset_version": { "description": "ph-op-proclamations-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.", "type": "string" }, "territory": { "description": "PH (Philippines).", "type": "string" }, "territory_name": { "description": "Philippines", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Pakistan working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Pakistan working days around Pakistan Day. | Count Pakistan working days around Ordinary federal working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-05-26\",\"end_date\":\"2026-05-28\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/pakistan-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/pakistan-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-05-28", "include_end_date": true, "include_start_date": true, "start_date": "2026-05-26" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_pk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "pakistan-public-holidays", "type": "string" }, "calendar_scope": { "description": "Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline", "type": "string" }, "dataset_version": { "description": "pk-federal-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate", "type": "string" }, "territory": { "description": "PK (Pakistan).", "type": "string" }, "territory_name": { "description": "Pakistan", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Poland working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Poland working days around Christmas Eve. | Count Poland working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/poland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/poland-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_pl_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "poland-public-holidays", "type": "string" }, "calendar_scope": { "description": "Poland nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pl-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.", "type": "string" }, "territory": { "description": "PL (Poland).", "type": "string" }, "territory_name": { "description": "Poland", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Portugal working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Portugal working days around Portugal Day. | Count Portugal working days around Ordinary weekday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/portugal-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/portugal-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_pt_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "portugal-public-holidays", "type": "string" }, "calendar_scope": { "description": "Portugal nationwide mandatory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "pt-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.", "type": "string" }, "territory": { "description": "PT (Portugal).", "type": "string" }, "territory_name": { "description": "Portugal", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Romania working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference.\nExample user requests: Count Romania working days around January 24 remains a statutory holiday even on Saturday. | Count Romania working days around Selected-calendar Good Friday.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_basis (enum); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-04-09\",\"end_date\":\"2026-04-14\",\"calendar_basis\":\"romanian_orthodox\",\"work_schedule\":\"mon_fri_planning\"} | {\"start_date\":\"2026-04-02\",\"end_date\":\"2026-04-07\",\"calendar_basis\":\"roman_catholic\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope.\nFormula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/romania-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "calendar_basis": "romanian_orthodox", "end_date": "2026-04-14", "start_date": "2026-04-09", "work_schedule": "mon_fri_planning" }, { "calendar_basis": "roman_catholic", "end_date": "2026-04-07", "start_date": "2026-04-02", "work_schedule": "mon_fri_planning" } ], "properties": { "calendar_basis": { "description": "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars.", "enum": [ "romanian_orthodox", "roman_catholic" ], "examples": [ "romanian_orthodox" ], "type": "string" }, "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "calendar_basis", "work_schedule" ], "type": "object" }, "name": "count_ro_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "additional_religious_holidays_scope": { "description": "Always not_computed.", "type": "string" }, "calendar_basis": { "description": "Explicit selected calendar basis; never inferred or combined.", "type": "string" }, "calendar_profile": { "description": "romania-public-holidays", "type": "string" }, "calendar_scope": { "description": "Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "ro-statutory-holidays-2026.1", "type": "string" }, "day_type": { "description": "statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Labour_Code_article_139_calendar_specific_not_union", "type": "string" }, "is_statutory_holiday": { "description": "Whether result.date is a holiday in the selected statutory layer.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No automatic substitute Monday, extra coincident-date day or employer bridge inferred", "type": "string" }, "territory": { "description": "RO (Romania).", "type": "string" }, "territory_name": { "description": "Romania", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Russia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this package covers the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Russia working days around Russia New Year's holiday. | Count Russia working days around Published transfer day. | Count Russia working days around Ordinary Russia working day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-11\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/russia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/russia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-11", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_ru_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "russia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Russia federal statutory public holidays and Government-published 2026 transfer days", "type": "string" }, "dataset_version": { "description": "ru-government-public-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference", "type": "string" }, "territory": { "description": "RU (Russia).", "type": "string" }, "territory_name": { "description": "Russia", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Saudi Arabia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Saudi Arabia working days around SAMA Eid Al-Fitr interval. | Count Saudi Arabia working days around Friday/Saturday weekly baseline. | Count Saudi Arabia working days around National Day Saturday substitution.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-03-17\",\"end_date\":\"2026-03-23\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/saudi-financial-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/saudi-financial-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-03-23", "include_end_date": true, "include_start_date": true, "start_date": "2026-03-17" } ], "properties": { "end_date": { "description": "Last date in 2026-2029.", "examples": [ "2029-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2029.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_sa_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "saudi-sama-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Saudi Central Bank financial institutions", "type": "string" }, "dataset_version": { "description": "sa-sama-financial-holidays-2026-2029.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.", "type": "string" }, "territory": { "description": "SA (Saudi Arabia).", "type": "string" }, "territory_name": { "description": "Saudi Arabia", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Sweden working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Sweden working days around National Day. | Count Sweden working days around Midsummer Eve is not statutory.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-01-01\",\"end_date\":\"2026-01-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/sweden-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/sweden-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-01-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-01-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_se_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "sweden-public-holidays", "type": "string" }, "calendar_scope": { "description": "Sweden nationwide statutory public holidays for 2026-2027", "type": "string" }, "dataset_version": { "description": "se-statutory-public-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.", "type": "string" }, "territory": { "description": "SE (Sweden).", "type": "string" }, "territory_name": { "description": "Sweden", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Slovenia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; seven named state holidays do not add rest.\nExample user requests: Count Slovenia working days around Easter Monday is statutory rest. | Count Slovenia working days around Whit Monday is not Whit Sunday. | Count Slovenia working days around Science Day is a state holiday without rest.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum).\nComplete JSON argument examples: {\"start_date\":\"2026-04-03\",\"end_date\":\"2026-04-07\",\"work_schedule\":\"mon_fri_planning\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope.\nFormula: planning_workday = weekday AND no statutory_work_free_event\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovenia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-04-07", "start_date": "2026-04-03", "work_schedule": "mon_fri_planning" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "work_schedule": { "description": "Required explicit Monday-Friday planning baseline; not an individual legal roster.", "enum": [ "mon_fri_planning" ], "examples": [ "mon_fri_planning" ], "type": "string" } }, "required": [ "start_date", "end_date", "work_schedule" ], "type": "object" }, "name": "count_si_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "slovenia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline", "type": "string" }, "dataset_version": { "description": "si-statutory-rest-calendar-2026.1", "type": "string" }, "day_type": { "description": "state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays", "type": "string" }, "is_non_rest_state_holiday": { "description": "Whether result.date is one of the seven state holidays that do not add rest.", "type": "boolean" }, "is_state_holiday": { "description": "Whether result.date is an article 1 state holiday, whether or not work-free.", "type": "boolean" }, "is_statutory_non_working_day": { "description": "Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.", "type": "boolean" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed.", "type": "string" }, "personal_roster_scope": { "description": "Always not_computed.", "type": "string" }, "public_holidays_counted": { "description": "Event dates including non-rest state holidays; list length is not a work-free date count.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred", "type": "string" }, "territory": { "description": "SI (Slovenia).", "type": "string" }, "territory_name": { "description": "Slovenia", "type": "string" }, "work_schedule": { "description": "Explicit mon_fri_planning baseline.", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Singapore working-day count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need an employer-specific rest-day roster, bank/exchange closures or future years.\nWhat it computes: Counts Singapore working and non-working dates in a 2026-2027 range using MOM public holidays and the CLDR Saturday/Sunday baseline.\nExample user requests: Count Singapore working days from 2027-02-01 to 2027-02-15.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-02-01\",\"end_date\":\"2027-02-15\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: for each included date: working_days += singapore status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/singapore-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-02-15", "include_end_date": true, "include_start_date": true, "start_date": "2027-02-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-02-15" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-02-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_singapore_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "singapore-mom-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Singapore national public holidays plus the CLDR Saturday/Sunday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned MOM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or MOM public holiday.", "type": "string" }, "holiday_names": { "description": "MOM holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the source explicitly publishes an observed date.", "type": "boolean" }, "non_working_days": { "description": "Weekend and public-holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "MOM events in the range.", "type": "array" }, "rest_day_policy": { "description": "Employer-specific weekly rest-day placement is not inferred.", "type": "string" }, "source_quality": { "description": "Official Singapore government sources, with employer-rest-day limitation.", "type": "string" }, "sources": { "description": "Official MOM, government open-data and legislation sources.", "type": "array" }, "territory": { "description": "SG.", "type": "string" }, "territory_name": { "description": "Singapore.", "type": "string" }, "weekend_days": { "description": "CLDR weekend convention used only as the baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "MOM-reference working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Slovakia working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot.\nWhat it computes: Counts authority-scope working and non-working dates in a range. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026.\nExample user requests: Count Slovakia working days around May 8 is a named holiday but a working date. | Count Slovakia working days around Good Friday. | Count Slovakia working days around November 17 is not statutory rest.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-05-07\",\"end_date\":\"2026-05-11\"}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, holiday_rest_status, payroll_scope.\nFormula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/slovakia-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-05-11", "start_date": "2026-05-07" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_sk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "slovakia-public-holidays", "type": "string" }, "calendar_scope": { "description": "Slovakia 2026 national statutory rest-day calendar", "type": "string" }, "dataset_version": { "description": "sk-statutory-rest-days-2026.1", "type": "string" }, "day_type": { "description": "weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Act_241_1993_sections_1_2_4b_2026", "type": "string" }, "holiday_rest_status": { "description": "Rest classification on result.date; a named holiday alone never implies non-working status.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "payroll_scope": { "description": "Always not_computed; calendar semantics do not decide wage premiums or leave.", "type": "string" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "No next-Monday substitution or employer day off is inferred", "type": "string" }, "territory": { "description": "SK (Slovakia).", "type": "string" }, "territory_name": { "description": "Slovakia", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable South Africa national working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need employer, school, bank, exchange or locally exchanged schedules.\nWhat it computes: Counts national working and non-working dates in a South Africa 2026-2027 range.\nExample user requests: Count South Africa working days from 2026-11-03 to 2026-11-06.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-11-03\",\"end_date\":\"2026-11-06\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += South Africa status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/south-africa-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-11-06", "include_end_date": true, "include_start_date": true, "start_date": "2026-11-03" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2026-11-06" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-11-03" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_south_africa_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "south-africa-public-holidays.", "type": "string" }, "calendar_scope": { "description": "National public holidays over a Monday-Friday baseline.", "type": "string" }, "dataset_version": { "description": "Pinned South African Government package.", "type": "string" }, "employer_schedule_policy": { "description": "Employer-specific exchanges and rest days are not inferred.", "type": "string" }, "holiday_names": { "description": "National public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "non_working_days": { "description": "Weekend and exact national public holiday dates.", "type": "integer" }, "public_holidays_counted": { "description": "Exact national events in the range.", "type": "array" }, "sources": { "description": "Official South African Government, legislation and Presidency sources.", "type": "array" }, "territory": { "description": "ZA (South Africa).", "type": "string" }, "territory_name": { "description": "South Africa.", "type": "string" }, "working_days": { "description": "South Africa national working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Thailand working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when this is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Thailand working days around 2027 substitution. | Count Thailand working days around Bangkok-only event remains conditional.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-04-13\",\"end_date\":\"2027-04-15\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/thailand-financial-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/thailand-financial-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-04-15", "include_end_date": true, "include_start_date": true, "start_date": "2027-04-13" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_th_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "thailand-bot-financial-holidays", "type": "string" }, "calendar_scope": { "description": "Thailand financial institutions and specialized financial institutions", "type": "string" }, "dataset_version": { "description": "th-bot-financial-holidays-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "BOT_published_financial_institution_and_specialized_financial_institution_holidays", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "BOT_substitution_events_are_pinned; no new substitution is inferred", "type": "string" }, "territory": { "description": "TH (Thailand).", "type": "string" }, "territory_name": { "description": "Thailand", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "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.\n\nDo not use this when you need a private employer, school, bank, exchange, local or collective-agreement calendar.\nWhat it computes: Counts Türkiye statutory-baseline working and non-working dates over a pinned 2026-2027 range.\nExample user requests: Count Türkiye working days from 2027-03-01 to 2027-03-31.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-03-01\",\"end_date\":\"2027-03-31\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: 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.\nFormula: for each included date: working_days += Turkey status.is_working_day\nDirect 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.\nDocs: https://tttkmbb.com/everyday/turkey-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-03-31", "include_end_date": true, "include_start_date": true, "start_date": "2027-03-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-03-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-03-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_turkey_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "tr-statutory-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Türkiye statutory national public holidays only.", "type": "string" }, "dataset_version": { "description": "Pinned Turkish official evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend, general holiday or half-day general holiday.", "type": "string" }, "general_holidays_counted": { "description": "Official events in the range, including half-day fraction.", "type": "array" }, "half_day_policy": { "description": "Official 13:00 half-day semantics.", "type": "string" }, "half_day_start_time": { "description": "13:00 when an official half-day applies; empty string otherwise.", "type": "string" }, "holiday_kinds": { "description": "full_day or half_day.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Turkish statutory holiday events applying on the date.", "items": { "type": "string" }, "type": "array" }, "non_working_days": { "description": "Weekend, full-day and half-day dates.", "type": "integer" }, "non_working_fraction": { "description": "1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.", "type": "number" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "rest_day_policy": { "description": "Private and sector-specific closures are not inferred.", "type": "string" }, "sources": { "description": "Official Diyanet and statutory sources.", "type": "array" }, "territory": { "description": "TR.", "type": "string" }, "territory_name": { "description": "Türkiye.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "Türkiye statutory-baseline working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable 中国台湾省 working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count 中国台湾省 working days around Spring Festival substitute holiday. | Count 中国台湾省 working days around Government calendar does not mean private-employer closure.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-02-04\",\"end_date\":\"2027-02-10\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/taiwan-government-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/taiwan-government-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-02-10", "include_end_date": true, "include_start_date": true, "start_date": "2027-02-04" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_tw_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "taiwan-government-work-calendar", "type": "string" }, "calendar_scope": { "description": "中国台湾省政府行政機關工作日曆 2026-2027", "type": "string" }, "dataset_version": { "description": "tw-dgpa-government-calendar-2026-2027.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.", "type": "string" }, "territory": { "description": "TW (中国台湾省).", "type": "string" }, "territory_name": { "description": "中国台湾省", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable UAE federal-government workday count for 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a local-government, private-employer, bank, exchange, school or future-year calendar.\nWhat it computes: Counts UAE federal-government working and non-working dates in an exact 2026 range.\nExample user requests: Count UAE federal-government working days from 2026-08-24 to 2026-08-31.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-08-24\",\"end_date\":\"2026-08-31\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, jurisdiction, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += UAE federal status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uae-federal-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-08-31", "include_end_date": true, "include_start_date": true, "start_date": "2026-08-24" } ], "properties": { "end_date": { "description": "Last date in 2026.", "examples": [ "2026-08-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026.", "examples": [ "2026-08-24" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_uae_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "uae-fahr-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "UAE federal-government workweek and national public holidays.", "type": "string" }, "dataset_version": { "description": "Pinned FAHR/UAE Government package.", "type": "string" }, "day_type": { "description": "Regular workday, official weekend or public holiday.", "type": "string" }, "holiday_legal_bases": { "description": "Government announcement or Cabinet Resolution basis.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Exact-date public holidays applying on the date.", "items": { "type": "string" }, "type": "array" }, "jurisdiction": { "description": "UAE federal government.", "type": "string" }, "non_working_days": { "description": "Weekend and exact public-holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "private_sector_policy": { "description": "Employer weekly rest-day limitation.", "type": "string" }, "public_holidays_counted": { "description": "Exact official events in the range.", "type": "array" }, "sources": { "description": "Official UAE Government, legislation and FAHR sources.", "type": "array" }, "territory": { "description": "AE.", "type": "string" }, "territory_name": { "description": "United Arab Emirates.", "type": "string" }, "unresolved_lunar_rules": { "description": "Rules still awaiting an official Gregorian date, if any.", "type": "array" }, "weekend_days": { "description": "Saturday and Sunday for the federal-government baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "UAE federal-government working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a 2024-2028 UK SLA, payroll, project or delivery-day count and the selected division's bank holidays must be excluded. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need only elapsed calendar days, a local/employer/market calendar, another jurisdiction or dates outside 2024-2028.\nWhat it computes: Counts working and non-working dates in England and Wales, Scotland or Northern Ireland using the official GOV.UK bank-holiday list instead of a weekday-only approximation.\nExample user requests: How many England and Wales working days are there from 24 December 2026 through 4 January 2027? | Count Northern Ireland business days from 10 to 14 July 2026 inclusive. | How many Scottish working days fall between 1 and 20 June 2026?\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); division (enum, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-12-24\",\"end_date\":\"2027-01-04\",\"include_start_date\":true,\"include_end_date\":true,\"division\":\"england-and-wales\"} | {\"start_date\":\"2026-07-10\",\"end_date\":\"2026-07-14\",\"include_start_date\":true,\"include_end_date\":true,\"division\":\"northern-ireland\"}\nOutputs: division, division_name, normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], bank_holidays_counted, dataset_version, coverage_start, coverage_end, source_snapshot_sha256.\nFormula: for each included date: working_days += is_working_day(date); non_working_days += not is_working_day(date)\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uk-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "division": "england-and-wales", "end_date": "2027-01-04", "include_end_date": true, "include_start_date": true, "start_date": "2026-12-24" }, { "division": "northern-ireland", "end_date": "2026-07-14", "include_end_date": true, "include_start_date": true, "start_date": "2026-07-10" } ], "properties": { "division": { "default": "england-and-wales", "description": "GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.", "enum": [ "england-and-wales", "scotland", "northern-ireland" ], "examples": [ "england-and-wales" ], "type": "string" }, "end_date": { "description": "Second range endpoint in YYYY-MM-DD format, within 2024-2028.", "examples": [ "2027-01-04" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether the normalized later endpoint participates in the count.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether the normalized earlier endpoint participates in the count.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First range endpoint in YYYY-MM-DD format, within 2024-2028.", "examples": [ "2026-12-24" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_uk_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "bank_holidays_counted": { "description": "Official bank-holiday events in the selected range.", "type": "array" }, "calendar_days_counted": { "description": "Total dates included after endpoint rules. Unit: days.", "type": "integer", "x-unit": "days" }, "coverage_end": { "description": "Last supported date in this pinned package.", "format": "date", "type": "string" }, "coverage_start": { "description": "First supported date in this pinned package.", "format": "date", "type": "string" }, "dataset_version": { "description": "Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.", "type": "string" }, "division": { "description": "Canonical GOV.UK division id.", "type": "string" }, "division_name": { "description": "Human-readable UK division.", "type": "string" }, "non_working_days": { "description": "Weekend and bank-holiday dates in the selected range. Unit: days.", "type": "integer", "x-unit": "days" }, "normalized_end_date": { "description": "Later endpoint after normalization.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint after normalization.", "format": "date", "type": "string" }, "source_snapshot_sha256": { "description": "SHA-256 of the complete official GOV.UK JSON response used for this package.", "type": "string" }, "working_days": { "description": "Monday-Friday dates not listed as a bank holiday. Unit: working days.", "type": "integer", "x-unit": "working days" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable federal-employee/office working-day count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a state/local/private-employer/exchange or alternate work-schedule calendar.\nWhat it computes: Counts US federal-baseline working and non-working dates using the OPM 2026-2027 schedule.\nExample user requests: Count US federal working days from 2027-07-01 to 2027-07-10.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2027-07-01\",\"end_date\":\"2027-07-10\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, federal_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources.\nFormula: for each included date: working_days += US federal status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/us-federal-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2027-07-10", "include_end_date": true, "include_start_date": true, "start_date": "2027-07-01" } ], "properties": { "end_date": { "description": "Last date in 2026-2027.", "examples": [ "2027-07-10" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2027.", "examples": [ "2027-07-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_us_federal_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "us-opm-federal-holidays.", "type": "string" }, "calendar_scope": { "description": "Federal employees and federal offices only.", "type": "string" }, "dataset_version": { "description": "Pinned OPM evidence package.", "type": "string" }, "day_type": { "description": "Regular weekday, regular weekend or OPM federal holiday.", "type": "string" }, "federal_holidays_counted": { "description": "OPM events in the range.", "type": "array" }, "holiday_actual_dates": { "description": "Underlying statutory holiday dates for observed events.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "OPM federal holiday names applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_observed": { "description": "True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.", "type": "boolean" }, "non_working_days": { "description": "Weekend and OPM federal-holiday dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "rest_day_policy": { "description": "OPM alternative work schedules need separate in-lieu resolution.", "type": "string" }, "source_quality": { "description": "Official OPM schedule and federal-law references.", "type": "string" }, "sources": { "description": "Official OPM, federal guidance and legislation sources.", "type": "array" }, "territory": { "description": "US.", "type": "string" }, "territory_name": { "description": "United States.", "type": "string" }, "weekend_days": { "description": "CLDR Saturday/Sunday baseline.", "items": { "type": "string" }, "type": "array" }, "working_days": { "description": "US federal-baseline working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable nationwide count with explicit workweek semantics. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the workweek or employer/shift scope is unknown.\nWhat it computes: Counts working and non-working dates in Uzbekistan's pinned 2026 schedule for a required workweek variant.\nExample user requests: Count five-day Uzbekistan working days from 2026-05-25 to 2026-06-02.\nInputs: start_date (date); end_date (date); workweek (integer); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-05-25\",\"end_date\":\"2026-06-02\",\"workweek\":5,\"include_start_date\":true,\"include_end_date\":true}\nOutputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/uzbekistan-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-06-02", "include_end_date": true, "include_start_date": true, "start_date": "2026-05-25", "workweek": 5 } ], "properties": { "end_date": { "description": "Last date in 2026.", "examples": [ "2026-06-02" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026.", "examples": [ "2026-05-25" ], "format": "date", "type": "string" }, "workweek": { "description": "Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.", "examples": [ 5 ], "maximum": 6, "minimum": 5, "type": "integer" } }, "required": [ "start_date", "end_date", "workweek" ], "type": "object" }, "name": "count_uzbekistan_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "uzbekistan-public-holidays.", "type": "string" }, "calendar_scope": { "description": "Nationwide 2026 statutory and PF-257 schedule scope.", "type": "string" }, "dataset_version": { "description": "Pinned package version.", "type": "string" }, "day_type": { "description": "Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.", "type": "string" }, "holiday_details": { "description": "Events with legal basis.", "type": "array" }, "holiday_kinds": { "description": "Structured event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Official events applying on the date.", "items": { "type": "string" }, "type": "array" }, "is_working_day": { "description": "Whether the date is working under the selected official workweek variant.", "type": "boolean" }, "non_working_days": { "description": "Weekend and official rest dates.", "type": "integer" }, "normalized_end_date": { "description": "Later endpoint.", "format": "date", "type": "string" }, "normalized_start_date": { "description": "Earlier endpoint.", "format": "date", "type": "string" }, "public_holidays_counted": { "description": "Official events in range.", "type": "array" }, "sources": { "description": "Authority and cross-check sources.", "type": "array" }, "substitute_day_policy": { "description": "Published transfers only; no employer/shift inference.", "type": "string" }, "territory": { "description": "UZ.", "type": "string" }, "territory_name": { "description": "Uzbekistan.", "type": "string" }, "weekday": { "description": "Gregorian weekday.", "type": "string" }, "weekend_days": { "description": "Selected weekly-rest baseline.", "items": { "type": "string" }, "type": "array" }, "weekly_rest_model": { "description": "Weekly rest baseline applied.", "type": "string" }, "working_days": { "description": "Working dates counted.", "type": "integer" }, "workweek": { "description": "Selected five-day or six-day workweek.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need an auditable Vietnam working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved.\nWhat it computes: Counts authority-scope working and non-working dates in a range.\nExample user requests: Count Vietnam working days around New Year transfer. | Count Vietnam working days around Vietnam Cultural Day.\nInputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional).\nComplete JSON argument examples: {\"start_date\":\"2026-04-26\",\"end_date\":\"2026-05-01\",\"include_start_date\":true,\"include_end_date\":true}\nOutputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources.\nFormula: for each included date: working_days += status.is_working_day\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/vietnam-public-working-days-between with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/everyday/vietnam-public-working-days-between.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-05-01", "include_end_date": true, "include_start_date": true, "start_date": "2026-04-26" } ], "properties": { "end_date": { "description": "Last date in 2026-2026.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "include_end_date": { "default": true, "description": "Whether end_date participates.", "examples": [ true ], "type": "boolean" }, "include_start_date": { "default": true, "description": "Whether start_date participates.", "examples": [ true ], "type": "boolean" }, "start_date": { "description": "First date in 2026-2026.", "examples": [ "2026-01-01" ], "format": "date", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "name": "count_vn_working_days", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "calendar_profile": { "description": "vietnam-public-holidays", "type": "string" }, "calendar_scope": { "description": "Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays", "type": "string" }, "dataset_version": { "description": "vn-public-holidays-2026.1", "type": "string" }, "day_type": { "description": "Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.", "type": "string" }, "holiday_details": { "description": "Structured event details, including partial-day notes where published.", "type": "array" }, "holiday_kinds": { "description": "Authority event classifications.", "items": { "type": "string" }, "type": "array" }, "holiday_names": { "description": "Events applying on the date.", "items": { "type": "string" }, "type": "array" }, "holiday_policy": { "description": "Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays", "type": "string" }, "non_working_days": { "description": "Weekend and exact authority events.", "type": "integer" }, "public_holidays_counted": { "description": "Exact events in the range.", "type": "array" }, "sources": { "description": "Authority and legislation sources.", "type": "array" }, "substitute_day_policy": { "description": "published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred", "type": "string" }, "territory": { "description": "VN (Vietnam).", "type": "string" }, "territory_name": { "description": "Vietnam", "type": "string" }, "working_days": { "description": "Authority-scope working dates.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you want to know how long an EV needs on a home wallbox, a public AC post or a DC fast charger to reach a target charge, or what the session costs at a given electricity price. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a battery's charge time from ampere-hours and charger current (use battery-charge-time) or the driving range the added energy gives (use ev-range-efficiency); DC fast charging above about 80 % tapers strongly and takes longer than this constant-power estimate.\nWhat it computes: Estimates how long an electric vehicle takes to charge between two states of charge from its battery capacity, the charger power (capped by the onboard charger for AC charging) and the charging efficiency, plus the energy drawn from the grid and its cost.\nInputs: battery_capacity_kwh (number, kWh); start_percent (number, %, optional); target_percent (number, %, optional); charger_power_kw (number, kW); max_onboard_charger_kw (number, kW, optional); charging_efficiency_percent (number, %, optional); electricity_price_per_kwh (number, per kWh, optional).\nComplete JSON argument examples: {\"battery_capacity_kwh\":75,\"start_percent\":20,\"target_percent\":80,\"charger_power_kw\":7,\"charging_efficiency_percent\":90,\"electricity_price_per_kwh\":0.3} | {\"battery_capacity_kwh\":60,\"start_percent\":10,\"target_percent\":100,\"charger_power_kw\":11,\"max_onboard_charger_kw\":7.4}\nOutputs: energy_added_kwh [kWh], energy_from_grid_kwh [kWh], effective_power_kw [kW], charging_time_hours [h], charging_time_text, cost, range_note.\nFormula: energy_added_kwh = battery_capacity_kwh × (target_percent − start_percent) / 100; energy_from_grid_kwh = energy_added_kwh / (charging_efficiency_percent / 100); effective_power_kw = min(charger_power_kw, max_onboard_charger_kw); charging_time_hours = energy_from_grid_kwh / effective_power_kw; cost = energy_from_grid_kwh × electricity_price_per_kwh\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ev-charging-time with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/energy/ev-charging-time.md", "inputSchema": { "additionalProperties": false, "examples": [ { "battery_capacity_kwh": 75, "charger_power_kw": 7, "charging_efficiency_percent": 90, "electricity_price_per_kwh": 0.3, "start_percent": 20, "target_percent": 80 }, { "battery_capacity_kwh": 60, "charger_power_kw": 11, "max_onboard_charger_kw": 7.4, "start_percent": 10, "target_percent": 100 } ], "properties": { "battery_capacity_kwh": { "description": "Usable battery capacity in kilowatt-hours (e.g. 40, 60, 75, 100). Unit: kWh.", "examples": [ 75 ], "exclusiveMinimum": 0, "maximum": 1000, "type": "number", "x-unit": "kWh" }, "charger_power_kw": { "description": "Power the charging point delivers: 1.4–2.3 kW household socket (Level 1), 7–22 kW wallbox / AC post (Level 2), 50–350 kW DC fast charger. Unit: kW.", "examples": [ 7 ], "exclusiveMinimum": 0, "maximum": 1000, "type": "number", "x-unit": "kW" }, "charging_efficiency_percent": { "default": 90, "description": "Share of grid energy stored in the battery; 85–92 % is typical for AC charging (onboard charger and battery losses). Unit: %.", "examples": [ 90 ], "maximum": 100, "minimum": 50, "type": "number", "x-unit": "%" }, "electricity_price_per_kwh": { "description": "Optional price per kWh in your currency for the cost of the session (grid energy × price). Unit: per kWh.", "examples": [ 0.3 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "per kWh" }, "max_onboard_charger_kw": { "description": "Optional maximum AC charging power of the car's onboard charger (commonly 7.4 or 11 kW); the effective power is the lower of the two. Omit for DC charging. Unit: kW.", "examples": [ 11 ], "exclusiveMinimum": 0, "maximum": 1000, "type": "number", "x-unit": "kW" }, "start_percent": { "default": 20, "description": "State of charge at the start of the session. Unit: %.", "examples": [ 20 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" }, "target_percent": { "default": 80, "description": "State of charge to reach; must be higher than start_percent. Unit: %.", "examples": [ 80 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "%" } }, "required": [ "battery_capacity_kwh", "charger_power_kw" ], "type": "object" }, "name": "estimate_ev_charging_time", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "charging_time_hours": { "description": "energy_from_grid_kwh / effective_power_kw. Unit: h.", "type": "number", "x-unit": "h" }, "charging_time_text": { "description": "Charging time as hours and minutes, e.g. \"7 h 9 min\".", "type": "string" }, "cost": { "description": "energy_from_grid_kwh × electricity_price_per_kwh; only when a price is given.", "type": "number" }, "effective_power_kw": { "description": "min(charger_power_kw, max_onboard_charger_kw). Unit: kW.", "type": "number", "x-unit": "kW" }, "energy_added_kwh": { "description": "battery_capacity_kwh × (target_percent − start_percent) / 100. Unit: kWh.", "type": "number", "x-unit": "kWh" }, "energy_from_grid_kwh": { "description": "energy_added_kwh / efficiency (what the meter records). Unit: kWh.", "type": "number", "x-unit": "kWh" }, "range_note": { "description": "Approximate driving range the added energy gives at an example consumption of 160 Wh/km.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need someone's Chinese zodiac sign and element from a Gregorian birth date, especially for January–February births where the boundary matters, or the sign's traditional compatibility groups. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you need a full Bazi chart with month, day and hour pillars (use bazi-four-pillars), or the Western star sign (use zodiac).\nWhat it computes: Finds the Chinese zodiac animal (生肖 shengxiao), sexagenary year (干支 ganzhi), stem element, yin/yang, nayin (纳音) and fixed element for a birth date, using either the Chinese New Year boundary or the 立春 (Lichun) boundary, plus the traditional relationship groups (六合, 三合, 六冲, 六害, 相刑) and 本命年 years.\nInputs: birth_date (date); boundary (enum, optional); reference_year (integer, optional).\nComplete JSON argument examples: {\"birth_date\":\"1990-02-10\",\"boundary\":\"lunar_new_year\",\"reference_year\":2026} | {\"birth_date\":\"1990-02-03\",\"boundary\":\"lichun\"}\nOutputs: zodiac, zodiac_cn, year_ganzhi, year_ganzhi_pinyin, year_english, stem_element, yin_yang, nayin, animal_fixed_element, year_used, chinese_new_year_date, lichun_datetime, boundary_note, benmingnian_years, secret_friend, trine_partners, clash, harm, punishment, age_in_reference_year [years], is_benmingnian_in_reference_year, reference_year_zodiac.\nFormula: year_used = Gregorian year, minus 1 when birth_date is before Chinese New Year (or before 立春 with boundary = lichun); ganzhi index = (year_used − 4) mod 60; animal = branch = index mod 12; 六合 partner = (13 − b) mod 12; 三合 = b ± 4; 六冲 = b + 6; 六害 partner = (7 − b) mod 12\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/chinese-zodiac with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/lunar/chinese-zodiac.md", "inputSchema": { "additionalProperties": false, "examples": [ { "birth_date": "1990-02-10", "boundary": "lunar_new_year", "reference_year": 2026 }, { "birth_date": "1990-02-03", "boundary": "lichun" } ], "properties": { "birth_date": { "description": "Gregorian birth date (civil date in China Standard Time), 1900–2100.", "examples": [ "1990-02-10" ], "format": "date", "type": "string" }, "boundary": { "default": "lunar_new_year", "description": "Which event starts the zodiac year: Chinese New Year (popular usage, default) or 立春 around 4 February (astrological usage).", "enum": [ "lunar_new_year", "lichun" ], "examples": [ "lunar_new_year" ], "type": "string" }, "reference_year": { "description": "Optional Gregorian year for which to report the age and whether it is a 本命年.", "examples": [ 2026 ], "maximum": 2100, "minimum": 1900, "type": "integer" } }, "required": [ "birth_date" ], "type": "object" }, "name": "find_chinese_zodiac", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "age_in_reference_year": { "description": "Age reached on the birthday in reference_year (reference_year − Gregorian birth year); only when reference_year is given. Unit: years.", "type": "integer", "x-unit": "years" }, "animal_fixed_element": { "description": "Element of the earthly branch: Rat Water, Ox Earth, Tiger Wood, Rabbit Wood, Dragon Earth, Snake Fire, Horse Fire, Goat Earth, Monkey Metal, Rooster Metal, Dog Earth, Pig Water.", "type": "string" }, "benmingnian_years": { "description": "Zodiac years of the same animal from the birth year to birth year + 96, with their ganzhi.", "items": { "type": "string" }, "type": "array" }, "boundary_note": { "description": "Whether the birth date fell before or after the chosen boundary, and what the other convention would give.", "type": "string" }, "chinese_new_year_date": { "description": "Date of 正月初一 in the Gregorian year of birth.", "format": "date", "type": "string" }, "clash": { "description": "Opposite sign on the 12-branch circle.", "type": "string" }, "harm": { "description": "Six-harm counterpart of the sign.", "type": "string" }, "is_benmingnian_in_reference_year": { "description": "true when the zodiac year numbered reference_year has the same animal as the birth year; only when reference_year is given.", "type": "boolean" }, "lichun_datetime": { "description": "Instant of 立春 in the Gregorian year of birth (China Standard Time).", "type": "string" }, "nayin": { "description": "Nayin melodic element of the year ganzhi.", "type": "string" }, "punishment": { "description": "Punishment partners: 寅巳申 and 丑戌未 groups, the 子卯 pair, or self-punishment (自刑) for 辰午酉亥.", "type": "string" }, "reference_year_zodiac": { "description": "Ganzhi and animal of the year numbered reference_year; only when reference_year is given.", "type": "string" }, "secret_friend": { "description": "Six-harmony partner of the sign.", "type": "string" }, "stem_element": { "description": "Element of the heavenly stem with its character.", "type": "string" }, "trine_partners": { "description": "The two other signs of the same triangle of affinity.", "type": "string" }, "year_english": { "description": "Stem element and animal, e.g. Metal Horse.", "type": "string" }, "year_ganzhi": { "description": "Sexagenary year, e.g. 庚午.", "type": "string" }, "year_ganzhi_pinyin": { "description": "Pinyin, e.g. Gengwu.", "type": "string" }, "year_used": { "description": "Year number the birth date was assigned to under the chosen boundary.", "type": "integer" }, "yin_yang": { "description": "Polarity of the stem (and branch) of the year.", "type": "string" }, "zodiac": { "description": "Animal sign in English.", "type": "string" }, "zodiac_cn": { "description": "Animal sign character.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this only after search_calculators when its input_hints do not resolve a range, enum or optional-field question. Return the full input/output schema, formula, sources, examples and limitations for one calculator. Do not call it when the search result already supplies enough input detail; call run_calculator instead. This tool only describes and does not calculate.", "inputSchema": { "additionalProperties": false, "properties": { "calculator_id": { "description": "Exact calculator_id returned by search_calculators; for example 'bmi' or 'compound-interest'.", "examples": [ "compound-interest" ], "type": "string" } }, "required": [ "calculator_id" ], "type": "object" }, "name": "get_calculator_schema", "outputSchema": { "description": "Read-only catalogue or schema result used to select a calculation tool.", "properties": { "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "type": "object" }, "result": { "type": "object" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" } }, "required": [ "success", "result", "timestamp" ], "type": "object" } }, { "description": "List the calculator categories with id, name, description and calculator count. Use it to orient before list_calculators. Does not perform calculations.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "list_calculator_categories", "outputSchema": null }, { "description": "List all calculators, optionally filtered by category id (finance, health, fitness, math, geometry, statistics, conversion, physics, chemistry, everyday, food, construction, business, time, medical, engineering, weather, investing, developer, energy, photography, science, gaming, lunar, yijing). Returns calculator_id, name, description, use_when and required inputs for each.\n\nUse it to browse a whole category; use search_calculators for keyword lookup. Does not perform calculations.", "inputSchema": { "additionalProperties": false, "properties": { "category": { "description": "Category id.", "enum": [ "finance", "health", "fitness", "math", "geometry", "statistics", "conversion", "physics", "chemistry", "everyday", "food", "construction", "business", "time", "medical", "engineering", "weather", "investing", "developer", "energy", "photography", "science", "gaming", "lunar", "yijing" ], "type": "string" } }, "type": "object" }, "name": "list_calculators", "outputSchema": null }, { "description": "Use this when you need the date or time of 立春, 清明, 夏至, 冬至 or any other solar term in a given year, or the full 24-term table. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only need the term that a specific date falls in (use lunar-calendar-converter), or you need sunrise/sunset times (use sunrise-sunset).\nWhat it computes: Lists the 24 solar terms (节气 jieqi) of a Gregorian year with their exact instants: the moments the Sun's apparent longitude reaches multiples of 15°, computed astronomically and shown in a chosen UTC offset (China Standard Time by default).\nExample user requests: List all 24 solar terms for 2027 in UTC+8. | 2026 年立春和冬至的准确时间是什么? | When is Qingming this year in China Standard Time?\nInputs: year (integer); utc_offset_hours (number, h, optional).\nComplete JSON argument examples: {\"year\":2024,\"utc_offset_hours\":8} | {\"year\":2026,\"utc_offset_hours\":8}\nOutputs: terms, lichun_date, spring_equinox, summer_solstice, autumn_equinox, winter_solstice, year_ganzhi, suishou_note, utc_offset.\nFormula: term instant: apparent geocentric solar longitude λ(JDE) = k·15° for k = 0 (春分) … 23 (惊蛰), solved by Newton iteration; UT = TT − ΔT; local time = UT + utc_offset_hours\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/solar-terms with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/lunar/solar-terms.md", "inputSchema": { "additionalProperties": false, "examples": [ { "utc_offset_hours": 8, "year": 2024 }, { "utc_offset_hours": 8, "year": 2026 } ], "properties": { "utc_offset_hours": { "default": 8, "description": "Fixed UTC offset in hours for the local date-times (8 = China Standard Time; 9 = Japan/Korea; 5.5 = India). Unit: h.", "examples": [ 8 ], "maximum": 14, "minimum": -12, "type": "number", "x-unit": "h" }, "year": { "description": "Gregorian calendar year (1900–2100).", "examples": [ 2024 ], "maximum": 2100, "minimum": 1900, "type": "integer" } }, "required": [ "year" ], "type": "object" }, "name": "list_solar_terms", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "autumn_equinox": { "description": "Local date and time of 秋分 (180°).", "type": "string" }, "lichun_date": { "description": "Local date and time (HH:MM) of 立春, the start of the solar-term year.", "type": "string" }, "spring_equinox": { "description": "Local date and time of 春分 (Sun at 0°).", "type": "string" }, "suishou_note": { "description": "When the sexagenary year begins under solar-term reckoning (立春) versus the lunar calendar (Chinese New Year).", "type": "string" }, "summer_solstice": { "description": "Local date and time of 夏至 (90°).", "type": "string" }, "terms": { "description": "24 rows in calendar order (小寒 first): name_cn, pinyin, english, solar_longitude (°), datetime_local, datetime_utc, date, type (major 中气 / minor 节).", "type": "array" }, "utc_offset": { "description": "Offset applied to datetime_local and date.", "type": "string" }, "winter_solstice": { "description": "Local date and time of 冬至 (270°).", "type": "string" }, "year_ganzhi": { "description": "Sexagenary name of the year with pinyin and element/animal.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the next or historical daylight-saving/offset changes for scheduling, payroll, travel, audits or a regression test, with a specific reproducible tzdb version. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you only need to convert one ordinary date-time, need legal advice about a jurisdiction's time law, or need changes announced after this pinned release.\nWhat it computes: Lists every UTC-offset transition for one IANA zone and date range using pinned tzdb 2026d, including the local boundaries, offsets, abbreviations and whether the clock creates a gap or overlap.\nExample user requests: List every 2026 UTC-offset transition in America/New_York with local boundaries. | When does Australia/Adelaide change clocks between 2026-01-01 and 2027-01-01? | 列出 Europe/London 在 2026 年的夏令时转换点、前后偏移和 IANA 数据版本。\nInputs: time_zone (string); start_date (date); end_date (date).\nComplete JSON argument examples: {\"time_zone\":\"America/New_York\",\"start_date\":\"2026-01-01\",\"end_date\":\"2026-12-31\"}\nOutputs: time_zone, resolved_zone_id, start_date, end_date, transition_count, transitions, tzdb_version, dataset_version, source_url, source_sha256, coverage_note.\nFormula: select zone transition instants whose local boundary before or after lies inside [start_date, end_date]\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/time-zone-transitions with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/time/time-zone-transitions.md", "inputSchema": { "additionalProperties": false, "examples": [ { "end_date": "2026-12-31", "start_date": "2026-01-01", "time_zone": "America/New_York" } ], "properties": { "end_date": { "description": "Last local calendar date to inspect; ranges may not exceed 3,660 days.", "examples": [ "2026-12-31" ], "format": "date", "type": "string" }, "start_date": { "description": "First local calendar date to inspect (1900-01-01 through 2100-12-31).", "examples": [ "2026-01-01" ], "format": "date", "type": "string" }, "time_zone": { "description": "IANA zone identifier present in tzdb 2026d.", "examples": [ "America/New_York" ], "maxLength": 64, "type": "string" } }, "required": [ "time_zone", "start_date", "end_date" ], "type": "object" }, "name": "list_time_zone_transitions", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "coverage_note": { "description": "Coverage and rule-change limitations for this fixed version.", "type": "string" }, "dataset_version": { "description": "Immutable Calcgrid evidence-package version.", "type": "string" }, "end_date": { "description": "Last local date inspected.", "format": "date", "type": "string" }, "resolved_zone_id": { "description": "Zone record used by the pinned data build.", "type": "string" }, "source_sha256": { "description": "SHA-256 of the downloaded official IANA tzdata release artifact.", "type": "string" }, "source_url": { "description": "Version-specific official IANA release URL.", "type": "string" }, "start_date": { "description": "First local date inspected.", "format": "date", "type": "string" }, "time_zone": { "description": "Zone identifier supplied by the caller.", "type": "string" }, "transition_count": { "description": "Number of offset changes in the selected local-date range.", "type": "integer" }, "transitions": { "description": "UTC instant, gap/overlap kind, local boundaries, abbreviations and offsets before/after.", "type": "array" }, "tzdb_version": { "description": "Pinned IANA release used for every offset and transition.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "List every unit symbol supported by convert_units, grouped by quantity, with names. Use it when a unit symbol is rejected with UNKNOWN_UNIT. Does not convert anything.", "inputSchema": { "additionalProperties": false, "properties": { "quantity": { "description": "Optional quantity id to filter (e.g. 'length').", "type": "string" } }, "type": "object" }, "name": "list_units", "outputSchema": null }, { "description": "Use this before a working-day or business-day task to select the correct evidence package. It distinguishes the worldwide CLDR weekday/weekend baseline, the broad source-labelled OpenWorkdays national-scope reference, the clearly labelled OpenHolidays nationwide public-holiday reference, and the official public-holiday calendars for mainland China, Singapore, Australia, the US, Canada, Japan, India's central government, UAE federal government, New Zealand, South Africa, Ireland plus the UK. The result contains one machine-readable route per CLDR territory, or one route when the optional territory filter is supplied, including whether holiday semantics are unsupported, reference-only, or require a jurisdiction-specific input such as the UK division, Australian state/territory or Indian office scope. US is OPM federal scope only; CA is Canada Labour Code federally regulated-employer scope and does not infer substitute days; JP is statutory national holidays only and does not infer employer closures; IN preserves Gazetted/Restricted classes and does not infer state/UT or local optional selections; AE is UAE federal-government scope with exact 2026 dates only and does not infer local/private schedules or unresolved lunar dates; NZ is national statutory dates only and does not infer regional anniversary days; ZA is national public holidays over a Monday-Friday baseline and does not infer employer holiday exchanges; IE excludes Good Friday and does not infer next-working-day closures for weekend holidays. This is read-only catalogue discovery; it does not calculate a date or count and must not be reported as a calculation success.", "inputSchema": { "additionalProperties": false, "properties": { "territory": { "description": "Optional CLDR alpha-2 territory code to return one route instead of all 272 routes. Use TW for 中国台湾省, CN for 中国大陆, or GB for the UK; codes are normalized to uppercase.", "examples": [ "TW", "AU" ], "maxLength": 2, "pattern": "^[A-Z]{2}$", "type": "string" } }, "type": "object" }, "name": "list_working_day_calendars", "outputSchema": { "description": "Read-only catalogue or schema result used to select a calculation tool.", "properties": { "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "type": "object" }, "result": { "type": "object" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" } }, "required": [ "success", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need to identify or describe a hexagram, convert between its number, name, trigram pair and line pattern, or find its derived hexagrams and palace position. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when you have moving lines and need the changed hexagram and reading rule (use hexagram-change), or you need to cast a hexagram from a date or numbers (use meihua-yishu).\nWhat it computes: Identifies one of the 64 hexagrams (六十四卦, liushisi gua) from its King Wen number, name, two trigrams or line digits and returns its lines, trigrams, nuclear (互卦, hugua), inverse (综卦, zonggua) and opposite (错卦, cuogua) hexagrams, its Jing Fang palace (京房八宫, Jingfang bagong) with 世/应 (shi/ying) lines, and the received judgment text (卦辞, guaci).\nInputs: king_wen_number (integer, optional); name (string, optional); upper_trigram (string, optional); lower_trigram (string, optional); lines (string, optional).\nValid input combinations: Identify the hexagram with king_wen_number, name, lines, or the complete upper_trigram + lower_trigram pair. Multiple identification methods may be supplied when they agree.\nComplete JSON argument examples: {\"king_wen_number\":1} | {\"lines\":\"100010\"}\nOutputs: number, name_cn, full_name_cn, pinyin, english, symbol, lines, lines_text, upper_trigram, lower_trigram, nuclear_hexagram, inverse_hexagram, opposite_hexagram, palace, palace_position, shi_line, ying_line, judgment_text, sequence_pair, binary_value, notes.\nFormula: lower trigram = lines 1–3, upper trigram = lines 4–6; nuclear = lines 2,3,4 + 3,4,5; inverse = reversed line order; opposite = each line flipped; binary_value = Σ line_i · 2^(i−1); 应 = 世 ± 3\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/hexagram-lookup with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/yijing/hexagram-lookup.md", "inputSchema": { "additionalProperties": false, "anyOf": [ { "required": [ "king_wen_number" ] }, { "required": [ "name" ] }, { "required": [ "lines" ] }, { "required": [ "upper_trigram", "lower_trigram" ] } ], "dependentRequired": { "lower_trigram": [ "upper_trigram" ], "upper_trigram": [ "lower_trigram" ] }, "description": "Identify the hexagram with king_wen_number, name, lines, or the complete upper_trigram + lower_trigram pair. Multiple identification methods may be supplied when they agree.", "examples": [ { "king_wen_number": 1 }, { "lines": "100010" } ], "properties": { "king_wen_number": { "description": "Hexagram number 1–64 in the King Wen sequence (1 = 乾, 64 = 未济). Give exactly one of king_wen_number, name, lines or the trigram pair.", "examples": [ 3 ], "maximum": 64, "minimum": 1, "type": "integer" }, "lines": { "description": "Six digits from line 1 (bottom) to line 6 (top): 1/0 for yang/yin, or 6/7/8/9 (老阴/少阳/少阴/老阳) as produced by yarrow or coin casting.", "examples": [ "100010" ], "maxLength": 6, "type": "string" }, "lower_trigram": { "description": "Lower (inner) trigram, in any form accepted by bagua.", "examples": [ "震" ], "maxLength": 20, "type": "string" }, "name": { "description": "Chinese name (屯, 水雷屯, 乾为天; traditional forms accepted), pinyin (zhun; ambiguous pinyin such as qian or bi is rejected with the candidates) or Wilhelm/Baynes title (Difficulty at the Beginning).", "examples": [ "屯" ], "maxLength": 40, "type": "string" }, "upper_trigram": { "description": "Upper (outer) trigram, in any form accepted by bagua (坎, kan, water, ☵, 010). Must be given together with lower_trigram.", "examples": [ "坎" ], "maxLength": 20, "type": "string" } }, "type": "object" }, "name": "lookup_iching_hexagram", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "binary_value": { "description": "Integer of the six bits with the top line as the most significant bit (乾 = 63, 坤 = 0).", "type": "integer" }, "english": { "description": "Wilhelm/Baynes title.", "type": "string" }, "full_name_cn": { "description": "Traditional descriptive name with the trigram images, e.g. 水雷屯 or 乾为天.", "type": "string" }, "inverse_hexagram": { "description": "The hexagram turned upside down (lines reversed).", "type": "string" }, "judgment_text": { "description": "Received classical judgment text of the 周易 (Zhouyi), simplified characters.", "type": "string" }, "lines": { "description": "Six digits from line 1 to line 6; 1 = yang, 0 = yin.", "type": "string" }, "lines_text": { "description": "Traditional line titles from bottom to top, e.g. 初九 六二 … 上六.", "type": "string" }, "lower_trigram": { "description": "Inner trigram (lines 1–3) with pinyin, symbol and nature.", "type": "string" }, "name_cn": { "description": "Simplified Chinese name.", "type": "string" }, "notes": { "description": "Conventions used.", "type": "string" }, "nuclear_hexagram": { "description": "Hexagram formed by lines 2-3-4 (lower) and 3-4-5 (upper).", "type": "string" }, "number": { "description": "Position 1–64 in the King Wen sequence.", "type": "integer" }, "opposite_hexagram": { "description": "All six lines flipped yin↔yang.", "type": "string" }, "palace": { "description": "Jing Fang (京房) palace the hexagram belongs to, with its element.", "type": "string" }, "palace_position": { "description": "本宫 / 一世 … 五世 / 游魂 / 归魂 position within the palace.", "type": "string" }, "pinyin": { "description": "Hanyu pinyin of the name.", "type": "string" }, "sequence_pair": { "description": "Partner hexagram in the King Wen pairing (2n−1, 2n): its inverse, or its opposite for the eight symmetric hexagrams.", "type": "string" }, "shi_line": { "description": "Position (1–6) of the 世 line: 6 for the palace hexagram, 1–5 for generations 1–5, 4 for 游魂, 3 for 归魂.", "type": "integer" }, "symbol": { "description": "Unicode hexagram symbol (U+4DC0 + number − 1).", "type": "string" }, "upper_trigram": { "description": "Outer trigram (lines 4–6) with pinyin, symbol and nature.", "type": "string" }, "ying_line": { "description": "Position of the 应 line, three lines away from 世.", "type": "integer" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need a theoretical European option price or its sensitivities from a given volatility, or want to check put-call parity for quoted prices. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the option is American with early exercise value, the underlying pays discrete dividends, or you need implied volatility from a market price (solve numerically instead). Informational only; not financial advice.\nWhat it computes: Prices a European call and put with the Black-Scholes-Merton formula from spot, strike, time to expiry, risk-free rate, volatility and a continuous dividend yield, and reports d1, d2 and the Greeks (delta, gamma, vega, theta, rho).\nInputs: spot_price (number); strike_price (number); time_years (number, years); risk_free_rate_percent (number, % per year); volatility_percent (number, % per year); dividend_yield_percent (number, % per year, optional).\nComplete JSON argument examples: {\"spot_price\":100,\"strike_price\":100,\"time_years\":1,\"risk_free_rate_percent\":5,\"volatility_percent\":20} | {\"spot_price\":100,\"strike_price\":100,\"time_years\":1,\"risk_free_rate_percent\":5,\"volatility_percent\":20,\"dividend_yield_percent\":3}\nOutputs: call_price, put_price, d1, d2, delta_call, delta_put, gamma, vega_per_1pct, theta_call_per_day, theta_put_per_day, rho_call_per_1pct, rho_put_per_1pct, put_call_parity_check.\nFormula: d1 = [ln(S/K) + (r − q + σ²/2)·T] / (σ·√T); d2 = d1 − σ·√T; C = S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2); P = K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1); Δ_call = e^(−qT)·N(d1); Γ = e^(−qT)·φ(d1)/(S·σ·√T); vega = S·e^(−qT)·φ(d1)·√T; Θ_call = −S·e^(−qT)·φ(d1)·σ/(2√T) − r·K·e^(−rT)·N(d2) + q·S·e^(−qT)·N(d1); ρ_call = K·T·e^(−rT)·N(d2), with r, q, σ as decimals\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/black-scholes with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/investing/black-scholes.md", "inputSchema": { "additionalProperties": false, "examples": [ { "risk_free_rate_percent": 5, "spot_price": 100, "strike_price": 100, "time_years": 1, "volatility_percent": 20 }, { "dividend_yield_percent": 3, "risk_free_rate_percent": 5, "spot_price": 100, "strike_price": 100, "time_years": 1, "volatility_percent": 20 } ], "properties": { "dividend_yield_percent": { "default": 0, "description": "Continuous dividend yield of the underlying in percent (0 for a non-dividend stock). Unit: % per year.", "examples": [ 0 ], "maximum": 100, "minimum": 0, "type": "number", "x-unit": "% per year" }, "risk_free_rate_percent": { "description": "Continuously compounded annual risk-free interest rate in percent. Unit: % per year.", "examples": [ 5 ], "maximum": 100, "minimum": -20, "type": "number", "x-unit": "% per year" }, "spot_price": { "description": "Current price of the underlying asset.", "examples": [ 100 ], "exclusiveMinimum": 0, "maximum": 1000000000, "type": "number" }, "strike_price": { "description": "Exercise price of the option.", "examples": [ 100 ], "exclusiveMinimum": 0, "maximum": 1000000000, "type": "number" }, "time_years": { "description": "Time until expiration in years (e.g. 0.25 for 3 months). Unit: years.", "examples": [ 1 ], "exclusiveMinimum": 0, "maximum": 50, "type": "number", "x-unit": "years" }, "volatility_percent": { "description": "Annualized volatility of the underlying's returns in percent. Unit: % per year.", "examples": [ 20 ], "exclusiveMinimum": 0, "maximum": 500, "type": "number", "x-unit": "% per year" } }, "required": [ "spot_price", "strike_price", "time_years", "risk_free_rate_percent", "volatility_percent" ], "type": "object" }, "name": "price_black_scholes_option", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "call_price": { "description": "S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2).", "type": "number" }, "d1": { "description": "[ln(S/K) + (r − q + σ²/2)·T] / (σ·√T).", "type": "number" }, "d2": { "description": "d1 − σ·√T.", "type": "number" }, "delta_call": { "description": "e^(−qT)·N(d1): price change per 1 unit change in S.", "type": "number" }, "delta_put": { "description": "−e^(−qT)·N(−d1).", "type": "number" }, "gamma": { "description": "e^(−qT)·φ(d1) / (S·σ·√T): change in delta per 1 unit change in S (same for call and put).", "type": "number" }, "put_call_parity_check": { "description": "C − P compared with S·e^(−qT) − K·e^(−rT).", "type": "string" }, "put_price": { "description": "K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1).", "type": "number" }, "rho_call_per_1pct": { "description": "K·T·e^(−rT)·N(d2) / 100: price change per 1 percentage-point rise in r.", "type": "number" }, "rho_put_per_1pct": { "description": "−K·T·e^(−rT)·N(−d2) / 100.", "type": "number" }, "theta_call_per_day": { "description": "Annual call theta / 365: price decay per calendar day.", "type": "number" }, "theta_put_per_day": { "description": "Annual put theta / 365.", "type": "number" }, "vega_per_1pct": { "description": "S·e^(−qT)·φ(d1)·√T / 100: price change per 1 percentage-point rise in volatility.", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you must safely turn a named-zone local time into an instant, validate a scheduled time around a daylight-saving transition, or preserve every possible interpretation instead of silently choosing one. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the input already includes a numeric UTC offset or Z, the task only needs the current clock time, or latitude/longitude must first be mapped to a zone.\nWhat it computes: Resolves a local wall-clock time with pinned IANA tzdb 2026d. Returns every valid UTC candidate for a repeated fall-back time, or the exact gap and shift-forward suggestion for a nonexistent spring-forward time.\nExample user requests: Resolve 2026-11-01 01:30 in America/New_York and return both UTC candidates. | Does 2026-03-08 02:30 exist in New York? Show the DST gap. | 判断 Australia/Adelaide 的 2026-10-04 02:30 是否存在,并给出时区数据版本。\nInputs: local_datetime (string); time_zone (string).\nComplete JSON argument examples: {\"local_datetime\":\"2026-11-01T01:30:00\",\"time_zone\":\"America/New_York\"} | {\"local_datetime\":\"2026-03-08T02:30:00\",\"time_zone\":\"America/New_York\"}\nOutputs: local_datetime, time_zone, resolved_zone_id, status, candidate_count, candidates, gap, related_transition, previous_transition, next_transition, tzdb_version, dataset_version, source_url, source_sha256, coverage_note.\nFormula: for each zone offset o: candidate_utc = local_wall_time + o; keep candidates whose active offset at candidate_utc equals o\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/local-time-resolver with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/time/local-time-resolver.md", "inputSchema": { "additionalProperties": false, "examples": [ { "local_datetime": "2026-11-01T01:30:00", "time_zone": "America/New_York" }, { "local_datetime": "2026-03-08T02:30:00", "time_zone": "America/New_York" } ], "properties": { "local_datetime": { "description": "Wall-clock date and time without Z or a numeric offset; it will be interpreted only in time_zone.", "examples": [ "2026-11-01T01:30:00" ], "maxLength": 19, "pattern": "^\\d{4}-\\d{2}-\\d{2}[T ](?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$", "type": "string" }, "time_zone": { "description": "IANA zone identifier present in tzdb 2026d.", "examples": [ "America/New_York" ], "maxLength": 64, "type": "string" } }, "required": [ "local_datetime", "time_zone" ], "type": "object" }, "name": "resolve_local_time", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "candidate_count": { "description": "Number of valid UTC instants for the wall-clock input.", "type": "integer" }, "candidates": { "description": "Every valid instant with UTC time, local time, offset and abbreviation, ordered earliest first.", "type": "array" }, "coverage_note": { "description": "Coverage and rule-change limitations for this fixed version.", "type": "string" }, "dataset_version": { "description": "Immutable Calcgrid evidence-package version.", "type": "string" }, "gap": { "description": "Clock-forward gap and shift-forward suggestion; null/omitted when the time exists.", "type": "object" }, "local_datetime": { "description": "Normalized input wall-clock time.", "type": "string" }, "next_transition": { "description": "Next offset change in this zone.", "type": "object" }, "previous_transition": { "description": "Previous offset change in this zone.", "type": "object" }, "related_transition": { "description": "Transition whose overlap or gap contains the input, when applicable.", "type": "object" }, "resolved_zone_id": { "description": "Zone record used by the pinned data build.", "type": "string" }, "source_sha256": { "description": "SHA-256 of the downloaded official IANA tzdata release artifact.", "type": "string" }, "source_url": { "description": "Version-specific official IANA release URL.", "type": "string" }, "status": { "description": "unique, ambiguous (two valid instants) or nonexistent (inside a clock-forward gap).", "type": "string" }, "time_zone": { "description": "Zone identifier supplied by the caller.", "type": "string" }, "tzdb_version": { "description": "Pinned IANA release used for every offset and transition.", "type": "string" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when the user needs one of Calcgrid's 737 deterministic calculators and no dedicated typed tool covers it. Call it immediately after search_calculators once calculator_id and input_hints are known; do not stop at search or schema discovery. Do not use it for trivial arithmetic, live rates or unrelated tasks. Returns typed values with units, formula, sources, freshness and timestamp; validation errors identify the field and a repair hint.", "inputSchema": { "additionalProperties": false, "properties": { "calculator_id": { "description": "Exact calculator_id from search_calculators; for example 'compound-interest'.", "examples": [ "compound-interest" ], "type": "string" }, "inputs": { "additionalProperties": true, "description": "Parameter names and values from search_calculators input_hints or get_calculator_schema. Use numbers as numbers, ISO dates as YYYY-MM-DD and lists as arrays.", "examples": [ { "annual_rate_percent": 4.8, "principal": 15000, "years": 12 } ], "type": "object" } }, "required": [ "calculator_id", "inputs" ], "type": "object" }, "name": "run_calculator", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "additionalProperties": true, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when a user needs a deterministic calculation but none of the dedicated tools clearly matches and the calculator_id is unknown. Search 737 calculators from the complete task in English or Chinese, then call run_calculator with the top matching calculator_id and returned input_hints. Do not use this for trivial arithmetic, live data, writing tasks, or when a dedicated typed tool already matches. This tool only discovers; it does not calculate.", "inputSchema": { "additionalProperties": false, "properties": { "category": { "description": "Optional category id to restrict results.", "enum": [ "finance", "health", "fitness", "math", "geometry", "statistics", "conversion", "physics", "chemistry", "everyday", "food", "construction", "business", "time", "medical", "engineering", "weather", "investing", "developer", "energy", "photography", "science", "gaming", "lunar", "yijing" ], "type": "string" }, "limit": { "default": 10, "maximum": 50, "minimum": 1, "type": "integer" }, "query": { "description": "The complete user task, including known values and units; for example 'compound interest on 15000 at 4.8% monthly for 12 years'.", "examples": [ "compound interest on 15000 at 4.8% monthly for 12 years" ], "type": "string" } }, "required": [ "query" ], "type": "object" }, "name": "search_calculators", "outputSchema": { "description": "Read-only catalogue or schema result used to select a calculation tool.", "properties": { "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "type": "object" }, "result": { "type": "object" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" } }, "required": [ "success", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you know two of voltage, current and resistance in a DC or purely resistive circuit and need the third and the power. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the load is reactive (inductors or capacitors require impedance, not resistance), you want energy cost over time (use electric-power), or you need the equivalent resistance of several resistors (use resistors-series-parallel).\nWhat it computes: Solves Ohm's law V = I·R for whichever of voltage, current or resistance is omitted and reports the electrical power dissipated (P = V·I).\nInputs: voltage_v (number, V, optional); current_a (number, A, optional); resistance_ohm (number, Ω, optional).\nValid input combinations: Provide exactly two of voltage_v, current_a and resistance_ohm; the omitted quantity is calculated. Example: {\"voltage_v\":12,\"resistance_ohm\":220}.\nComplete JSON argument examples: {\"voltage_v\":12,\"resistance_ohm\":220} | {\"current_a\":2,\"resistance_ohm\":50}\nOutputs: solved_for, voltage_v [V], current_a [A], current_ma [mA], resistance_ohm [Ω], power_w [W].\nFormula: V = I × R; I = V / R; R = V / I; P = V × I = I² × R = V² / R\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/ohms-law with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/physics/ohms-law.md", "inputSchema": { "additionalProperties": false, "description": "Provide exactly two of voltage_v, current_a and resistance_ohm; the omitted quantity is calculated. Example: {\"voltage_v\":12,\"resistance_ohm\":220}.", "examples": [ { "resistance_ohm": 220, "voltage_v": 12 }, { "current_a": 2, "resistance_ohm": 50 } ], "oneOf": [ { "required": [ "voltage_v", "current_a" ] }, { "required": [ "voltage_v", "resistance_ohm" ] }, { "required": [ "current_a", "resistance_ohm" ] } ], "properties": { "current_a": { "description": "Current through the component in amperes (1 mA = 0.001 A). Omit to solve for it. Unit: A.", "minimum": 0, "type": "number", "x-unit": "A" }, "resistance_ohm": { "description": "Resistance in ohms (1 kΩ = 1000 Ω). Omit to solve for it. Unit: Ω.", "examples": [ 220 ], "exclusiveMinimum": 0, "type": "number", "x-unit": "Ω" }, "voltage_v": { "description": "Potential difference across the component in volts. Omit to solve for it. Unit: V.", "examples": [ 12 ], "minimum": 0, "type": "number", "x-unit": "V" } }, "type": "object" }, "name": "solve_ohms_law", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "current_a": { "description": "I = V / R. Unit: A.", "type": "number", "x-unit": "A" }, "current_ma": { "description": "Current in milliamperes. Unit: mA.", "type": "number", "x-unit": "mA" }, "power_w": { "description": "Power dissipated P = V × I. Unit: W.", "type": "number", "x-unit": "W" }, "resistance_ohm": { "description": "R = V / I. Unit: Ω.", "type": "number", "x-unit": "Ω" }, "solved_for": { "description": "Which quantity was computed: voltage_v, current_a or resistance_ohm.", "type": "string" }, "voltage_v": { "description": "V = I × R. Unit: V.", "type": "number", "x-unit": "V" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } }, { "description": "Use this when you need the solutions of a second-degree polynomial equation, or the vertex and discriminant of a parabola y = ax² + bx + c. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.\n\nDo not use this when the coefficient a is 0 (the equation is linear: x = −c / b), or you need roots of x^n = c for other powers (use nth-root).\nWhat it computes: Solves ax² + bx + c = 0 with the quadratic formula, reporting the discriminant, both roots (real, or complex conjugates written as strings), the vertex of the parabola and the sum and product of the roots.\nInputs: a (number); b (number); c (number).\nComplete JSON argument examples: {\"a\":1,\"b\":-5,\"c\":6} | {\"a\":1,\"b\":2,\"c\":5}\nOutputs: discriminant, nature, root1, root2, roots, vertex_x, vertex_y, sum_of_roots, product_of_roots.\nFormula: Δ = b² − 4ac; x = (−b ± √Δ) / (2a); for Δ < 0: x = −b/(2a) ± i·√(−Δ)/(2|a|); vertex = (−b/(2a), c − b²/(4a))\nDirect REST fallback: POST https://tttkmbb.com/api/v1/calculate/quadratic-equation with the same JSON input fields. Do not guess another /api/* path.\nDocs: https://tttkmbb.com/math/quadratic-equation.md", "inputSchema": { "additionalProperties": false, "examples": [ { "a": 1, "b": -5, "c": 6 }, { "a": 1, "b": 2, "c": 5 } ], "properties": { "a": { "description": "Coefficient of x². Must not be 0.", "examples": [ 1 ], "type": "number" }, "b": { "description": "Coefficient of x.", "examples": [ -5 ], "type": "number" }, "c": { "description": "Constant term.", "examples": [ 6 ], "type": "number" } }, "required": [ "a", "b", "c" ], "type": "object" }, "name": "solve_quadratic_equation", "outputSchema": { "description": "Deterministic calculation result with typed values, units, formula, sources and timestamp.", "properties": { "freshness": { "type": "object" }, "links": { "type": "object" }, "next_actions": { "items": { "type": "object" }, "type": "array" }, "request": { "properties": { "calculator_id": { "type": "string" }, "inputs": { "type": "object" }, "tool": { "type": "string" } }, "type": "object" }, "result": { "properties": { "calculator_id": { "type": "string" }, "calculator_name": { "type": "string" }, "entity_type": { "const": "calculation", "type": "string" }, "formula": { "type": "string" }, "status": { "const": "completed", "type": "string" }, "summary": { "type": "string" }, "units": { "additionalProperties": { "type": "string" }, "type": "object" }, "values": { "properties": { "discriminant": { "description": "Δ = b² − 4ac; positive → two real roots, zero → one repeated root, negative → complex roots.", "type": "number" }, "nature": { "description": "Plain-language classification of the roots from the sign of the discriminant.", "type": "string" }, "product_of_roots": { "description": "c / a (Vieta's formula).", "type": "number" }, "root1": { "description": "(−b + √Δ) / (2a). Only when the roots are real.", "type": "number" }, "root2": { "description": "(−b − √Δ) / (2a). Only when the roots are real.", "type": "number" }, "roots": { "description": "Both roots as text; complex roots are written like '-1+2i, -1-2i'.", "type": "string" }, "sum_of_roots": { "description": "−b / a (Vieta's formula).", "type": "number" }, "vertex_x": { "description": "x-coordinate of the parabola's vertex, −b / (2a) (also the axis of symmetry).", "type": "number" }, "vertex_y": { "description": "y-coordinate of the vertex, c − b² / (4a) (the minimum for a > 0, maximum for a < 0).", "type": "number" } }, "type": "object" } }, "required": [ "entity_type", "calculator_id", "status", "values", "formula", "summary" ], "type": "object" }, "service_version": { "description": "Deployed Calcgrid implementation version used for the result.", "type": "string" }, "sources": { "items": { "type": "object" }, "type": "array" }, "success": { "const": true, "type": "boolean" }, "timestamp": { "format": "date-time", "type": "string" }, "version": { "type": "string" } }, "required": [ "success", "service_version", "request", "result", "timestamp" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:f5e5fa12811b07887a7d3b73c6fbdabb6b2e24a9b5bf14fcc38691be50d6c0fa | sha256sum