Skip to main content
Glama

AgentStall: Africa and India data

Count business days between two dates (working days calculator), 220+ countries

za_count_business_days
Read-onlyIdempotent

Working days calculator: counts the business days between two dates in any of 220+ countries, excluding weekends and public holidays, and lists the holidays excluded. Local weekends supported. Verified calendars for South Africa, Nigeria, Kenya, Egypt, Ghana and 6 more African countries. Useful for SLAs, turnaround times, leave days and deadlines measured in business days. 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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "za_count_business_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd date, YYYY-MM-DD (inclusive), within 5 years of 'from'
fromYesStart date, YYYY-MM-DD (exclusive)
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

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: weekends and public holidays are excluded, local weekends are respected, the excluded holidays are listed in the result, and a free-tier cap of 20 calls per day applies — the rate limit is the kind of operational detail annotations cannot express.

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 purpose is front-loaded in the first sentence and every later sentence carries a use case, a coverage caveat or the quota. The one redundancy is the African verified-calendar list, which restates country codes that already appear in the schema's country description, plus a slightly promotional 'Free here' phrasing.

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?

For a 3-parameter read-only calculator with no output schema, the definition covers what matters: what is counted, what is excluded, that excluded holidays are returned, how country affects the calendar, and the call quota. A brief note on the response shape (count plus holiday list) would close the remaining gap, but nothing needed to invoke it correctly is missing.

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 baseline is 3. The description reinforces that the country parameter drives which calendar and weekend definition applies ('Local weekends supported', 'any of 220+ countries'), which adds a little meaning about behavior, but it does not clarify the exclusive 'from' / inclusive 'to' semantics or the 5-year window that the schema already documents.

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 description opens with a specific verb+resource: counts business days between two dates, across 220+ countries, excluding weekends and public holidays. That scope statement (counting business days, not adding them or checking a single day) distinguishes it from siblings like za_add_business_days and za_is_business_day without the agent opening any schema.

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 clear usage context — SLAs, turnaround times, leave days, deadlines measured in business days — so an agent knows which questions this tool answers. It stops short of explicit when-not guidance or naming a sibling to use instead (e.g., for projecting a date N business days forward), which keeps it out of the 5 tier.

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