Skip to main content
Glama

Holiday Calendar

holiday_calendar
Read-onlyIdempotent

List the public holidays the engine uses for a country and year. FREE.

Typical input {"country": "IE", "year": 2026} returns {"holidays": [{"date": "2026-01-01", "name": "New Year's Day"}, ...]}. Use when checking why a business-day or bank-holiday adjustment landed where it did, or to see whether a country/subdivision is supported. Not a legal register of bank holidays: it is the holidays package's public-holiday calendar, which is what compute_deadlines uses. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "country is required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

NameRequiredDescriptionDefault
yearYescalendar year.
subdivNooptional subdivision code (state, province, region).
countryYesISO 3166-1 alpha-2 code (DE, FR, IE, US, ...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which already declare read-only, idempotent, non-destructive) by disclosing that invalid input never raises a protocol error but returns {"error": "<what is wrong and how to fix it>"}, and that retrying after correction is safe. It also flags the tool as FREE, which annotations do not convey.

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 purpose and the FREE marker, and each subsequent sentence (example, when-to-use, scope caveat, error contract) carries information. It is somewhat dense as one flowing block, and the example return value partly duplicates the output schema.

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?

For a three-parameter lookup tool it covers purpose, scope caveat, error behavior, retry safety, and usage triggers; the presence of an output schema means the return format needs no further explanation. Nothing an agent needs to call this correctly 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 coverage is 100%, so country/year/subdiv semantics are already documented, and the description only adds a sample input ({"country": "IE", "year": 2026}). That example illustrates format but adds no constraint or meaning the schema lacks, 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?

States a specific verb and resource ('List the public holidays the engine uses for a country and year') with explicit scope, and names its relationship to compute_deadlines, so an agent can separate it from sibling tools without opening a schema. The parenthetical naming of the underlying `holidays` package further pins down semantics.

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?

Gives concrete when-to-use triggers ('checking why a business-day adjustment landed where it did', 'see whether a country/subdivision is supported') plus an explicit when-not ('Not a legal register of bank holidays'). It stops short of naming the closest sibling (list_regimes) as the alternative for the country-support question it mentions.

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.