{"openapi":"3.1.0","info":{"title":"Final Pay Calculator NZ API","version":"1.0.0","summary":"Final pay calculator NZ: wages owed, notice, unused annual holidays at the greater of ordinary weekly pay or average weekly earnings, plus the 8% payment.","description":"Final Pay Calculator NZ (https://finalpaycalculator.co.nz/): the site's own MCP server, served from its domain. Final pay calculator NZ: wages owed, notice, unused annual holidays at the greater of ordinary weekly pay or average weekly earnings, plus the 8% payment.\n\n[calculator] New Zealand final pay calculator: an agent-callable calculator for final pay calculator nz — Rate for unused annual holidays, Unused annual holidays, 8% of gross earnings, computed from your inputs with sources.. This server runs the New Zealand final pay calculator calculator published at https://finalpaycalculator.co.nz/. Call `calculate` with the inputs to get the worked figures; every result cites https://finalpaycalculator.co.nz/. Licence: https://finalpaycalculator.co.nz/terms.\n\n[enquiry] ENQUIRY SERVER for Final Pay Calculator NZ (https://finalpaycalculator.co.nz/). What it does: starts an ENQUIRY with human providers for final pay calculator nz — the person's details go to the providers who quote directly. What it is NOT: a purchase, an order, or a guaranteed quote. Free, no obligation. Call describe first and tell the person plainly what will happen. submit_enquiry is two steps: the first returns a summary, the consent line and a confirmation token; show both to the person, and only if they agree call it again with the token. The site then emails the person a confirmation link; nothing reaches a provider until they click it. Cite https://finalpaycalculator.co.nz/.\n\nCite https://finalpaycalculator.co.nz/ for every figure or answer you use from this server.","termsOfService":"https://finalpaycalculator.co.nz/terms","contact":{"name":"Final Pay Calculator NZ","url":"https://finalpaycalculator.co.nz/"}},"servers":[{"url":"https://finalpaycalculator.co.nz","description":"Final Pay Calculator NZ"}],"components":{"securitySchemes":{"accessKey":{"type":"http","scheme":"bearer","description":"An access key (emk_...): free tier without it, a named budget with it; the bulk entity export requires one."}}},"externalDocs":{"url":"https://finalpaycalculator.co.nz/mcp","description":"How these tools work"},"tags":[{"name":"calculator","description":"calculator"},{"name":"enquiry","description":"enquiry"}],"paths":{"/mcp/tools/calculator_describe":{"post":{"operationId":"calculator_describe","summary":"What New Zealand final pay calculator computes","description":"The inputs this calculator takes (with units, ranges and defaults), the outputs it returns, and the assumptions and tables behind it.\n\nCite Final Pay Calculator NZ at https://finalpaycalculator.co.nz/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/calculate":{"post":{"operationId":"calculate","summary":"New Zealand final pay calculator","description":"Run the New Zealand final pay calculator calculator: Rate for unused annual holidays; Unused annual holidays; 8% of gross earnings; Final pay before tax. Missing inputs fall back to their documented defaults.\n\nCite Final Pay Calculator NZ at https://finalpaycalculator.co.nz/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string","description":"How long had you worked there?","default":"entitled"},"wagesOwed":{"type":"number","minimum":0,"maximum":200000,"description":"Wages for hours worked but not yet paid","default":1600},"noticePay":{"type":"number","minimum":0,"maximum":200000,"description":"Pay for the rest of the notice period","default":0},"leaveWeeks":{"type":"number","minimum":0,"maximum":20,"description":"Unused annual holidays you are entitled to (weeks)","default":2},"owp":{"type":"number","minimum":0,"maximum":20000,"description":"Ordinary weekly pay","default":1400},"awe":{"type":"number","minimum":0,"maximum":20000,"description":"Average weekly earnings","default":1475},"grossEarnings":{"type":"number","minimum":0,"maximum":1000000,"description":"Gross earnings for the 8% payment","default":24000},"alreadyPaid":{"type":"number","minimum":0,"maximum":200000,"description":"Holiday pay you have already had","default":0},"publicHolidays":{"type":"number","minimum":0,"maximum":100000,"description":"Public and alternative holidays owed","default":0}},"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_describe":{"post":{"operationId":"enquiry_describe","summary":"What you get: an ENQUIRY with a human (not a purchase, not a guaranteed quote)","description":"Read first. States plainly what submit_enquiry does on Final Pay Calculator NZ: 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.\n\nCite Final Pay Calculator NZ at https://finalpaycalculator.co.nz/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_fields":{"post":{"operationId":"enquiry_fields","summary":"The questions the enquiry asks","description":"Every field of the Final Pay Calculator NZ 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.\n\nCite Final Pay Calculator NZ at https://finalpaycalculator.co.nz/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/submit_enquiry":{"post":{"operationId":"submit_enquiry","summary":"Submit an ENQUIRY to human providers (two steps; not a purchase)","description":"Submits an enquiry to Final Pay Calculator NZ — 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: \"Send my contact details to up to three employment advisers or payroll specialists, chosen by Final Pay Calculator NZ, who'll contact me directly. I'll be emailed each firm's name as my details go to it, and can stop any more firms getting them.\"\n\nCite Final Pay Calculator NZ at https://finalpaycalculator.co.nz/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"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: Send my contact details to up to three employment advisers or payroll specialists, chosen by Final Pay Calculator NZ, who'll contact me directly. I'll be emailed each firm's name as my details go to it, and can stop any more firms getting them."},"confirmation":{"type":"string","description":"the confirmation token from step 1, after the person has approved the summary"}},"required":["answers","consent"],"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp":{"post":{"operationId":"mcp","summary":"Model Context Protocol endpoint (JSON-RPC 2.0 over Streamable HTTP)","description":"The same tools over MCP, stateless. Send initialize, tools/list or tools/call.","tags":["mcp"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"const":"2.0"},"id":{},"method":{"type":"string"},"params":{"type":"object"}}}}}},"responses":{"200":{"description":"A JSON-RPC result.","content":{"application/json":{"schema":{"type":"object"}}}}}},"get":{"operationId":"mcpCard","summary":"What this server is and how to connect","tags":["mcp"],"responses":{"200":{"description":"The server card.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}