Skip to main content
Glama

Thailand Working Day

check_th_working_day
Read-onlyIdempotent

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.

Do 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. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Thailand: 2027 substitution. | Thailand: Bangkok-only event remains conditional. Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-22"} | {"date":"2026-10-16"} Outputs: 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. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct 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. Docs: https://tttkmbb.com/everyday/thailand-financial-working-day.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesGregorian date in the pinned Bank of Thailand 2026-2027 financial-institution coverage.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description still adds real value beyond them: the exact computation model, the pinned 2026-2027 coverage window, and the caveat that Bangkok-only, Islamic-bank and southern-branch conditions stay conditional and are not generalized.

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

Conciseness3/5

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

The labeled sections (What it computes / Inputs / Outputs / Formula / Docs) make it scannable and the use-case leads, but there is clear redundancy: complete JSON argument examples duplicate the schema's `examples`, and the Outputs list duplicates the existing output schema. The repeated "Thailand Thailand" phrasing also signals loose editing.

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

Completeness4/5

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

For a one-parameter read-only lookup, the description covers the trigger, the scope limits, the dataset window, the computation rule, the REST fallback and a docs link, which is more than enough to invoke it correctly. It is slightly over-complete in re-listing output fields that the output schema already provides.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single `date` parameter is already documented as a Gregorian date within the pinned coverage window, so the baseline is 3. The description's "Inputs: date (date)" line and its JSON examples merely restate what the schema already contains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (check a date against the Thai financial-institution working-day calendar) and pins the scope to the Bank of Thailand 2026-2027 dataset, which separates it from check_global_working_day and the many other country variants. However, the core purpose sentence is garbled ("deterministic Thailand Thailand financial institutions and specialized financial institutions result") and it never explicitly distinguishes itself from the add_th_working_days / count_th_working_days siblings.

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

Usage Guidelines4/5

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

It gives an explicit use trigger ("Use this when you need a deterministic ... result") and a scope-based exclusion ("Do 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"), plus a directive to call it directly rather than answer from memory. The exclusion clause is grammatically broken and names no alternative tool, so routing is implied rather than clean.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources