Skip to main content
Glama

Bank holidays

get_bank_holidays
Read-onlyIdempotent

List the bank holidays (UK, from gov.uk) or public holidays (other countries, from Nager.Date) for a region in a year or between two dates, with weekdays and substitute days. Use it for questions like "When are the bank holidays in Scotland in 2027?". Ranges can be up to three years.

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the date range, inclusive (yyyy-MM-dd).
fromNoStart of a date range, instead of year (yyyy-MM-dd).
yearNoCalendar year, e.g. 2027. Defaults to this year.
regionNoWhere the person works: england-and-wales, scotland or northern-ireland for UK bank holidays (from gov.uk), or a two-letter ISO 3166-1 country code such as IE, US, DE for other countries' public holidays (from Nager.Date). Defaults to england-and-wales.england-and-wales

Output Schema

NameRequiredDescriptionDefault
toYes
fromYes
countYes
notesYes
regionYes
sourceYes
licenceYes
holidaysYes
sourceUrlYes
regionNameYes
attributionYesCredit to show with the dates

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful behavioral context beyond annotations: the external data sources and the three-year maximum range, though it does not cover error behavior or response shape.

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?

The description is front-loaded with the core purpose, followed by a concrete example and a key constraint. Every sentence earns its place with no redundant or vague wording.

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 rich schema descriptions, full annotations, and an output schema, the description provides everything needed to select and invoke the tool correctly. It covers purpose, sources, region types, date modes, and range limits without duplicating structured fields.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning by clarifying the two query modes (year vs. between two dates), the up-to-three-year range limit, and how region maps to UK regions versus ISO country codes.

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: list bank holidays or public holidays for a region in a year or date range. It also names the underlying sources (gov.uk vs. Nager.Date) and outputs (weekdays and substitute days), which clearly distinguishes it from sibling tools like get_school_holidays.

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?

It gives a clear usage context with an example question, so an agent knows this is for bank/public holiday queries. However, it does not explicitly say when not to use it or name alternatives such as get_school_holidays or plan_leave_year.

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