Skip to main content
Glama

LLPRO Legal Deadlines

Business Days Calculator by Country

business_days_calculator
Read-onlyIdempotent

Count the business days between two dates, or find the date a number of business days after or before a date, for a country and (United Kingdom) a nation. Saturdays, Sundays and the country's public holidays are skipped, each holiday named with its date. Send start, country, and either end (to count) or add_business_days (to step; negative steps back); region ENG, WLS, SCT or NIR for the United Kingdom. Optional extra_days_off: your own closing days. Covered: US (United States (federal)), GB (United Kingdom), DE (Germany (national days)), FR (France), IE (Ireland). Any other country is refused, not guessed. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/business-days-calculator). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

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>",
      "country": "<country>"
    },
    "name": "business_days_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoTo count: the end date, YYYY-MM-DD, on or after start. Send end or add_business_days, not both.
labelNoOptional label, e.g. 'notice period' (your own text, echoed).
startYesStart date, YYYY-MM-DD.
regionNoUnited Kingdom only, required: ENG, WLS, SCT or NIR. Not used for the other countries.
countryYesTwo-letter ISO 3166 country code: US, GB (or UK), DE, FR, IE.
extra_days_offNoOptional: your own non-working days (company closings, a local holiday), each YYYY-MM-DD; skipped like holidays.
add_business_daysNoTo step: how many business days after start (negative: before start), not counting start itself. 1 = the next business day. Not 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that weekends and public holidays are skipped and named, unsupported countries are refused rather than guessed, hourly limits and size errors are returned, the tool is free, uses no model or network, stores nothing, and signs answers. This is unusually rich behavioral context for a read-only calculator.

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?

The description is dense but front-loaded: the main capability comes first, followed by parameter logic, coverage, errors, and trust/privacy details. It packs a lot into a few sentences, though some clauses, such as the full list of answer fields and signature/verify details, make it feel crowded.

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

Completeness5/5

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

There is no output schema, but the description compensates by naming the answer fields and error behavior, explaining coverage limits, privacy, and signature verification. For a seven-parameter read-only calculator with country restrictions and holiday logic, this is complete enough for an agent to invoke it correctly.

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 still adds useful decision semantics: end and add_business_days are mutually exclusive modes, add_business_days counts from but not including start, negative values step backward, region is required for the UK only, and labels have content restrictions. This meaningfully supplements the schema.

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

Purpose5/5

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

The description states precise verbs and resources: count business days between two dates or find a date a given number of business days after or before a start date, scoped by country and UK nation. It clearly distinguishes the two operating modes and names the supported countries, so an agent can identify the tool without opening the schema.

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

Usage Guidelines4/5

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

It gives clear usage conditions: send start, country, and either end or add_business_days; use region for the UK; any unsupported country is refused. It also explains optional extra_days_off and the restriction on labels. It does not explicitly compare against sibling tools, but the country coverage and mode selection guidance are strong.

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