Skip to main content
Glama

time_business_hours

Read-only

Business-hours deadline calculator — Add business hours or business days to a start time and get the exact deadline: honors working hours (default 9-5), weekends, US federal holidays and any IANA time zone. For SLA timers, support-ticket due dates, shipping cutoffs and legal response windows. Price: $0.002 USDC (Base, via x402).

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": {
      "hours": "<hours>",
      "days": "<days>"
    },
    "name": "time_business_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNooptional IANA zone (default America/New_York)
daysYesbusiness days to add
openNooptional opening hour (default 9)
closeNooptional closing hour (default 17)
hoursYesbusiness hours to add (or use days)
startNooptional ISO start time (default now)
holidaysNooptional us (default) or none

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint, so the safety profile is covered. The description adds genuinely new behavior: default working hours 9-5, weekend and US federal holiday handling, IANA zone support, and a paid-call requirement ($0.002 USDC on Base via x402) that the agent must know before invoking. It stops short of describing the response payload or error cases.

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 front-loaded with the core operation, then the honored rules, then use cases, then pricing — a sensible ordering with no filler sentences. The marketing-flavored 'get the exact deadline' and the parenthetical unit hint are small indulgences rather than noise.

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 seven-parameter tool with no output schema, the description covers the operation, calendar semantics, defaults, timezone scope and the payment step an agent must anticipate. The main omission is what the returned deadline looks like (format, timezone of output) and how the paid call is settled.

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 coverage is 100%, and the schema already documents every parameter including the same defaults (9, 17, America/New_York, us holidays) that the description restates. The description adds little beyond the schema, and the phrase '(or use days)' actually conflicts with the schema, which marks both hours and days as required.

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 uses a specific verb and resource — 'Add business hours or business days to a start time and get the exact deadline' — and names the calendar rules it honors (working hours, weekends, US federal holidays, IANA time zones). It is clear about scope, but it does not distinguish itself from the sibling time_business_days, which an agent could easily confuse it with.

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?

Concrete use cases (SLA timers, support-ticket due dates, shipping cutoffs, legal response windows) give an agent a clear sense of when this tool applies. There is no explicit when-not guidance or named alternative such as time_business_days, and the parenthetical '(or use days)' muddies rather than clarifies the choice.

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