Skip to main content
Glama

Add Bulgaria Working Days

add_bg_working_days
Read-onlyIdempotent

Use this when you need a deterministic Bulgaria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported. What it computes: Adds or subtracts Bulgaria authority-scope working days in exact coverage. Requires explicit mon_fri_planning; education-only holidays do not create general rest. Example user requests: Add or subtract Bulgaria working days around One-off euro transition rest, not statutory holiday. | Add or subtract Bulgaria working days around May 24 Sunday replacement. | Add or subtract Bulgaria working days around No nationwide school-holiday substitute. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope. Formula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bulgaria-public-add-working-days.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYesGregorian start date in 2026-2026.
working_daysYesSigned offset; start date excluded for non-zero offsets.
work_scheduleYesRequired explicit Monday-Friday planning baseline, not a universal legal roster.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linksNo
resultYes
requestYes
sourcesNo
successYes
versionNo
freshnessNo
timestampYes
next_actionsNo
service_versionYesDeployed Calcgrid implementation version used for the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral scope: education-only November 1 does not create general rest, one-off January 2 rest, no payroll/legal-deadline computation, and a REST fallback endpoint. It does not contradict the annotations, though the formula line is terse relative to the long output list.

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

Conciseness2/5

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

The entry is bloated: it restates inputs, repeats a full JSON example that already exists in the schema, enumerates 20+ output fields even though an output schema exists, and appends REST fallback and docs URLs. The 'Do not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline' sentence is garbled and unparseable, wasting prime negative-scoping space.

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 a deterministic calculation tool with an output schema and full annotation coverage, the description supplies the needed scope boundaries, holiday-policy caveats, fallback endpoint, and documentation link. The broken exclusion sentence and the redundant output enumeration are flaws, but nothing critical to correct invocation is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description nevertheless adds meaning by stating that mon_fri_planning is required because it is a planning baseline rather than a universal legal roster, and by giving the planning_workday formula that defines what working_days actually counts. It also supplies a complete JSON argument example, though that largely duplicates the schema examples.

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 states a specific verb and resource: 'Adds or subtracts Bulgaria authority-scope working days in exact coverage,' and the opening line names the general behavior (deterministic Bulgaria working-day offset). It is distinguishable from sibling country variants like add_ar_working_days and from check_bg_working_day/count_bg_working_days by the add/subtract framing, though it never names those siblings explicitly.

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?

'Use this when you need a deterministic Bulgaria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory' is a clear usage directive with a stated anti-pattern (relying on memory). Scope exclusions are given (no personal, shift, school, employer, bank/exchange, religious-leave, payroll, or legal-deadline schedules; future years unsupported), but no alternative sibling tool is named and the 'Do not use this when...' sentence is grammatically broken.

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