Skip to main content
Glama

Add business days

add_business_days
Read-onlyIdempotent

The date that is days business days after start. The start date is day 0, matching Excel WORKDAY, so days=1 always leaves the start date. days is an integer from -3660 to 3660. Omit calendar for us-federal-opm. us-fed-banking keeps Reserve Banks open on the Friday before a Saturday holiday.

Input Schema

NameRequiredDescriptionDefault
daysYesBusiness days to add. Negative counts backward. Zero returns the start date.
startYesCivil date, YYYY-MM-DD. Not a timestamp.
calendarNoCalendar id. Omit for us-federal-opm. Unknown ids are an error. us-fed-banking keeps Reserve Banks open on the Friday before a Saturday holiday. us-nyse is NYSE full-day holidays for 2026 through 2028. us-sifma is SIFMA recommended U.S. full closes for 2026 and 2027. An early close stays open. us-ca is California state offices for 2026. A Saturday holiday does not close Friday. us-ny is New York State executive-branch offices for 2026 and 2027. A floating holiday stays open. us-nyc is New York City offices for 2026 and 2027. A Saturday holiday closes Friday.

Output Schema

NameRequiredDescriptionDefault
dateYesdate
daysYesdays
startYesstart
sourcesYessources
calendarYescalendar
disclaimerYesdisclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds useful behavioral context: default calendar selection, unknown calendar ids are errors, and calendar-specific exception handling. It does not cover every edge case, but it adds meaningful transparency beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence front-loads the result, but the paragraph repeats schema information such as the day range and the us-fed-banking calendar exception. The ambiguous 'days=1 always leaves the start date' phrasing also costs clarity rather than earning space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and full parameter descriptions already present, the description supplies the key day-count convention, default calendar, and calendar exception behavior. It is nearly complete for calling the tool, though the day=1 wording could be clearer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds real semantic value by explaining that the start date is day 0 and by describing the calendar default, though it also repeats some schema details and the 'days=1 always leaves the start date' phrasing is ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the operation: it returns the date that is N business days after a start date, with day-count semantics tied to Excel WORKDAY. It does not explicitly distinguish itself from siblings such as count_business_days or roll_date, so it is clear but lacks sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives parameter-level guidance such as omitting calendar for the default us-federal-opm, but it never says when to use this tool instead of count_business_days, roll_date, or other date utilities. The agent must infer tool selection from the name and description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources