Skip to main content
Glama

AgentStall: Africa and global data for agents

Public holidays API: 220+ countries incl. India, UAE, Saudi Arabia, with verified African calendars

public_holidays
Read-onlyIdempotent

Public holidays API: public and bank holidays for any country and year (220+ countries by ISO code), with date and English name. Covers the US, UK, Europe, India, UAE, Saudi Arabia, Pakistan, China, Japan, Brazil and all of Africa. South Africa, Nigeria, Kenya, Egypt, Ghana and 6 more African countries use AgentStall's verified calendars with observed days and declared Islamic holidays. Free open sources: Nager.Date and date-holidays. Useful for scheduling, payroll and deadlines. Returns JSON with country, year, count, holidays. Read-only; invalid input is rejected before any charge. Price: $0.001 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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": {
      "year": "<year>"
    },
    "name": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesCalendar year (South Africa 1995-2100; 10 verified African countries 2026-2027; other countries 2000-2040)
countryNo2-letter ISO country code, e.g. ZA (default), NG, KE, EG, IN, AE, SA, US, GB, DE, BR, CN (220+ countries). Verified calendars for ZA, NG, KE, EG, GH, MA, RW, UG, TZ, MU and BW

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and non-open-world behavior, yet the description still adds meaningful operational detail: the JSON return fields, that invalid input is rejected before any charge, and the per-call USDC price billed only on success. That billing and failure semantics is exactly the kind of context annotations cannot carry. The remaining gap is that nothing is said about coverage limits or fallback behavior when a country/year pair falls outside a verified calendar range.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core capability and pricing are front-loaded, which is good, but a full sentence enumerating countries ('the US, UK, Europe, India, UAE, Saudi Arabia, Pakistan, China, Japan, Brazil and all of Africa') largely duplicates the ISO-code examples in the schema. Combined with the source-attribution sentence, a notable share of the text does not help an agent decide or call correctly.

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 only two well-documented parameters, no nested objects and no output schema, the description fills the important gaps: it names the returned fields, discloses pricing and success-only billing, and flags verified vs. open-source calendar coverage. The main omission is guidance on what happens for country/year combinations outside the stated verified ranges.

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% and both parameters already document ISO code format, defaults and per-country year ranges in detail, so the baseline of 3 applies. The description only echoes '220+ countries by ISO code' and repeats country examples already enumerated in the schema, adding no new constraint or format guidance.

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?

The first sentence gives a specific verb and resource ('public and bank holidays for any country and year'), plus the lookup key (ISO code) and the returned fields (date and English name). An agent can immediately tell this is a reference-data lookup rather than a date arithmetic tool like add_business_days or count_business_days.

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?

It offers broad use-case framing ('useful for scheduling, payroll and deadlines'), which implies when to reach for it, but never states when NOT to use it. With closely related siblings such as is_business_day, add_business_days and za_school_calendar present, the absence of any routing or exclusion language leaves the agent to infer boundaries.

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