Skip to main content
Glama

South Africa Working Day

check_south_africa_working_day
Read-onlyIdempotent

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.

Do not use this when you need an employer, bargaining-council, school, bank, exchange, provincial or locally exchanged calendar. What 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. Example user requests: Is 2026-11-04 a South Africa working day? Inputs: date (date). Complete JSON argument examples: {"date":"2026-11-04"} Outputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Monday-Friday and no exact national public holiday or observed date Direct 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. Docs: https://tttkmbb.com/everyday/south-africa-working-day.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesGregorian date in South Africa national 2026-2027 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

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds real substance beyond that: the exact computation formula (Monday-Friday and not a holiday), the dataset coverage window (2026-2027), the holiday model including observed Sundays, the output field list, dataset_version/sources, and a fallback endpoint. No contradiction with annotations.

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

Conciseness4/5

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

Front-loaded with the trigger and exclusion, and the labeled sections are easy to scan. It is longer than strictly necessary: the 'complete JSON argument examples' restates the schema example and the output field list overlaps the output schema, but no sentence misleads.

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

Completeness5/5

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

An output schema exists so return values need not be explained, yet the description still supplies the interpretation-critical pieces: coverage years, holiday model, formula, and a documented fallback path. An agent has everything needed to call and interpret this tool correctly.

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

Parameters4/5

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

With one parameter and 100% schema description coverage, the baseline is 3; the schema already documents the date format and coverage window. The description adds a concrete JSON argument example and reinforces the coverage constraint, which is a modest but real increment rather than new semantics.

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

Purpose5/5

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

States a specific verb (check) and resource (South Africa working day) and pins the exact scope: Saturday-Sunday baseline plus 2026-2027 national public holidays, explicitly including the 4 Nov 2026 election holiday and observed Sundays. That scope statement is enough to separate it from the sibling check_* and add_*/count_* calendar tools without opening any schema.

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

Usage Guidelines5/5

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

Contains an explicit 'use this when' trigger, a 'do not use this when' exclusion list (employer, bargaining-council, school, bank, exchange, provincial, locally exchanged calendars), and a directive to call the tool rather than answer from memory. It also names the alternative path (REST fallback) and the condition under which it applies.

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