Skip to main content
Glama
Japan Business Intelligence MCP Server

Japan Business Intelligence MCP Server

by SUPi5460

count_business_days

Calculate the number of Japanese business days between two dates, excluding weekends and public holidays. Use an inclusive start date and exclusive end date for accurate project or deadline planning.

Instructions

Count the number of Japanese business days between two dates. Start date is inclusive, end date is exclusive. Excludes weekends and public holidays.

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": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "count_business_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYesEnd date (exclusive) in YYYY-MM-DD format
startDateYesStart date (inclusive) in YYYY-MM-DD format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses boundary semantics (start inclusive, end exclusive) and that weekends and public holidays are excluded, but it does not state the return type, behavior for invalid or reversed date ranges, or the holiday calendar source.

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?

Three short sentences with zero waste, front-loading the core operation before the boundary and exclusion rules. Every sentence contributes directly to correct invocation.

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?

For a simple two-parameter read-only count tool with complete schema coverage and no output schema, the description covers the essential semantics. It leaves minor gaps around return format and invalid-range behavior, but nothing critical for normal use.

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 both parameters are already documented with formats and inclusive/exclusive semantics. The description restates the boundary rules but adds no parameter-specific meaning beyond what the schema provides, so the baseline of 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 states a specific verb (count) and resource (Japanese business days) with a clear scope between two dates. It is distinct from sibling operations like is_business_day or next_business_day by verb, but does not explicitly name or contrast those alternatives.

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 explicit when-to-use guidance or comparison to alternatives such as is_business_day or get_holidays. The operation is implied by the description, but no usage conditions or exclusions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.