Skip to main content
Glama

AgentStall: Africa and India data

Business day checker: is a date a working day? 220+ countries

za_is_business_day
Read-onlyIdempotent

Is it a business day? Checks whether a date is a business (working) day in any of 220+ countries and says why not: weekend or which public holiday. Returns the next and previous business days. Handles local weekends (Friday-Saturday in Saudi Arabia, Egypt and Israel) and observed holidays, with verified calendars for South Africa, Nigeria, Kenya, Egypt and 7 more African countries. Useful for payment, settlement and delivery dates. Free here (20 calls per day).

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": {
      "date": "<date>"
    },
    "name": "za_is_business_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD
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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-open-world, so the description isn't carrying the safety burden, yet it still adds real behavior: the explanatory reason for a negative result, the returned next/previous business days, local weekend handling (Friday-Saturday in Saudi Arabia, Egypt, Israel), observed holidays, and the 20-calls-per-day limit. It does not say what happens for a country outside the verified list, which is the main remaining gap.

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 core question is front-loaded and the rest is dense, informative clauses rather than filler. The 'Free here (20 calls per day)' clause is slightly promotional but still conveys a usable rate limit, so the paragraph earns its length.

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 correctly explains what comes back (the yes/no verdict, the weekend-or-holiday reason, and the next and previous business days) and flags the verified-calendar coverage. It is nearly complete for a two-parameter lookup; only the fallback behavior for unverified countries is unstated.

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 coverage is 100% and the schema already documents the date format and the ISO country code with its own example list and verified-calendar list. The description adds only marginal parameter-level meaning (the local-weekend nuance for certain countries), so the baseline of 3 is appropriate.

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?

Opens with a specific question-style verb and resource ('Checks whether a date is a business (working) day in any of 220+ countries') and immediately scopes the output ('says why not: weekend or which public holiday. Returns the next and previous business days'). This clearly distinguishes it from siblings like za_add_business_days and za_count_business_days, which operate on day arithmetic rather than a single-date check.

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?

The phrase 'Useful for payment, settlement and delivery dates' implies when to reach for it, but there is no explicit when-not guidance and no named alternative for the adjacent operations (adding or counting business days) that the siblings provide. Usage is inferable rather than stated.

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