Skip to main content
Glama

Agent Data Hub

Public & bank holidays by country/region and year

calendar_holidays
Read-onlyIdempotent

Public (and optionally bank, school, optional, observance) holidays for 200+ countries and their states/regions for any year 1970-2100: date, English name, type, weekday, substitute-day flag, plus the next upcoming holidays and the list of region codes. Offline rules, instant answer. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

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": "calendar_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear (default current)
typesNoComma-separated types: public, bank, school, optional, observance (default public,bank)
regionNoOptional state/region code, e.g. CA (US), BY (DE)
countryYesISO 3166 alpha-2 country code, e.g. US, GB, AE, DE
upcomingNoHow many upcoming holidays to list 0-20 (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive behavior, and the description adds materially beyond them: offline rule evaluation, instant response, and an explicit payment model ($0.001 per call in USDC on Base via x402, first 10 free daily). That pricing/auth detail is exactly the operational context annotations cannot express. It does not mention failure modes or region-code coverage limits, keeping it below a 5.

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?

A single dense sentence carries the capability and outputs, followed by a short performance claim and the price. Scope is front-loaded and there is no filler, though the parenthetical type list and the pricing tail make it slightly crowded for a one-liner.

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

Completeness4/5

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

There is no output schema, so the description compensates by enumerating the returned fields and mentioning the upcoming-holidays and region-code lists. Combined with the disclosed payment requirement, an agent has enough to invoke it correctly. The only gap is a lack of guidance on invalid country/region handling and on result-size behavior for large type sets.

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 every parameter (country, year, types, region, upcoming) is already documented, including defaults and ranges. The description reinforces the type vocabulary and mentions 'the list of region codes' for the region parameter, but adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 states a specific resource with scope: public/bank/school/optional/observance holidays for 200+ countries and their regions, any year 1970-2100. It also enumerates the returned fields (date, English name, type, weekday, substitute-day flag), so the agent knows exactly what it gets. It does not explicitly contrast with the sibling calendar_business_days, which is why it stops short of a 5.

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 resource scope and by the type defaults ('default public,bank'), but there is no explicit when-to-use instruction or steering toward alternatives such as calendar_business_days for working-day math. The 'first 10 calls per day are free' note gives a cost-based usage signal but not a task-selection one.

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