Skip to main content
Glama

Stablecoin Gateways

Business Days and Holidays

business_days
Read-onlyIdempotent

Business days and public holidays: check if a date is a business day, add or subtract N business days, count business days between dates, or list holidays, for 250 countries, 630 subdivisions (e.g. US-NY, GB-ENG) and 31 stock exchanges, 2025-2030. Use for payment due dates, T+N settlement, delivery estimates and SLAs. Data: python-holidays (MIT). Signed receipt. Price: $0.001 per call via x402 (USDC on Base or XRP on XRPL). Example arguments: {"calendar":"US-NY","op":"add","date":"2026-12-23","days":"3"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opNoOperation; default check
endNoEnd date for op=between
dateNoYYYY-MM-DD; default today
daysNoBusiness days to add (op=add), integer, |days|<=1000
yearNoYear for op=list, 2025-2030
calendarNoISO country (US), country-subdivision (US-NY) or exchange (FIN-XNYS); default US

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoBusiness-day answer for the calendar: is_business_day / result date / count / holiday list, with coverage years
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Paid result: { data, receipt }. Unpaid calls return an x402 PaymentRequired object instead (isError: true).",
      +  "properties": {
      +    "data": {
      +      "description": "Business-day answer for the calendar: is_business_day / result date / count / holiday list, with coverage years",
      +      "properties": {
      +        "calendar": {},
      +        "coverage": {},
      +        "days": {},
      +        "holidays_skipped": {},
      +        "op": {},
      +        "result": {},
      +        "source": {},
      +        "start": {},
      +        "weekend_days": {}
      +      }
      +    },
      +    "receipt": {
      +      "description": "Ed25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources