Skip to main content
Glama

Add or subtract business days from a date

add_business_days
Read-onlyIdempotent

Add (or, with a negative number, subtract) business days to a date, skipping weekends and public holidays of the country (and region). Returns the result date and the holidays skipped. Read-only. Same engine, cache and limits as GET /v1/add.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesStart date, YYYY-MM-DD (2020-2035).
daysYesBusiness days to add; negative counts backwards.
typesNoOptional holiday types that close business days: comma list of public, bank (default: public; "all" = public,bank).
regionNoOptional region/state code for countries with regional holidays, e.g. DE-BY, US-CA (or just BY).
countryYesISO 3166-1 alpha-2 country code, e.g. US, DE, GB. See list_countries.
weekendNoOptional weekend days, comma list of day names like "sat,sun" (default) or "fri,sat", or "none".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
daysYes
regionNo
resultYes
countryNo
weekendNo
calendar_daysNo
holiday_typesNo
result_weekdayNo
skipped_holidaysNo
skipped_holidays_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources