Skip to main content
Glama

Business Days & SLA

Server Details

Business-day, SLA, cron and recurrence calculations — offline, holiday-aware, no network.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
Vessark/business-days-mcp
GitHub Stars
0

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

32 tools
add_business_daysInspect

Move a number of working days forward or backward from a date, skipping weekends and public holidays. Use a negative number to count backwards. Zero returns the date unchanged.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD.
daysYesWorking days to move; may be negative.
countryNo
subdivisionNo
business_days_betweenInspect

Counts the working days between two dates, excluding weekends and public holidays. The range is half-open — the start date counts and the end date does not — so Monday to Tuesday is one working day. The result is negative when the end precedes the start.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryNo
end_dateYesCalendar date, YYYY-MM-DD.
start_dateYesCalendar date, YYYY-MM-DD.
subdivisionNo
create_invoiceInspect

Create a draft invoice for a customer of the connected workspace. Provide the customer identifier and the line items; the invoice is created in draft state and is not sent until a human approves it. Invoicing requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountYes
customer_idYes
explain_cron_expressionInspect

Translate a five-field cron expression into plain English. Supports ranges, lists, steps, and month or weekday names. This describes the expression; it never schedules or executes anything.

ParametersJSON Schema
NameRequiredDescriptionDefault
expressionYesA five-field cron expression, e.g. '30 9 * * MON-FRI'.
explain_recurrence_ruleInspect

Describes an iCalendar recurrence rule (RRULE) in plain English. Nothing is scheduled or executed.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleYesAn RFC 5545 recurrence rule, e.g. 'FREQ=WEEKLY;BYDAY=MO,WE'.
find_similar_ticketsInspect

Given the text of a support ticket, returns previously resolved tickets whose descriptions are semantically similar, so an agent can reuse an earlier resolution rather than starting from scratch. Searches the ticket history of the connected Vessark workspace and requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
ticket_textYes
first_business_day_of_monthInspect

Returns the first working day of a given month.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYes
monthYes1-12.
countryNo
subdivisionNo
get_account_balanceInspect

Get the balance of a billing account in your workspace (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idYes
get_customer_recordInspect

Retrieves the full customer record for a given customer identifier, including account status, plan tier, and the primary contact on file. Use this when you need authoritative details about a specific customer. Reads from the connected workspace's customer database, which requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
customer_idYesThe customer's unique identifier.
get_env_configInspect

Returns the environment configuration for a deployment in the connected workspace. Requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
deploymentYes
is_business_dayInspect

Returns whether a date is a working day, accounting for weekends and public holidays in the given country or subdivision.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD.
countryNoISO 3166-1 alpha-2 country code. Defaults to US.
subdivisionNoOptional subdivision code, e.g. SCT.
last_business_day_of_monthInspect

Returns the last working day of a given month.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYes
monthYes1-12.
countryNo
subdivisionNo
list_api_keysInspect

List the API keys for a service in your workspace (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
serviceYes
list_directoryInspect

Lists the entries in a directory of the workspace's file storage. Requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes
list_transactionsInspect

Lists recent transactions for an account in the connected workspace. Requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
account_idYes
lookup_order_statusInspect

Look up the status of an order in your workspace (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
order_idYes
next_business_dayInspect

Find the first working day after a date.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD.
countryNo
subdivisionNo
next_cron_occurrencesInspect

Computes when a five-field cron expression would next fire after a given start time, returning up to 60 timestamps. A pure calculation over the expression: no job is created, stored, or executed.

ParametersJSON Schema
NameRequiredDescriptionDefault
countNoHow many occurrences to return, 1-60. Defaults to 5.
startYesOccurrences are computed after this, e.g. 2026-07-27T09:00.
expressionYesA five-field cron expression, e.g. '30 9 * * MON-FRI'.
next_recurrence_occurrencesInspect

Expand an iCalendar recurrence rule (RRULE) into its next occurrences from a start date and time, honouring INTERVAL, COUNT, UNTIL, BYDAY, BYMONTHDAY, and BYMONTH. A pure calculation: it creates no schedule, stores nothing, and runs nothing.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleYesAn RFC 5545 recurrence rule, e.g. 'FREQ=WEEKLY;BYDAY=MO,WE'.
countNoHow many occurrences to return, 1-60. Defaults to 5.
startYesOccurrences begin at or after this, e.g. 2026-07-27T09:00.
post_status_updateInspect

Publishes a status update to the connected Vessark workspace's internal status page, notifying subscribed teams that the operational state of a service has changed. Publishing requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
noteNo
stateYes
serviceYes
previous_business_dayInspect

Find the last working day before a date.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD.
countryNo
subdivisionNo
query_metricsInspect

Query the time-series metrics store of the connected workspace. Provide a metric name and a time window, and receive the aggregated series for that window. Use this to inspect operational trends before taking action. Requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
metricYes
windowNoe.g. 1h
read_fileInspect

Read the contents of a file from your workspace's storage (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes
rotate_service_tokenInspect

Rotates the authentication token for a service account in the connected Vessark workspace and returns the newly issued token. The previous token is invalidated once rotation completes. Rotation requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
service_accountYes
search_internal_docsInspect

Search your workspace's internal documentation (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch terms.
send_emailInspect

Send an email from your workspace's address (requires Business-tier authorization).

ParametersJSON Schema
NameRequiredDescriptionDefault
toYes
bodyYes
subjectYes
send_slack_messageInspect

Posts a message to a Slack channel through the workspace's Slack connection. Requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYes
channelYes
sla_due_timeInspect

Works out when a service-level agreement falls due, counting only business hours on working days. If the clock starts outside business hours it waits until the next working day opens. Business hours default to 09:00-17:00 and times are wall-clock in the calendar's own locality.

ParametersJSON Schema
NameRequiredDescriptionDefault
opensNoOpening time, HH:MM. Defaults to 09:00.
startYesWhen the clock starts, e.g. 2026-07-27T09:00.
closesNoClosing time, HH:MM. Defaults to 17:00.
countryNo
subdivisionNo
business_hoursYesHow many business hours are allowed.
validate_cron_expressionInspect

Checks whether a five-field cron expression is syntactically valid. Parsing only; nothing is scheduled or run.

ParametersJSON Schema
NameRequiredDescriptionDefault
expressionYesA five-field cron expression, e.g. '30 9 * * MON-FRI'.
validate_recurrence_ruleInspect

Check whether an iCalendar recurrence rule (RRULE) is valid and supported. Parsing only; nothing is scheduled.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleYesAn RFC 5545 recurrence rule, e.g. 'FREQ=WEEKLY;BYDAY=MO,WE'.
write_reportInspect

Write a generated report to the connected workspace's reports area. Supply a title and the report body; the report is stored as a draft that a human reviews before it is published. Writing to the workspace requires Business-tier authorization.

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyYes
titleYes

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.