Skip to main content
Glama

Count India Central Government Working Days

count_india_central_working_days
Read-onlyIdempotent

Use this when you need an auditable 2026 central-government count and can specify the 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 a state/UT, bank, employer, school, exchange or exact outside-Delhi local optional calendar. What it computes: Counts 2026 central-government baseline working and non-working dates while preserving Gazetted and Restricted event classes. Example user requests: Count Delhi central-government working days from 2026-10-01 to 2026-10-31. Inputs: start_date (date); end_date (date); office_scope (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-10-01","end_date":"2026-10-31","office_scope":"delhi_new_delhi","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, calendar_days_counted, gazetted_holidays_counted, restricted_holidays_available, 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: for each included date: working_days += selected status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/india-central-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesLast date in 2026.
start_dateYesFirst date in 2026.
office_scopeYesRequired scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.
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.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint false, destructiveHint false), but the description adds substantial behavioral context: it explains what is computed, the classes preserved (Gazetted vs. Restricted), the exact formula, the REST fallback endpoint, and documentation. This is well beyond what the structured annotations provide.

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 front-loaded and structured with headings, which helps scanning. But it is overlong for the task: the 'Inputs' list duplicates the schema, and the long 'Outputs' list duplicates the rich output schema, so several lines do not earn their 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?

For a date-range counting tool with rich schema, annotations, and output schema, the description is complete enough for an agent to invoke it correctly. It covers purpose, scope exclusions, required and optional inputs, examples, computation behavior, and fallback mechanics.

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%, so the input schema already documents start_date, end_date, office_scope, and the two include flags. The description repeats the inputs and provides a complete JSON example, but that example largely duplicates the schema's own examples and adds no new syntax or constraint detail.

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 states a specific verb and resource: it counts 2026 central-government working and non-working dates while preserving Gazetted and Restricted event classes. It also excludes related but different calendars, so an agent can distinguish it from the many sibling count_* tools.

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 2026 central-government count' with office scope) and explicit when-not-to-use guidance ('state/UT, bank, employer, school, exchange, or exact outside-Delhi local optional calendar'). However, it does not name specific sibling alternatives such as check_india_central_working_day for single-date checks or add_india_central_working_days for date arithmetic.

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