Skip to main content
Glama

time_workdays_calendar

Read-only

Workdays capacity calendar — Working-day and capacity calendar for a whole year: workdays, work hours and holidays per month and per quarter, with US federal holidays on their observed dates (or none), any weekend pattern (weekend=sat,sun or fri,sat), company holidays (extra_holidays=YYYY-MM-DD,...), half days (half_days=), hours per day (hours=8), PTO to subtract (pto_days=), an hourly rate for revenue capacity (rate=) and fiscal years (fiscal_start=10 gives FY ending in year). Use for staffing, billing targets, payroll and project planning. Offline, instant. 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": {
      "year": "<year>"
    },
    "name": "time_workdays_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes2027

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered, and the description still adds real operational detail: holidays appear on observed dates, defaults are stated (hours=8), and the paid model is disclosed ($0.002 USDC via x402 on Base). The defaults for holidays ('or none'), weekend patterns and PTO subtraction describe how the computation behaves, which goes beyond the annotations. 'Offline, instant' is a minor tension with openWorldHint=true but is best read as a speed/latency claim rather than a contradiction.

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?

Purpose is front-loaded in the first clause, followed by one dense option sentence and two short functional lines about usage and pricing. It is efficient overall, though the mid-sentence comma-spliced option dump with inline syntax examples is heavier than it needs to be for an agent reading it quickly.

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?

With no output schema provided, the description carries the burden of describing returns and does so: workdays, work hours and holidays broken out per month and per quarter. Pricing and payment rail are disclosed, which matters for an agent deciding whether to call it. The only shortfall is that the undocumented optional parameters make the callable surface ambiguous relative to the one-parameter schema.

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?

The description adds meaning beyond the schema, notably 'fiscal_start=10 gives FY ending in year,' which clarifies an argument the schema leaves cryptic (its only description is the bare example '2027'). But it also advertises a long list of options — weekend=, extra_holidays=, half_days=, hours=, pto_days=, rate= — that do not exist in the published input schema, which risks an agent attempting to pass undefined parameters. Net value is real but partly misleading, so 3.

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 opens with a specific resource and scope: a working-day and capacity calendar 'for a whole year,' breaking results down per month and per quarter with configurable holidays, half days and rates. An agent can tell it produces a year-long calendar rather than a single count or a date lookup, which implicitly differentiates it from siblings like time_business_days or time_holidays. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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?

'Use for staffing, billing targets, payroll and project planning' supplies concrete use cases, so the usage context is implied rather than absent. However, there is no when-not guidance and no direction to an alternative (e.g. time_holidays for a holiday-only lookup, time_fiscal_period for a single fiscal window), leaving the agent to infer the boundary from names.

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