Skip to main content
Glama

Add India Central Government Working Days

add_india_central_working_days
Read-onlyIdempotent

Use this when you need a deterministic central-government date offset with a required office scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when you need an exact state/UT, bank, employer, school, exchange or locally selected optional-holiday calendar. What it computes: Adds or subtracts dates using the pinned 2026 central-government Gazetted schedule and weekend baseline; Restricted and local optional selections are not inferred. Example user requests: Add five Delhi central-government working days after 2026-10-16. Inputs: start_date (date); office_scope (enum); working_days (integer). Complete JSON argument examples: {"start_date":"2026-10-16","office_scope":"delhi_new_delhi","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, gazetted_holidays_skipped, restricted_holidays_available_at_result, territory, territory_name, office_scope, office_scope_name, is_guaranteed_non_working_day, day_type, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement remaining only when selected status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/india-central-add-working-days.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYesGregorian start date in 2026.
office_scopeYesRequired scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.
working_daysYesSigned offset; start date is excluded for non-zero offsets.

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.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds substantive behavioral context beyond that: the pinned 2026 Gazetted schedule, weekend baseline, the fact that Restricted and local optional selections are not inferred, and the day-by-day decrement formula. It also surfaces policy fields returned so the agent knows what constraints apply.

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

Conciseness4/5

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

Well front-loaded: purpose, exclusions, computation, example, inputs, JSON example, outputs, formula, fallback and docs. It is long, and the Inputs line plus full JSON argument example and the Outputs list partly duplicate the schema and output schema, so there is some redundancy, but each labelled section earns its place.

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?

Covers the computed schedule, the office_scope requirement, the formula, an explicit JSON example, the REST fallback endpoint, and docs link. With an output schema present, the description is more than sufficient for an agent to select and call the tool correctly.

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 goes beyond by restating the inputs, explaining working_days is a semantical offset, and providing a complete JSON argument example with office_scope enum and date format, which reinforces how to invoke it correctly.

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?

States a specific verb (add/subtract working-day offset), a precise resource (India central-government date offset) and scope (2026 pinned Gazetted schedule, office scope required). It also distinguishes this from state/UT, bank, employer, school and exchange calendars, which lets an agent separate it from the many sibling country tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The first sentence gives the condition to use it and even instructs the agent to call directly rather than answer from memory or stop at discovery. The 'Do not use this when...' sentence explicitly names the excluded scenarios (state/UT, bank, employer, school, exchange, locally selected optional-holiday calendars), giving both when and when-not.

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