Skip to main content
Glama

Public holidays for a jurisdiction and year

holidays
Read-onlyIdempotent

Observed public holidays with the nominal (legal) date and status: rule (statutory) or declared (officially declared for that year). Declared-only holidays are omitted for undeclared years, with a holiday_data_incomplete warning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesCalendar year to list, e.g. 2027
jurisdictionYesHoliday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerYesThe calculated answer (kind-discriminated)
receiptYesAuditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / jurisdiction / description
      Previous value: -"US, GB, GB-SCT, GB-NIR, CA, AU, UG (alias UK)"New value: +"Holiday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB)."
    • addedInput schema / properties / year / description
      Added value: +"Calendar year to list, e.g. 2027"
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses two important behaviors: holidays carry a nominal legal date plus a rule/declared status, and declared-only holidays are omitted for undeclared years with a holiday_data_incomplete warning. This lets the agent predict missing data and interpret response fields without calling the tool.

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

Conciseness5/5

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

Two sentences front-load the core result and then cover the important edge case (undeclared years). Every clause earns its place, with no redundant restatement of the schema or annotations.

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 small parameter set, robust read-only annotations, full schema descriptions, and the declared output schema, this description answers all the behavioral questions an agent needs: status semantics, omission behavior, and warning. No significant context gap remains.

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%, with jurisdiction and year both described in the schema. The description adds no additional parameter detail, so the baseline 3 is appropriate; it does not hurt, but it also does not improve on the schema.

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 title and description clearly identify the resource (public holidays) and the jurisdiction/year scope, and the description adds the status distinction (rule vs declared) that separates this from a trivial date list. It uses a noun phrase rather than an explicit 'returns/lists' verb, and it doesn't explicitly contrast with sibling tools, though none of the date-utility siblings are direct alternatives.

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

Usage Guidelines3/5

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

Usage is implied by the title and description: call this when you need public holidays for a jurisdiction and year. There is no explicit when-to-use, when-not-to-use, or mention of alternatives such as business_days, so the agent must infer the appropriate context.

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