Skip to main content
Glama

EMPORION — business facts from public registers

Business days and holidays

business_days
Read-onlyIdempotent

Business days: is this date a working day in a country (or region) or on a market (TARGET2, NYSE, LSE…), the holiday's name, next and previous business day, date + N business days, business days between two dates, a year's holidays. Offline, python-holidays.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "business_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD; default today (UTC)
untilNoYYYY-MM-DD: count business days to it
marketNoinstead of country: XECB (TARGET2), XNYS, XLON, …
subdivNoregion, e.g. BY
countryNoISO 3166 alpha-2DE
languageNoholiday names, e.g. en_US
list_yearNo
add_business_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond them: 'Offline, python-holidays' tells the agent the data is computed locally from a known library rather than fetched live, which explains determinism and coverage limits. It still omits error behavior for unknown country/market codes and how conflicting parameters combine.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact with no filler, and the resource is front-loaded, but the core is a single run-on sentence with a comma-chained list of six operations that is hard to parse, followed by a bare fragment ('Offline, python-holidays'). A short structured mapping of operation-to-parameter would have been more useful at similar length.

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

Completeness3/5

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

With 8 optional parameters, no required parameters, and no output schema, the description must explain how to steer the tool and what comes back. It does list the possible outputs (working-day flag, holiday name, adjacent business days, counts, year list), which is more than nothing, but it never clarifies whether all fields return on every call or how to isolate one result, leaving real ambiguity for a multi-mode tool.

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 75%, so the schema carries most parameter meaning (formats, ISO alpha-2, XECB/XNYS market codes, subdiv regions). The description adds operational semantics indirectly — 'date + N business days' maps to add_business_days, 'between two dates' to until, 'a year's holidays' to list_year — but never states how next/previous business day or the holiday name are requested, since no parameter appears to select them. That ambiguity caps it at baseline.

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 enumerates concrete operations on a clearly named resource: working-day checks by country/region/market (TARGET2, NYSE, LSE), holiday names, next/previous business day, date+N, day counts between dates, and year holiday lists. An agent can tell this is a calendar/holiday utility with no overlap with the sibling lookup tools. It stops short of a 5 because the enumeration is a flat list rather than a mapping of operation to triggering parameter, so the tool's exact single purpose is broad.

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?

Usage is implied by the enumerated operations and by the parenthetical examples of market codes, but there is no explicit 'use this when' guidance, no statement that all parameters are optional and which combination triggers which operation, and no exclusions. With 8 optional params and 0 required, the agent is left to infer the routing rules.

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.