Skip to main content
Glama

Count Uzbekistan Working Days

count_uzbekistan_working_days
Read-onlyIdempotent

Use this when you need an auditable nationwide count with explicit workweek semantics. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when the workweek or employer/shift scope is unknown. What it computes: Counts working and non-working dates in Uzbekistan's pinned 2026 schedule for a required workweek variant. Example user requests: Count five-day Uzbekistan working days from 2026-05-25 to 2026-06-02. Inputs: start_date (date); end_date (date); workweek (integer); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-05-25","end_date":"2026-06-02","workweek":5,"include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uzbekistan-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesLast date in 2026.
workweekYesRequired official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.
start_dateYesFirst date in 2026.
include_end_dateNoWhether end_date participates.
include_start_dateNoWhether start_date participates.

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

A4.1/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior. The description adds substantial context beyond that: the pinned 2026 schedule scope, required workweek variant semantics, the counting formula, output fields, REST fallback URL, and documentation link.

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?

The description is structured with clear labels and front-loads usage guidance, but it is longer than necessary for a count tool with an existing output schema. Listing all output fields and including a trivial formula duplicates structured data and adds low-value content.

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

Completeness5/5

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

Given the 5-parameter schema, full schema descriptions, annotations, and an output schema, the description is complete enough for correct invocation. It covers scope limits, required workweek semantics, inputs, outputs, fallback endpoint, and documentation.

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 the schema already documents every parameter including examples and constraints. The description mostly repeats the parameter list and supplies a complete JSON example, adding little semantic meaning beyond what the schema provides. This meets the baseline 3 for high schema coverage.

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: counting working and non-working dates for Uzbekistan under a pinned 2026 schedule and required workweek variant. It is clear what the tool does, but it does not explicitly distinguish itself from close siblings like check_uzbekistan_working_day or add_uzbekistan_working_days.

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?

It gives clear when-to-use guidance ('auditable nationwide count with explicit workweek semantics') and a when-not-to-use condition ('workweek or employer/shift scope is unknown'). It does not name alternative sibling tools for checking a single day or adding working days, so it stops short of full routing guidance.

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