Skip to main content
Glama

Count Argentina Working Days

count_ar_working_days
Read-onlyIdempotent

Use this when you need an auditable Argentina working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Argentina working days around Argentina national holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, 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/argentina-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/argentina-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesLast date in 2026-2026.
start_dateYesFirst date in 2026-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.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real behavioral context: the nationwide-default calendar scope with regional one-off holidays excluded, substitute-day policy fields, dataset version and sources, plus a REST fallback endpoint. Some of this (output field list, the trivial per-date formula) is redundant with the output schema, keeping it from a 5.

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?

Purpose and the when-not caveat are front-loaded, and the labeled sections (Inputs, Outputs, Formula, REST fallback, Docs) scan well. However, for a simple two-date count the text is padded with a trivial formula line and an output enumeration that duplicates the output schema, so not every sentence 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?

With an output schema present, the description need not explain return values, and it still covers scope limits, optionality semantics, an invocation example, a fallback endpoint and docs. An agent has everything needed to select and call it 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 description coverage is 100%, so 3 is the baseline, but the description restates each input with type and optionality and supplies a complete JSON argument example, which is useful for exact invocation. It adds little semantic nuance beyond the schema's own field descriptions.

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 and resource ('Counts authority-scope working and non-working dates in a range') and scopes it geographically to Argentina, which distinguishes it from the many count_*_working_days siblings. The opening sentence frames the exact use case ('auditable Argentina working-day count').

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?

Explicitly says when to use it ('call this tool directly and return its calculation instead of answering from memory or stopping at discovery') and states a clear when-not condition (provincial, municipal, employer, bank, school, sector and religion-specific schedules are not covered, regional one-off holidays excluded). It does not name the obvious sibling alternatives (check_ar_working_day, add_ar_working_days, list_working_day_calendars), 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