Skip to main content
Glama

UK Data for Agents

holiday_entitlement

Read-onlyIdempotent

Statutory paid holiday for a working pattern, pro rata by months. (cost: 1 credit)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "holiday_entitlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysPerWeekNonumber
hoursPerWeekNonumber
monthsWorkedNonumber 0-12

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioural detail the annotations cannot convey: the 1-credit cost. However it does not say what happens when monthsWorked is omitted or how the result is presented.

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?

A single front-loaded sentence covering the resource and the pro-rata basis, with the cost appended in parentheses. Nothing is wasted, though there is very little there to begin with.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, idempotent calculation with full schema coverage and no output schema, the description covers the essentials. It is still thin on the calculation's semantics (whether hoursPerWeek or daysPerWeek takes precedence, what happens with zero months) and does not describe the return value, which matters since no output schema exists.

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 all three parameters are documented in the schema, though only as bare types plus 'number 0-12' for monthsWorked. The description adds the notion of a working pattern and pro-rating by months, which maps daysPerWeek/hoursPerWeek and monthsWorked to the calculation, but no formula or units detail.

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?

States a specific verb-less but precise resource: statutory paid holiday entitlement for a working pattern, pro rata by months. An agent can distinguish it from siblings like bank_holidays and public_holidays, though the description never explicitly names those alternatives.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given. The siblings bank_holidays and public_holidays are the obvious near-neighbours, yet the description does not say whether this returns statutory minimum entitlement rather than actual public holiday dates, nor does it mention prerequisites.

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