{"openapi":"3.1.0","info":{"title":"EMI Options Calculator API","version":"1.0.0","summary":"EMI options calculator for UK staff: the paper gain, the discount at grant and how a 2026-27 exercise affects your personal allowance, from GOV.UK figures.","description":"EMI Options Calculator (https://emioptionscalculator.co.uk/): the site's own MCP server, served from its domain. EMI options calculator for UK staff: the paper gain, the discount at grant and how a 2026-27 exercise affects your personal allowance, from GOV.UK figures.\n\n[calculator] EMI options calculator: an agent-callable calculator for emi options calculator; Gain on paper at exercise, Discount taxable as income at exercise, Sale proceeds above the exercise price, computed from your inputs with sources.. This server runs the EMI options calculator calculator published at https://emioptionscalculator.co.uk/. Call `calculate` with the inputs to get the worked figures; every result cites https://emioptionscalculator.co.uk/. Licence: https://emioptionscalculator.co.uk/terms.\n\n[enquiry] ENQUIRY SERVER for EMI Options Calculator (https://emioptionscalculator.co.uk/). What it does: starts an ENQUIRY with EMI Options Calculator for emi options calculator; the EMI Options Calculator team reads it and replies to the person 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 the EMI Options Calculator team until they click it. Cite https://emioptionscalculator.co.uk/.\n\nCite https://emioptionscalculator.co.uk/ for every figure or answer you use from this server.","termsOfService":"https://emioptionscalculator.co.uk/terms","contact":{"name":"EMI Options Calculator","url":"https://emioptionscalculator.co.uk/"}},"servers":[{"url":"https://emioptionscalculator.co.uk","description":"EMI Options 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://emioptionscalculator.co.uk/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 EMI options 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 EMI Options Calculator at https://emioptionscalculator.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":"EMI options calculator","description":"Run the EMI options calculator calculator: Gain on paper at exercise; Discount taxable as income at exercise; Sale proceeds above the exercise price; Personal allowance left in the year of exercise. Missing inputs fall back to their documented defaults.\n\nCite EMI Options Calculator at https://emioptionscalculator.co.uk/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"shares":{"type":"number","minimum":0,"maximum":10000000,"description":"Number of option shares","default":10000},"exercisePrice":{"type":"number","minimum":0,"maximum":10000,"description":"Exercise price per share","default":1},"mvGrant":{"type":"number","minimum":0,"maximum":10000,"description":"Market value per share when granted","default":1},"mvExercise":{"type":"number","minimum":0,"maximum":10000,"description":"Market value per share when you exercise","default":5},"salePrice":{"type":"number","minimum":0,"maximum":10000,"description":"Sale price per share","default":5},"otherIncome":{"type":"number","minimum":0,"maximum":10000000,"description":"Your other income in the tax year of exercise","default":60000}},"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 EMI Options Calculator: it starts an enquiry with EMI Options Calculator, whose team reads it and replies 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 EMI Options Calculator at https://emioptionscalculator.co.uk/ 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 EMI Options Calculator 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 EMI Options Calculator at https://emioptionscalculator.co.uk/ 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 EMI Options Calculator (two steps; not a purchase)","description":"Submits an enquiry to EMI Options Calculator: 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 the EMI Options Calculator team sees it. Consent means the person has read and agreed to: \"I agree that the people behind this EMI calculator may read my question and put me in touch with a tax adviser or valuer.\"\n\nCite EMI Options Calculator at https://emioptionscalculator.co.uk/ 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: I agree that the people behind this EMI calculator may read my question and put me in touch with a tax adviser or valuer."},"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"}}}}}}}}}