Skip to main content
Glama

reference-data

count_working_days

PAID ($0.02). Working days in a date range for a country: weekends (Egypt's Fri–Sat handled) and statutory public holidays applied, with the holidays hit by name and the next working day after the range. Range max 366 days. Pass api_key if you have one; otherwise the response explains how to pay via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRange end, YYYY-MM-DD, inclusive
fromYesRange start, YYYY-MM-DD, inclusive
api_keyNoAPI key
countryYesISO country code
subdivisionNoOptional ISO 3166-2 region code (e.g. 'DE-BY') to apply that region's statutory holidays on top of the national calendar. Regions are listed under `subdivisions` by get_public_holidays. Unknown code is refused free with the list.

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description fully discloses behavior: handles weekends (including Egypt's Fri-Sat), applies statutory holidays, returns holidays hit by name and next working day, and imposes a max range of 366 days.

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

Conciseness5/5

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

The description is concise (two sentences) with key information front-loaded (paid, core function) and no unnecessary words.

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?

While it covers key aspects, the output structure is slightly ambiguous (whether the main return is a count or a list) and lacks explicit error handling, but overall adequate for a parameterized tool.

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

Parameters4/5

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

Although schema coverage is 100%, the description adds important constraints (max 366 days range, special weekend handling) that are not in the schema, enhancing parameter understanding.

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?

The description clearly states the tool counts working days in a date range for a country, applying weekends and public holidays. It distinguishes from sibling tool 'get_public_holidays' by focusing on counting and returning the next working day.

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 description mentions the tool is paid ($0.02) and provides guidance on payment via api_key or x402, but does not explicitly compare to siblings or state when to use this vs. alternatives.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct reference-data query: minimum wage check, income tax computation, VAT breakdown, working days, public holidays, series current/history/snapshot/catalog, and settlement date. There is no overlap; even get_series and get_series_history are explicitly separated as current vs. historical values.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (check_, compute_, count_, get_, list_). The one outlier is settlement_date, which is a noun phrase rather than verb_noun, but the deviation is minor and does not cause confusion.

Tool Count5/5

With 10 tools, the set is well-scoped for a reference-data server covering tax, labor, calendars, and settlement. Each tool serves a distinct purpose and none feel redundant or unnecessary.

Completeness4/5

The server provides strong coverage: discovery via list_series, current and historical series values, a bulk snapshot, and domain-specific computations for minimum wage, income tax, VAT, working days, holidays, and settlement dates. Minor gaps exist (e.g., no direct tool for social security contributions), but the core reference-data workflows are well supported.

Resources