Skip to main content
Glama

Heffl Free Tools

Business days and date offsets

business_days
Read-onlyIdempotent

Count weekdays between dates or add/subtract days. UTC dates, Monday–Friday; start included and end excluded unless includeEnd. Offset excludes start. Public holidays are not excluded. Free, no authentication required. Rate limited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
endDateYes
startDateYes
weekendDaysNo
businessDaysNo
calendarDaysNo
holidaysExcludedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations by disclosing UTC-only dates, Monday–Friday scope, holiday exclusion behavior, exact boundary semantics (start included, end excluded, offset excludes start), and operational facts (free, no auth, rate limited). These are precisely the traits an agent needs to avoid off-by-one and holiday errors.

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

Conciseness5/5

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

Five short sentences, front-loaded with the two modes, then boundary semantics, then operational constraints. Every clause carries information; nothing is boilerplate or repetitive of the schema.

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?

With an output schema present, return values need not be described, and the description covers the remaining gaps: mode selection, date format expectations, boundary rules, holiday caveats, and auth/rate-limit context. Nothing an agent needs to call this correctly is missing.

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 reported at 100%, so the baseline is 3, but the description contributes real semantic value the schema's bare property names do not: it explains includeEnd's inclusive behavior, the offset's exclusive start, and implicitly what businessOnly governs (weekdays). Direction's add/subtract meaning is self-evident from the enum.

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?

States two concrete operations with clear verbs and resources: count weekdays between two dates, or add/subtract days. An agent can match the task to the tool instantly, and no sibling tool in the list competes for date arithmetic.

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?

The opening sentence delineates the two supported modes, which is the main selection decision an agent faces, and the schema's oneOf enforces which params each mode needs. It stops short of explicit 'use this instead of X' routing, but no sibling overlaps this domain.

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