Skip to main content
Glama

Lookup Kit

business_days

Read-only

Business days calculator, working days between dates. Count business days (Monday to Friday) between two dates (YYYY-MM-DD), counting the start date and not the end date, or add business days to a date. Weekends only: public holidays are not taken off. Price: $0.001 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
addNo
endNo
startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value by disclosing the cost model ($0.001 per call via x402/USDC on Base) and the holiday-exclusion caveat. However, for a tool with a paid invocation and no output schema, it never states what is returned (an integer count vs. a date) or what happens if neither/both of end and add are supplied.

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 definition is compact and front-loaded, leading with the core purpose before conventions and pricing. The pricing sentence is a useful but slightly disjointed appendage, and one compound sentence carries several distinct rules.

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

Completeness3/5

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

There is no output schema, so the description is the only place return values could be explained, and it is silent on whether each mode returns a day count or a date. Combined with the undocumented interplay between 'end' and 'add', an agent can infer intent but not the exact call contract.

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%, so the description must carry the load. It does supply the date format (YYYY-MM-DD) and the inclusive-start/exclusive-end semantics, but leaves the 'add' parameter's semantics underspecified: it is signed (schema allows -5000 to 5000), unbounded in intent, and its exclusivity with 'end' is never stated.

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 names the specific resource (business days, Monday–Friday) and the two exact operations it performs: counting working days between two dates and adding business days to a date. It defines the counting convention (start included, end excluded) and the weekend-only rule, which makes it clearly distinguishable from a generic day-difference tool.

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 effectively signals two usage modes: supply a start and end to count, or supply an add value to shift a date. What's missing is explicit guidance on the interaction between the modes (e.g., that end and add are alternatives, not to be combined) and any exclusion relative to the sibling days_between tool.

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