Skip to main content
Glama

Public Holidays

holidays
Read-only

Official public holidays for a country and year via Nager.Date (key-less): date, local + English name, whether it is nationwide, and sub-region counties. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesCalendar year, e.g. 2026.
walletNoYour EVM wallet address (0x...). Unlocks the free tier (3 free calls per wallet).
api_keyNoOptional AMR enterprise API key.
x_paymentNoOptional signed x402 payment payload (base64 JSON) for USDC/USDT on Base.
country_codeYesISO 3166-1 alpha-2, e.g. DE, US, GB.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes
tokenNoToken actually used for payment (USDC, USDT or FREE).USDC
sourceYes
routingYesHow the request was routed (provider, fallback, cache, latency).
holidaysNo
cost_usdcYesPrice charged in stablecoin units (USDC/USDT 1:1); 0 on the free tier.
fetched_atNoUTC timestamp when the data was fetched.
attributionNo
country_codeYes
holiday_countYes
freshness_secondsYesAge of the underlying data in seconds (0 = fetched live).
x_payment_responseNoBase64-encoded x402 settlement receipt (mirrors the X-PAYMENT-RESPONSE header). Only present when the call was paid with `x_payment`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds meaningful operational context: no API key needed, USDC/USDT payment on Base through x402, a free-call allowance, and the exact output fields (names, nationwide flag, sub-region counties). No statement contradicts the annotations.

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 short sentences with purpose and source front-loaded, followed by payment and free-tier details. No redundant filler; every clause contributes to the agent's understanding.

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?

Together with the rich schema, output schema, and annotations, the description is sufficient for an agent to know what to call, which parameters matter, and what operational constraints apply. It could only marginally benefit from explaining x402 mechanics or error conditions, but these are not required for correct invocation.

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?

The input schema describes all five parameters (100% coverage), so the baseline applies. The description reinforces 'country and year' and explains wallet/x_payment economics, but it does not add detailed format constraints beyond the schema. Thus a 3 is appropriate.

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 clearly identifies the resource (official public holidays for a country and year) and the source (Nager.Date), though it lacks an explicit imperative verb like 'fetch' or 'retrieve'. It is distinct from all listed siblings, none of which target holidays, so an agent can identify the tool without ambiguity.

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?

The description gives concrete invocation context: country and year, key-less access, payment via x402, and a 3-free-calls-per-wallet tier. It does not explicitly name alternatives or exclusion conditions, but no holiday-related alternative exists among the siblings, so the context is sufficient for selection.

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.