Skip to main content
Glama

List working-day calendars

list_working_day_calendars
Read-onlyIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
territoryNoOptional 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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linksNo
resultYes
requestNo
successYes
timestampYes
next_actionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/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), yet the description adds substantial context beyond them: per-jurisdiction scope caveats (OPM federal only, Canada Labour Code, Japan statutory only, India Gazetted/Restricted classes, UAE 2026 dates only, Ireland excludes Good Friday) and the exact semantics of each route's holiday support. This is richer behavioral disclosure than the annotations provide.

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?

The opening usage sentence is front-loaded and the closing 'read-only catalogue discovery' sentence anchors the tool's role. The middle jurisdiction-caveat block is long and partly overlaps with sibling tool names, but each caveat carries real disambiguation value; the only cost is density.

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, and the description still covers route structure, territory-filter behavior, and every special-scope jurisdiction an agent must respect. For a 1-parameter discovery tool feeding many downstream calculators, nothing material is missing.

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 schema already documents the territory parameter including that it returns one route instead of all 272 and normalizes to uppercase. The description repeats the 'one route when the optional territory filter is supplied' behavior without adding syntax or meaning beyond the schema, so the baseline 3 applies.

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?

The description makes clear this is a catalogue/discovery tool that returns one machine-readable route per CLDR territory, and it names the distinct evidence packages (CLDR baseline, OpenWorkdays, OpenHolidays, official national calendars). It cleanly separates itself from the add_/check_/count_ working-day siblings, which are the consumers of these routes.

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?

Opens with an explicit when-to-use instruction ('Use this before a working-day or business-day task to select the correct evidence package') and closes with an explicit when-not ('it does not calculate a date or count and must not be reported as a calculation success'). The routing between alternatives is spelled out, not implied.

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