Skip to main content
Glama

add_business_days

Add or subtract N Japanese business days from a date (settlement T+N, delivery ETA). Price: $0.01 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD. Supported range 1955-01-01..2027-12-31
daysYes
calendarNonational (default): weekends + national holidays. bank: also Dec 31 - Jan 3 bank holidays

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 of behavioral disclosure. It discloses a key trait: the cost ($0.01 USDC via x402), which is valuable. However, it does not mention error handling, rate limits, authentication requirements, or whether the operation is read-only (though calculation implies no side effects). It adds some context (settlement/delivery) but lacks deeper behavioral detail.

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?

The description is a single sentence that front-loads the core action and purpose, then adds a concise price note. Every word earns its place; there is no filler or redundant repetition of the schema.

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 3-parameter tool with no output schema, the description covers the essential use case and cost. It does not explicitly state the return format (likely a date), but that is implied by the operation. The schema already documents parameter ranges and the calendar enum. The description is sufficient for an agent to call it correctly, though a note on return format would be a minor enhancement.

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 description coverage is 67% (date and calendar have descriptions, but days does not). The description compensates by explaining that 'days' is the number of Japanese business days to add or subtract, clarifying the semantic of the days parameter. It also reinforces the operation's purpose, adding value beyond the schema's enum/type definitions.

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 clearly states the action ('Add or subtract N Japanese business days from a date') with a specific resource (business days, Japanese) and concrete use cases (settlement T+N, delivery ETA). This distinguishes it from siblings like is_business_day (a boolean check) and list_holidays (listing holidays). The verb-resource pair is specific and unambiguous.

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 description provides clear context for when to use this tool (settlement/delivery date calculations) by naming the exact business scenarios. However, it does not explicitly mention alternatives or exclusions (e.g., 'for checking if a date is a business day, use is_business_day'). The guidance is strong but not fully explicit about when not to use it.

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