Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Business days between dates

bizdays_business_days_between
Read-onlyIdempotent

Number of business days between two dates (by default start excluded, end included), with the holidays that fell on working weekdays.

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_date": "<start_date>",
      "end_date": "<end_date>",
      "country": "<country>"
    },
    "name": "bizdays_business_days_between"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYes
weekendNo
end_dateYes
start_dateYes
include_endNo
subdivisionNo
include_startNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/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. The description adds the default inclusion semantics (start excluded, end included) and the fact that holidays falling on working weekdays are reported. It does not mention failure behavior for unknown countries/subdivisions or any limits, but with annotations present the bar is lower.

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?

A single sentence with the core result front-loaded and the inclusion rule in a parenthetical. No filler, though the embedded clause about holidays on working weekdays slightly blurs purpose with output detail.

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

Completeness2/5

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

For a 7-parameter tool with 0% schema coverage, the description leaves critical calling information unstated: date format, country code format, weekend array semantics, and what subdivision means. The output schema covers return values, but input correctness still depends on guesswork.

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 0% across 7 parameters, so the description must compensate. It only restates the include_start/include_end defaults that the schema already declares via default values; country, subdivision, weekend array format, and especially date string format go entirely unexplained in both schema and description.

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?

States a specific computation (count of business days between two dates) plus the inclusivity convention and the fact that qualifying holidays are returned. It is distinguishable from siblings like bizdays_add_business_days or bizdays_is_business_day by the 'between two dates' framing, though no sibling is named.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g. needing a valid country/subdivision combination), and no routing to alternatives such as bizdays_add_business_days or bizdays_public_holidays. The agent must infer the appropriate context from the name 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.