Skip to main content
Glama

Plumbkit

Business day calculator

business_days
Read-onlyIdempotent

Works with business (working) days. mode "add": returns the date N business days after start_date (start_date itself is not counted; negative N goes backward; 0 returns start_date, or the next business day if start_date is not one). mode "count": counts business days from start_date to end_date, including both ends. Weekends default to Saturday and Sunday. Public holidays are NOT built in — pass them in "holidays".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoBusiness days to add (mode "add")
modeYes"add" or "count"
weekendNoWeekend days as ISO weekday numbers (1=Monday ... 7=Sunday). Default [6, 7]. Example for Friday-Saturday weekends: [5, 6]
end_dateNoYYYY-MM-DD (mode "count")
holidaysNoDates (YYYY-MM-DD) to treat as non-working days
start_dateYesYYYY-MM-DD

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