Skip to main content
Glama

BRAINIAC Global Employment Rules

Calculate UK statutory notice period

global-employment_uk-statutory-notice-period
Read-onlyIdempotent

Calculate the minimum statutory employer notice period in Great Britain from continuous employment dates, and compare it with caller-supplied contractual notice. Docs: https://www.brainiac.software/api/global-employment/uk-statutory-notice-period Keywords: before you hire or engage a worker in a country, startDate, noticeDate, contractualNoticeWeeks, completedYears, statutoryWeeks, applicableWeeks, reason, Calculate UK statutory notice period, uk statutory notice period.

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": {
      "startDate": "<startDate>",
      "noticeDate": "<noticeDate>"
    },
    "name": "global-employment_uk-statutory-notice-period"
  }
}

Input Schema

NameRequiredDescriptionDefault
startDateYesstartDate, string. Required.
noticeDateYesnoticeDate, string. Required.
contractualNoticeWeeksNocontractualNoticeWeeks, number, from 0 to 260. Required.

Output Schema

NameRequiredDescriptionDefault
reasonNoreason. String.
sourcesNosources. Array.
limitationsNolimitations. Array.
completedYearsNocompletedYears. Number.
statutoryWeeksNostatutoryWeeks. Number.
applicableWeeksNoapplicableWeeks. Number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description does add the meaningful jurisdictional scope ('Great Britain', implying not Northern Ireland) and discloses that a comparison against contractual notice is performed, but says nothing about how a zero or missing contractualNoticeWeeks is treated or what the 'reason' field reports.

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 leading sentence is well-formed and front-loaded, and the docs URL is useful. However, roughly half the text is redundant keyword stuffing, including a near-verbatim repeat of the tool title ('Calculate UK statutory notice period, uk statutory notice period'), which adds no information.

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?

With an output schema present and annotations covering safety, the description only needs to explain purpose and scope, which it does reasonably well. The main remaining gap is clarifying what startDate must represent and that the statutory minimum applies to employer notice, which matters for correct invocation.

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 baseline is 3. The description only restates parameter names (startDate, noticeDate, contractualNoticeWeeks) in the keyword list without adding meaning such as the date format expectations or that startDate represents the start of continuous employment.

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 first sentence names a specific verb and resource ('Calculate the minimum statutory employer notice period'), plus jurisdiction ('in Great Britain') and the comparison against contractual notice. It does not explicitly differentiate itself from the listed siblings (redundancy pay, overtime, working-time check), so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage context is only implied through the boilerplate keyword 'before you hire or engage a worker in a country', which is a generic template phrase rather than guidance specific to notice periods. There is no statement of when not to use it, no mention of employee-side notice vs employer-side notice, and no routing to an alternative sibling.

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