Skip to main content
Glama

MCP Time Server Node

by pshempel

get_business_days

Calculate business days between two dates while excluding weekends and custom holidays. Specify a timezone for accurate results. Useful for scheduling and deadline tracking.

Instructions

Calculate business days between dates

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date
exclude_weekendsNoExclude weekends (default: true)
holidaysNoArray of holiday dates
start_dateYesStart date
timezoneNoTimezone for calculation (default: system timezone)

Input Schema (JSON Schema)

{ "properties": { "end_date": { "description": "End date", "type": "string" }, "exclude_weekends": { "description": "Exclude weekends (default: true)", "type": "boolean" }, "holidays": { "description": "Array of holiday dates", "items": { "type": "string" }, "type": "array" }, "start_date": { "description": "Start date", "type": "string" }, "timezone": { "description": "Timezone for calculation (default: system timezone)", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }
Install Server

Other Tools from MCP Time Server Node

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pshempel/mcp-time-server-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server