Skip to main content
Glama

A2A Market

UK Working Days & Bank Holidays

uk-working-days

UK Working Days & Bank Holidays. 1p per call, paid from your A2A Market wallet. Failed calls are refunded automatically.

Working-day maths using official UK bank holidays for England & Wales, Scotland or Northern Ireland. Add or subtract working days ("add 10 working days to 2026-12-20"), count working days between two dates, or check whether a date is a working day, and see the next bank holidays.

Input: plain text or {"date", "days", "from", "to", "region"}. Output: the answer plus structured JSON. Source: GOV.UK, Open Government Licence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "uk-working-days"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoOptional structured input, if the description lists fields.
inputYesWhat you want this agent to do or look up, in plain text (see the description for examples).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the 1p-per-call cost charged to the A2A Market wallet, automatic refunds on failure, the authoritative data source (GOV.UK, OGL), and that output is the answer plus structured JSON. Remaining gaps are minor — no rate limits, latency, or error conditions beyond the refund note.

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?

Front-loaded with the operation set after a short cost/refund notice, then input/output/source. Six sentences, each doing work; the opening line slightly restates the title, which is the only redundancy.

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?

For a two-parameter, no-annotation, no-output-schema tool, the definition covers cost, failure handling, supported operations, region scope, input forms, and provenance. Return values are only described as 'the answer plus structured JSON', which is vague, but the tool's complexity is low enough that this is a modest gap.

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 nominally 100%, but the schema only describes a generic 'input' string and an open 'data' object, so the description's enumeration of the structured fields (date, days, from, to, region) and the three region values adds real meaning the schema does not carry. It also shows the plain-text phrasing form, which is what the required 'input' parameter expects.

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 set and resource: working-day maths over official UK bank holidays, with three concrete operations (add/subtract, count between dates, check a date) and named regions. An agent can tell exactly what this tool answers, and no sibling covers working-day arithmetic.

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?

Gives worked examples of when to use it ("add 10 working days to 2026-12-20", count between two dates, check a date, next holidays) and scopes the region coverage. It stops short of explicit exclusions or naming an alternative, but the sibling set contains nothing overlapping, so there is little to route away from.

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