Skip to main content
Glama

get_public_holidays

Read-onlyIdempotent

Public holidays of 200 countries. With date: business day check and next business day.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "<country>"
    },
    "name": "get_public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD: business day check.
yearNoDefault this year.
countryYesISO 3166-1 alpha-2 code, e.g. FR.
weekendNo0=Mon..6=Sun, default [5,6].
upcoming_onlyNoFrom today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / upcoming_only / description
      Added value: +"From today."
    • addedInput schema / properties / year / description
      Added value: +"Default this year."
    • removedInput schema / properties / year / maximum
      Removed value: -2100
    • removedInput schema / properties / year / minimum
      Removed value: -2000
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description still adds real behavioral context beyond that: the 200-country coverage breadth and the fact that supplying a date changes the response to include a business-day check and the next business day. It stops short of describing the return payload or ordering.

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?

Two short sentences, front-loaded with the resource and scope, with no filler. The second sentence is telegraphic and slightly ambiguous in its phrasing, but it is efficient rather than bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should clarify what a call returns in the base case (a holiday list, presumably for the given year) and how weekend/upcoming_only interact with it. Those parameters and the default return shape are left entirely to the schema, so the description is adequate but incomplete for a five-parameter tool.

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 documents country format, date format, year default, weekend indexing, and upcoming_only. The description only adds the 'next business day' outcome for the date parameter; it says nothing about weekend, year, or upcoming_only, so it does not go meaningfully beyond 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 description names a specific resource and scope: public holidays across 200 countries, plus a business-day check when a date is supplied. It is unambiguous about what the tool returns, though it never uses an explicit verb and does not reference any sibling tool (none of the listed siblings do holidays, so differentiation is moot).

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?

The phrase 'With date: business day check and next business day' is an implicit conditional usage rule: pass a date to get business-day evaluation on top of the holiday list. There is no guidance on when not to use it, nor on how the year/weekend/upcoming_only parameters change the call.

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.