Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Working hours overlap

bizdays_working_hours_overlap
Read-onlyIdempotent

Window on a given date when it is within working hours in every listed time zone (to schedule a meeting across countries).

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": {
      "timezones": "<timezones>",
      "on_date": "<on_date>"
    },
    "name": "bizdays_working_hours_overlap"
  }
}

Input Schema

NameRequiredDescriptionDefault
on_dateYes
end_hourNo
timezonesYes
start_hourNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so safety is covered. The description adds the key semantic that the window must hold in EVERY timezone (intersection rather than union), which matters, but doesn't say what happens when there is no overlap (empty result? error?) or the boundary inclusivity of working hours.

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?

A single compact sentence, front-loaded with the core concept and followed by the use case. No waste, though the parenthetical could be integrated more cleanly.

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

Completeness2/5

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

Output schema exists so return values needn't be explained, but for a 4-parameter tool with zero schema descriptions, the definition leaves the hour parameters and timezone string format entirely unspecified, and gives no fallback behavior when there is no overlap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters. The description only mentions the date and timezones implicitly, and says nothing about start_hour/end_hour defaults of 9 and 17, their units, or the timezone string format. With no schema documentation, the description should compensate and mostly doesn't.

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?

Clear specific verb-resource: computes the window on a date that falls within working hours in every listed timezone, with the parenthetical giving the use case (scheduling across countries). It doesn't explicitly distinguish itself from siblings like bizdays_convert_time or bizdays_is_business_day, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical '(to schedule a meeting across countries)' implies the intended use, but there are no explicit when/when-not statements or named alternatives. An agent must infer that this differs from convert_time or is_business_day by name alone.

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.