site
Leave Tracker: the site's own MCP server — calculator, enquiry (enquiry = a human handoff, not a...
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"site": {
"url": "https://leavetracker.uk/mcp"
}
}
}Remote endpoints
https://leavetracker.uk/mcpstreamable-httpWhat it can do
Tool inventory
Tools (5)
🟢calculator_describe
The inputs this calculator takes (with units, ranges and defaults), the outputs it returns, and the assumptions and tables behind it.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢calculate(mode, daysPerWeek, hoursWorked, averageDay, bankHolidaysCounted, ...)
Run the Statutory leave tracker calculator: Statutory leave for the leave year; Leave accrued in hours, at 12.07% of hours worked; Of that, filled by bank holidays your employer counts; Days left for the worker to choose. Missing inputs fall back to their documented defaults.
Input Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"regular",
"irregular"
],
"description": "How are the hours arranged?",
"default": "regular"
},
"daysPerWeek": {
"type": "number",
"minimum": 0.5,
"maximum": 7,
"description": "Days worked in a normal week",
"default": 5
},
"hoursWorked": {
"type": "number",
"minimum": 0,
"maximum": 4000,
"description": "Hours actually worked so far this leave year",
"default": 600
},
"averageDay": {
"type": "number",
"minimum": 1,
"maximum": 14,
"description": "Length of a normal working day, in hours",
"default": 8
},
"bankHolidaysCounted": {
"type": "number",
"minimum": 0,
"maximum": 12,
"description": "Bank holidays your employer counts inside the 5.6 weeks",
"default": 8
},
"taken": {
"type": "number",
"minimum": 0,
"maximum": 60,
"description": "Days of leave already taken",
"default": 6
},
"booked": {
"type": "number",
"minimum": 0,
"maximum": 60,
"description": "Days booked but not yet taken",
"default": 4
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡enquiry_describe
Read first. States plainly what submit_enquiry does on Leave Tracker: it starts an enquiry with human providers who quote directly. Nothing is bought, ordered or paid; no quote is guaranteed; it is free. Also returns who receives the details, the consent wording, and how the person confirms.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡enquiry_fields
Every field of the Leave Tracker enquiry: key, label, type, whether required, help text and the allowed options where there are any. Pass answers to submit_enquiry keyed by field key.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡submit_enquiry(answers, consent, confirmation)
Submits an enquiry to Leave Tracker — NOT a purchase, NOT a guaranteed quote. Step 1: call with the answers (keyed by field key from enquiry_fields) and consent=true; it validates and returns a summary, the consent line and a confirmation token — show the person the summary and the consent line. Step 2: only if the person agrees, call again with the same answers, consent=true and the confirmation token; the enquiry is then submitted, and the person receives an email with a link they must click before any provider sees it. Consent means the person has read and agreed to: "Happy for my details to go to leave and absence software suppliers, who'll contact me directly."
Input Schema
{
"type": "object",
"properties": {
"answers": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "the person's answers, keyed by field key"
},
"consent": {
"type": "boolean",
"description": "true only when the person has agreed to: Happy for my details to go to leave and absence software suppliers, who'll contact me directly."
},
"confirmation": {
"type": "string",
"description": "the confirmation token from step 1, after the person has approved the summary"
}
},
"required": [
"answers",
"consent"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence