Skip to main content
Glama

Add working days

hopi_add_working_days
Read-onlyIdempotent

Add or subtract a number of working days (Monday to Friday) from a start date, optionally skipping England and Wales bank holidays. Dates use the YYYY-MM-DD format. Bank holiday data covers 2026 to 2028 only, so outside those years just weekends are skipped. Source: https://hopi.co.uk/add-working-days/

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start": "<start>",
      "days": "<days>"
    },
    "name": "hopi_add_working_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesNumber of working days to move (0 to 100000)
startYesStart date in YYYY-MM-DD format
directionNo'add' to count forwards, 'sub' to count backwards (default 'add')add
bankHolidaysNoAlso skip England and Wales bank holidays, not just weekends (default true)

Output Schema

NameRequiredDescriptionDefault
daysNo
startNo
resultNo
summaryYes
weekdayNo
completeNo
warningsNo
directionNo
resultLongNo
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)
daysSpannedNo
bankHolidaysNo
holidayCoverageNo
holidaysSkippedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / complete
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / holidayCoverage
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "type": "array"
      +}
    • addedOutput schema / required
      Added value: +[
      +  "source_url",
      +  "summary"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. Beyond that, the description discloses a real behavioral limitation the schema does not: bank holiday data only spans 2026–2028, so outside those years only weekends are skipped. That is exactly the kind of caveat an agent needs before trusting a result.

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

Conciseness4/5

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

Three tight sentences, front-loaded with the core operation, followed by the format rule and the coverage caveat. The trailing source URL is mildly non-essential but small; nothing else is padded.

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?

An output schema exists, so return values need not be explained, and the description covers the key gotcha (holiday coverage window) plus the date format. For a 4-parameter, read-only date calculator this is close to complete; the missing piece is guidance distinguishing it from the similar working-days and days-between-dates siblings.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter is already documented, including the add/sub enum and the YYYY-MM-DD format. The description reinforces the date format and the add/subtract semantics but adds no syntax or edge-case detail beyond the schema; baseline 3 applies.

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 opens with a specific verb and resource: add/subtract working days (Mon–Fri) from a start date, with an optional bank-holiday skip. That is concrete and unambiguous about what the tool computes. It does not, however, differentiate itself from the closest sibling hopi_working_days_calculator (or hopi_days_between_dates), so an agent must infer which to pick.

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

Usage Guidelines3/5

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

Usage is implied by the caveats: use the bankHolidays option for England/Wales holidays, but only expect that coverage for 2026–2028. There is no explicit statement of when to choose this over hopi_working_days_calculator, hopi_days_between_dates, or hopi_date_calculator, and no exclusions are given.

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