Skip to main content
Glama

business_calendar

Public holidays and business-day math for about 200 countries: is a date a business day, add N business days, count working days between two dates. Paid via x402 ($0.0033 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).

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": {
      "country": "<country>"
    },
    "name": "business_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNoOperation (default inferred from the fields given).
endNoYYYY-MM-DD end (included) for business_days_between.
dateNoYYYY-MM-DD for is_business_day, add_business_days, next_business_day.
daysNoBusiness days to add (negative subtracts) for add_business_days.
langNoHoliday name language (default en; e.g. es, de, fr).
yearNoFor op=holidays (default current year).
startNoYYYY-MM-DD start (excluded) for business_days_between.
regionNoOptional state/province code, e.g. CA for US-CA, JAL for MX-JAL.
countryYesISO 3166-1 alpha-2, e.g. MX, US, DE, BR.
weekendNoOverride weekend days, e.g. "friday,saturday".
includeBankNoAlso treat bank holidays as non-business days (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so unusually well: it discloses price and payment rail ($0.0033 USDC on Base, also Polygon/Arbitrum/Solana), that billing attaches to this specific request, that invalid input is rejected without payment, the free-trial quota (3 unpaid calls/day per IP) and the exact HTTP header and MCP auto-detection behavior. It also names response fields (asOf, source). Failure and cost behavior — the highest-stakes unknowns for a paid tool — are both covered.

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 payment and trial mechanics, so an agent gets the core capability immediately. The nested parentheses around the payment rails add visual noise and the billing sentence is dense, but every element is actionable information rather than filler.

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 an 11-parameter, no-output-schema, no-annotation tool, the description covers the pieces an agent cannot get from structured fields: domain scope, cost, trial quota, payment failure handling, and two response fields. It stops short of describing the shape of holiday results or error payloads, which would be the remaining gap given no output schema exists.

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 every one of the 11 parameters, including the op enum with its field-inference default, is already documented in structured data. The description's operation list largely restates the enum values rather than adding format, default, or interaction semantics beyond it. Baseline 3 applies since the schema does the heavy lifting.

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?

Names a specific resource (public holidays and business-day math for ~200 countries) and enumerates the concrete operations an agent can request: business-day check, add N business days, count working days between dates. The verb+resource pairing is unambiguous and no sibling in the list does this work, so an agent can select it without opening the schema.

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?

Frames the use cases explicitly (holiday lookup, business-day arithmetic) and tells the agent it will be billed on this tools/call request, which is decision-relevant context before invoking. It does not name when NOT to use it or point at an alternative tool, but there is no sibling covering this domain, so the omission is minor.

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