Skip to main content
Glama
aiexp1

Tanod MCP server

utilpeek: list a country's public holidays for a year

get_public_holidays
Read-onlyIdempotent

Retrieve public holidays for a given country and year to plan schedules and verify non-working dates. Supports optional subdivision and language for localized holiday names.

Instructions

utilpeek: public holidays of a country for a year. To count working days use count_or_add_business_days. An unsupported country, subdivision, language or year is a 422 naming the supported values (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Computed from the python-holidays rules (MIT), not an official calendar: lunar, religious and one-off holidays can be estimates or missing for some years; confirm with an official source for legal or payroll use. Docs: https://tanod.dev/learn/public-holidays-api.html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYesYear (1990-2100).
countryYesISO 3166-1 alpha-2 country code (e.g. US, GB, PH).
languageNoOptional holiday-name language (e.g. en_US).
subdivisionNoOptional subdivision code or name (e.g. CA).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
yearNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
sourceNo
countryNo
holidaysNo
languageNo
subdivisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, openWorld, non-destructive), and the description goes well beyond them: 422 error semantics with no charge, sub-0.1s latency, USD 0.001 price, a 10-calls-per-IP-per-UTC-day free tier, and an important accuracy caveat that data comes from python-holidays rules rather than an official calendar.

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?

Front-loads the purpose, then routing, error behavior, cost/latency, caveat and docs link in a logical order. Every sentence carries distinct information, though the pricing/latency/free-tier block makes it denser than strictly necessary.

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?

With an output schema present, return values need no explanation. The description covers the remaining gaps an agent would care about: the alternative tool, error behavior, cost, rate limits, and the reliability caveat for legal/payroll use.

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 year, country, language and subdivision. The description only references these parameters collectively via the 422 message and adds no syntax or format detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource (public holidays of a country for a year), and the title reinforces it. It explicitly names the sibling it is not for ('To count working days use count_or_add_business_days'), so an agent can separate it from count_or_add_business_days without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit alternative and the condition that selects it: counting working days routes to count_or_add_business_days. It also tells the agent what happens on bad input (422 naming supported values), so edge-case routing is covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools