Skip to main content
Glama

Malta Working Day

check_mt_working_day
Read-onlyIdempotent

Use this when you need a deterministic Malta Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed. Example user requests: Malta: Good Friday is scheduled public rest. | Malta: Ordinary Sunday is public holiday, not a named holiday. | Malta: No invented Monday compensation. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-04-03","work_schedule":"mon_fri_planning"} | {"date":"2026-01-04","work_schedule":"mon_fri_planning"} | {"date":"2026-06-08","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy. Formula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malta-public-working-day.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesGregorian date in Malta coverage.
work_scheduleYesRequired explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.

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.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world. The description adds real behavioral context beyond that: no next-Monday compensation, personal/bank-only/school/local/employer calendars are out of scope, and future years require a separately verified package. This meaningfully extends the safety profile with scope boundaries.

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?

Heavily bloated and repetitive: 'Malta Malta 2026' duplication, the enum/scope caveats restated multiple times, and a full enumeration of output fields that the output schema already defines. The front-loaded use/don't-use framing is good, but much of the body does not earn its place.

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 two-parameter date-check tool with an output schema, the description covers scope, exclusions, formula, and worked JSON examples, so an agent has what it needs to call it correctly. It over-explains return values the output schema already provides, but nothing essential is missing.

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% and both parameters are documented in the schema, so the baseline is 3. The description restates the work_schedule meaning ('mon_fri_planning baseline BEFORE individual annual/compensatory leave') and supplies the formula, but adds little semantics the schema does not already carry.

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 'What it computes' line states a specific verb and resource: 'Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events.' Being Malta-scoped, it clearly distinguishes itself from the many check_xx_working_day siblings. Garbled phrasing like 'deterministic Malta Malta 2026 fourteen named statutory holidays' creates noise, but the operation is still identifiable.

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?

Explicit 'Use this when...' and 'Do not use this when...' framing, plus a directive to 'Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.' The negative clause is syntactically mangled, and no alternative sibling tool is named, so it stops short of a 5.

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