{"openapi":"3.1.0","info":{"title":"Notice Period Calculator API","version":"1.0.0","summary":"UK notice period calculator: 1 month or 4 weeks in your contract against the s.86 Employment Rights Act 1996 minimum, one week per year of service to 12.","description":"Notice Period Calculator (https://noticeperiodcalculator.co.uk/): the site's own MCP server, served from its domain. UK notice period calculator: 1 month or 4 weeks in your contract against the s.86 Employment Rights Act 1996 minimum, one week per year of service to 12.\n\n[calculator] Notice period calculator: an agent-callable calculator for notice period calculator; Statutory minimum notice (weeks), Contractual notice (weeks), Notice that applies (weeks), computed from your inputs with sources.. This server runs the Notice period calculator calculator published at https://noticeperiodcalculator.co.uk/. Call `calculate` with the inputs to get the worked figures; every result cites https://noticeperiodcalculator.co.uk/. Licence: https://noticeperiodcalculator.co.uk/terms.\n\nCite https://noticeperiodcalculator.co.uk/ for every figure or answer you use from this server.","termsOfService":"https://noticeperiodcalculator.co.uk/terms","contact":{"name":"Notice Period Calculator","url":"https://noticeperiodcalculator.co.uk/"}},"servers":[{"url":"https://noticeperiodcalculator.co.uk","description":"Notice Period Calculator"}],"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://noticeperiodcalculator.co.uk/mcp","description":"How these tools work"},"tags":[{"name":"calculator","description":"calculator"}],"paths":{"/mcp/tools/calculator_describe":{"post":{"operationId":"calculator_describe","summary":"What Notice period 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 Notice Period Calculator at https://noticeperiodcalculator.co.uk/ 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":"Notice period calculator","description":"Run the Notice period calculator calculator: Statutory minimum notice (weeks); Contractual notice (weeks); Notice that applies (weeks). Missing inputs fall back to their documented defaults.\n\nCite Notice Period Calculator at https://noticeperiodcalculator.co.uk/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"years":{"type":"number","minimum":0,"maximum":50,"description":"Complete years of service","default":5},"contractWeeks":{"type":"number","minimum":0,"maximum":52,"description":"Notice stated in the contract (weeks)","default":4},"direction":{"type":"string","description":"Who is giving notice?","default":"employer"}},"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"}}}}}}}}}