Skip to main content
Glama

Count Australia State/Territory Working Days

count_australia_working_days
Read-onlyIdempotent

Use this when you need an auditable state/territory 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 the division is unknown or the task requires a local/employer/exchange calendar. What it computes: Counts working and non-working dates for a selected Australian state or territory in 2026-2027. Example user requests: Count NSW working days from 2026-04-20 to 2026-05-04. Inputs: start_date (date); end_date (date); division (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-04-20","end_date":"2026-05-04","division":"nsw","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, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version. Formula: for each included date: working_days += selected status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/australia-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
divisionYesRequired Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.
end_dateYesLast date in 2026-2027.
start_dateYesFirst date in 2026-2027.
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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint false, idempotentHint, and destructiveHint false, so the safety profile is covered. The description adds substantial value beyond annotations: it specifies the computation formula, the 2026-2027 scope, a direct REST fallback endpoint, documentation URL, and output field names. It does not disclose auth or rate-limit behavior, but those are likely irrelevant for a read-only calculator.

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?

The description is long and contains redundant sections that duplicate structured data: it lists inputs that the schema already describes, enumerates output fields despite an output schema existing, and includes a formula that may not be needed. While it is front-loaded with usage guidance and well-organized, much of the content 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?

Given the tool's complexity, rich schema, annotations, and output schema, the description is complete and leaves no critical gaps for an agent to invoke it correctly. It even adds extra context like REST fallback and docs. It could be slightly more focused, but it is certainly complete enough.

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 each parameter fully. The description repeats the parameter names and types and provides a complete JSON argument example, but that example largely mirrors the schema's own examples. It adds little semantic detail beyond what the schema already provides, so the baseline of 3 is appropriate.

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 clearly states the tool counts working and non-working dates for a selected Australian state or territory in 2026-2027. It distinguishes the resource (Australian state/territory) from other country siblings, but does not explicitly differentiate itself from close siblings like add_australia_working_days or check_australia_working_day beyond the verb count in its name.

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 provides explicit when-to-use guidance ('Use this when you need an auditable state/territory working-day count') and when-not-to-use guidance ('Do not use this when the division is unknown or the task requires a local/employer/exchange calendar'). Alternatives by name are not listed, but the context and exclusions are clear enough for an agent to decide correctly.

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