Skip to main content
Glama

ScrapeMole Pulse: FX rates (ECB), currency conversion, time zones, weather, Hacker News, public holidays and geocoding for AI agents: Next public holidays

holidays_next
Read-onlyIdempotent

Use to answer "when is the next public holiday in Germany?" or to build a short upcoming-holiday list for agents: returns the next public holidays for a country from today via Nager.Date NextPublicHolidays (typically the remainder of the year plus into the next). Optional limit caps the list. Paid tool: x402 USDC on Base, $0.001 per successful call; call without payment to receive the PaymentRequired object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax holidays to return (1-50).10
countryYesISO 3166-1 alpha-2 country code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses the upstream source (Nager.Date NextPublicHolidays), the typical coverage window (rest of this year plus into the next), and — critically for an agent — that the tool is paid via x402 USDC on Base at $0.001 per successful call, plus the fallback behavior of an unpaid call returning a PaymentRequired object.

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?

The use case is front-loaded and every clause carries information (scope, source, coverage window, limit, payment terms). The payment sentence is dense and slightly run-on, which keeps it just short of ideal, but nothing is wasted.

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?

With no output schema, the description covers what comes back (upcoming holidays from today for a country), the typical window, and the payment flow an agent must handle. It stops short of describing the shape of each holiday entry (name, date, local name), which would fully close the gap.

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%, with 'limit' documented as 1-50 and defaulting to 10 and 'country' as an ISO 3166-1 alpha-2 code. The description only restates that the limit caps the list, adding no new constraint or format detail beyond the schema, so the 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 verb and resource — 'returns the next public holidays for a country from today' — with an example query that pins the scope to upcoming holidays rather than a full year. That implicitly separates it from holiday_check (is a given date a holiday) and holidays/ holidays_countries, though no sibling is named explicitly.

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 concrete use case ('when is the next public holiday in Germany?' or building a short upcoming-holiday list) and notes the optional limit for trimming results. There is no explicit when-not or named alternative among the many sibling holiday tools, so routing is left partly to inference.

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