Skip to main content
Glama

Canada Federal General-Holiday Working Day

check_canada_federal_working_day
Read-onlyIdempotent

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.

Do not use this when you need a province/territory, municipal, private-employer, exchange or schedule-specific substitute-day calendar. What it computes: Checks a date against the 10 Canada Labour Code general holidays and the Canada Saturday/Sunday baseline; substitute days are not inferred. Example user requests: Is 2026-09-30 a Canada federal working day? Inputs: date (date). Complete JSON argument examples: {"date":"2026-09-30"} Outputs: 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. Formula: is_working_day = Canada weekday baseline and no Canada Labour Code general holiday Direct 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. Docs: https://tttkmbb.com/everyday/canada-federal-working-day.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesGregorian date in the pinned Canada 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.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds substantial extra context: the exact holiday set, the weekday baseline, substitute-day non-inference, coverage years, output fields, formula, and fallback endpoint.

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 description is front-loaded with use and do-not-use guidance, then structured into computation, example, inputs, outputs, formula, and fallback sections. It is longer than necessary for a one-parameter check tool, and the output list partially duplicates the output schema, but every section is readable and largely purposeful.

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?

Given the low complexity, high schema coverage, rich annotations, and existing output schema, the description is more than complete. It covers scope, exclusions, formula, coverage period, substitute-day policy, and invocation details.

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%, so the schema already defines the single date parameter with format and examples. The description adds only 'Inputs: date (date)' and repeats the JSON example, so it does not meaningfully extend parameter semantics beyond the structured schema.

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 states a specific verb and resource — checking a date against Canada federal general holidays — and explicitly distinguishes this scope from provincial, municipal, private-employer, exchange, and schedule-specific calendars. The 'What it computes' section makes the calculation boundary clear.

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?

It gives explicit positive guidance ('Call this tool directly') and explicit exclusions ('Do not use this when...'), naming the alternative scopes to avoid. It also supplies a direct REST fallback path and docs URL, covering invocation paths.

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