Server definition
- Hash
- sha256:6c5a4174d19fe4471a9ea17942b5c816c1779ad046d5ccad808131a6fd0e20bc
- What it is
- What a remote MCP server returned when asked what it offers: 195 tools
The blob, as servednamed by its sha256
{
"instructions": "Hopi provides free UK-focused calculators, converters and generators (tax and pay for 2026/27, VAT, stamp duty, dates, units, colours, text, encoding, hashing). Every tool is read-only and computes on the spot from the inputs you pass; nothing is stored. Results include a source URL on hopi.co.uk you can cite or send to the user. Guide: https://hopi.co.uk/mcp/",
"tools": [
{
"description": "Add or subtract a number of working days (Monday to Friday) from a start date, optionally skipping England and Wales bank holidays. Dates use the YYYY-MM-DD format. Bank holiday data covers 2026 and 2027 only, so outside those years just weekends are skipped. Source: https://hopi.co.uk/add-working-days/",
"inputSchema": {
"properties": {
"bankHolidays": {
"default": true,
"description": "Also skip England and Wales bank holidays, not just weekends (default true)",
"type": "boolean"
},
"days": {
"description": "Number of working days to move (0 to 100000)",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"direction": {
"default": "add",
"description": "'add' to count forwards, 'sub' to count backwards (default 'add')",
"enum": [
"add",
"sub"
],
"type": "string"
},
"start": {
"description": "Start date in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"start",
"days"
],
"type": "object"
},
"name": "hopi_add_working_days",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bankHolidays": {
"type": "boolean"
},
"complete": {
"type": "boolean"
},
"days": {
"type": "number"
},
"daysSpanned": {
"type": "number"
},
"direction": {
"type": "string"
},
"holidayCoverage": {
"type": "object"
},
"holidaysSkipped": {
"type": "number"
},
"result": {
"type": "string"
},
"resultLong": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"start": {
"type": "string"
},
"summary": {
"type": "string"
},
"warnings": {
"type": "array"
},
"weekday": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out an exact age from a date of birth, as of today or an optional 'as of' date. Dates use the YYYY-MM-DD format. Returns the age in years, months and days, the total days lived, and the next birthday. Source: https://hopi.co.uk/age-calculator/",
"inputSchema": {
"properties": {
"asOf": {
"description": "Optional date to measure the age at, in YYYY-MM-DD format (defaults to today)",
"format": "date",
"type": "string"
},
"dob": {
"description": "Date of birth in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"dob"
],
"type": "object"
},
"name": "hopi_age_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"asOf": {
"type": "string"
},
"days": {
"type": "number"
},
"dob": {
"type": "string"
},
"months": {
"type": "number"
},
"nextBirthdayInDays": {
"type": "number"
},
"nextBirthdayWeekday": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalDays": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out UK alcohol units in a drink from its ABV (percentage) and volume (millilitres), using units = ABV x ml / 1000. Optionally give the number of those drinks per week to get a weekly total compared against the NHS low risk guideline of 14 units a week. Source: https://hopi.co.uk/alcohol-unit-calculator/",
"inputSchema": {
"properties": {
"abv": {
"description": "Alcohol by volume as a percentage, e.g. 12 for 12% wine",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"drinksPerWeek": {
"description": "Optional number of these drinks per week, to work out a weekly units total",
"exclusiveMinimum": 0,
"type": "number"
},
"ml": {
"description": "Volume of the drink in millilitres, e.g. 175 for a medium glass of wine",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"abv",
"ml"
],
"type": "object"
},
"name": "hopi_alcohol_unit_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"abv": {
"type": "number"
},
"ml": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"units": {
"type": "number"
}
},
"required": [
"abv",
"ml",
"source_url",
"summary",
"units"
],
"type": "object"
}
},
{
"description": "Sort the lines of a block of text into alphabetical order. Blank lines are dropped. Uses natural en-GB ordering so numbers within lines sort sensibly. Can sort ascending (A to Z) or descending (Z to A), and can ignore case. Source: https://hopi.co.uk/alphabetical-order/",
"inputSchema": {
"properties": {
"caseInsensitive": {
"default": false,
"description": "Ignore letter case when sorting (default false)",
"type": "boolean"
},
"direction": {
"default": "asc",
"description": "'asc' for A to Z (default), 'desc' for Z to A",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"text": {
"description": "The text to sort, one item per line",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_alphabetical_order",
"outputSchema": {
"additionalProperties": true,
"properties": {
"caseInsensitive": {
"type": "boolean"
},
"direction": {
"type": "string"
},
"lines": {
"type": "number"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"caseInsensitive",
"direction",
"lines",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert an angle from one unit to another. Units: deg (degrees), rad (radians), grad (gradians), turn (full turns). Source: https://hopi.co.uk/angle-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"deg",
"rad",
"grad",
"turn"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"deg",
"rad",
"grad",
"turn"
],
"type": "string"
},
"value": {
"description": "The angle value to convert",
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_angle_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"from",
"result",
"source_url",
"summary",
"to",
"value"
],
"type": "object"
}
},
{
"description": "Convert an area from one unit to another. Units: sqm (square metres), sqft (square feet), sqyd (square yards), acre (acres), ha (hectares), sqkm (square kilometres), sqmi (square miles). Source: https://hopi.co.uk/area-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"sqm",
"sqft",
"sqyd",
"acre",
"ha",
"sqkm",
"sqmi"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"sqm",
"sqft",
"sqyd",
"acre",
"ha",
"sqkm",
"sqmi"
],
"type": "string"
},
"value": {
"description": "The area value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_area_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"from",
"result",
"source_url",
"summary",
"to",
"value"
],
"type": "object"
}
},
{
"description": "Aspect ratio helper. In 'simplify' mode, give width and height to get the simplified W:H ratio, decimal ratio and nearest common ratio. In 'solve' mode, give a ratio (ratioW:ratioH) plus one of width or height to get the missing side. Source: https://hopi.co.uk/aspect-ratio-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "simplify"
}
}
},
"then": {
"required": [
"width",
"height"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "solve"
}
}
},
"then": {
"required": [
"ratioW",
"ratioH"
]
}
}
],
"properties": {
"height": {
"description": "Height in pixels or units (simplify mode, or the known side in solve mode)",
"exclusiveMinimum": 0,
"type": "number"
},
"mode": {
"description": "'simplify' a width and height, or 'solve' a missing side from a ratio",
"enum": [
"simplify",
"solve"
],
"type": "string"
},
"ratioH": {
"description": "Ratio height part, e.g. 9 (solve mode)",
"exclusiveMinimum": 0,
"type": "number"
},
"ratioW": {
"description": "Ratio width part, e.g. 16 (solve mode)",
"exclusiveMinimum": 0,
"type": "number"
},
"width": {
"description": "Width in pixels or units (simplify mode, or the known side in solve mode)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_aspect_ratio_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"decimal": {
"type": "string"
},
"mode": {
"type": "string"
},
"nearest": {
"type": "string"
},
"ratio": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"ratio",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the mean, median, mode, sum, count, minimum and maximum of a list of numbers. Provide the numbers separated by spaces, commas, semicolons or new lines (type 1200 rather than 1,200, as commas are treated as separators). Source: https://hopi.co.uk/average-calculator/",
"inputSchema": {
"properties": {
"numbers": {
"description": "A list of numbers separated by spaces, commas, semicolons or new lines",
"minLength": 1,
"type": "string"
}
},
"required": [
"numbers"
],
"type": "object"
},
"name": "hopi_average_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"mode": {
"type": "string"
},
"modeValues": {
"type": [
"array",
"null"
]
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"sum": {
"type": "number"
},
"summary": {
"type": "string"
}
},
"required": [
"count",
"max",
"mean",
"median",
"min",
"mode",
"modeValues",
"source_url",
"sum",
"summary"
],
"type": "object"
}
},
{
"description": "Encode text to RFC 4648 Base32 or decode Base32 back to text. Encoding maps the UTF-8 bytes of the text into 5-bit groups using the alphabet A to Z then 2 to 7, padded to a multiple of 8 characters with equals signs. Decoding tolerates lowercase input and missing padding, and reports characters outside the alphabet as an error. Source: https://hopi.co.uk/base32-encoder/",
"inputSchema": {
"properties": {
"mode": {
"default": "encode",
"description": "'encode' turns text into Base32, 'decode' turns Base32 back into text (default encode)",
"enum": [
"encode",
"decode"
],
"type": "string"
},
"text": {
"description": "The text to encode, or the Base32 string to decode",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_base32_encoder",
"outputSchema": {
"additionalProperties": true,
"properties": {
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"output",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Encode text to Base64, or decode a Base64 string back to text. UTF-8 safe, so accents and emoji survive the round trip. Returns the converted text or a clear error. Source: https://hopi.co.uk/base64/",
"inputSchema": {
"properties": {
"mode": {
"description": "'encode' text to Base64, or 'decode' Base64 back to text",
"enum": [
"encode",
"decode"
],
"type": "string"
},
"text": {
"description": "The text to encode, or the Base64 string to decode",
"type": "string"
}
},
"required": [
"text",
"mode"
],
"type": "object"
},
"name": "hopi_base64",
"outputSchema": {
"additionalProperties": true,
"properties": {
"input": {
"type": "string"
},
"mode": {
"type": "string"
},
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"input",
"mode",
"output",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Split a restaurant bill between people. In 'itemised' mode, list each item with its amount and who shared it, then add an optional tip and service charge (both percentages applied to each person's own share). In 'even' mode, split one total evenly with an optional tip. Amounts in GBP. Source: https://hopi.co.uk/bill-splitter/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "itemised"
}
}
},
"then": {
"required": [
"people",
"items"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "even"
}
}
},
"then": {
"required": [
"total",
"peopleCount"
]
}
}
],
"properties": {
"items": {
"description": "Itemised mode: each item with its amount and the names who shared it. An item with no names is shared by everyone.",
"items": {
"properties": {
"amount": {
"description": "Item cost in GBP",
"minimum": 0,
"type": "number"
},
"assigned": {
"description": "Names sharing this item; omit or empty for everyone",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Item name",
"type": "string"
}
},
"required": [
"amount"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"mode": {
"description": "'itemised' splits by item and who had it; 'even' splits one total equally",
"enum": [
"itemised",
"even"
],
"type": "string"
},
"people": {
"description": "Itemised mode: names of the people sharing the bill",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"peopleCount": {
"description": "Even mode: number of people to split between",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"servicePercent": {
"default": 0,
"description": "Itemised mode: service charge as a percentage (default 0)",
"minimum": 0,
"type": "number"
},
"tipPercent": {
"default": 0,
"description": "Tip as a percentage (default 0)",
"minimum": 0,
"type": "number"
},
"total": {
"description": "Even mode: the bill total before tip",
"minimum": 0,
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_bill_splitter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"grandTotal": {
"type": "number"
},
"mode": {
"type": "string"
},
"peopleCount": {
"type": "number"
},
"perPerson": {
"type": [
"number",
"object"
]
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tip": {
"type": "number"
},
"tipPercent": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"grandTotal",
"mode",
"perPerson",
"source_url",
"summary",
"tipPercent"
],
"type": "object"
}
},
{
"description": "Generate one or more UK 90-ball bingo cards. Each card is a 3-row by 9-column grid holding 15 numbers, 5 per row, with each column drawing from its own decade (1 to 9, 10 to 19, and so on up to 80 to 90). Blank squares are null. Source: https://hopi.co.uk/bingo-card-generator/",
"inputSchema": {
"properties": {
"count": {
"default": 1,
"description": "How many cards to generate, 1 to 100 (default 1)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_bingo_card_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cards": {
"type": "array"
},
"count": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"cards",
"count",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Check whether a Bitcoin address is valid by verifying its checksum and structure. Supports legacy Base58Check (P2PKH, P2SH) and Bech32/Bech32m SegWit and Taproot addresses, on mainnet and testnet. Does not query the blockchain or check balances. Source: https://hopi.co.uk/bitcoin-address-validator/",
"inputSchema": {
"properties": {
"address": {
"description": "The Bitcoin address to validate",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"name": "hopi_bitcoin_address_validator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"encoding": {
"type": "string"
},
"network": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"type": {
"type": "string"
},
"valid": {
"type": "boolean"
}
},
"required": [
"source_url",
"summary",
"valid"
],
"type": "object"
}
},
{
"description": "Work out body mass index (BMI) from height and weight, with the NHS weight category. Use units 'metric' with heightCm and weightKg, or 'imperial' with heightInches and weightPounds. BMI = weight in kg / (height in metres squared). Source: https://hopi.co.uk/bmi-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"units": {
"const": "metric"
}
}
},
"then": {
"required": [
"heightCm",
"weightKg"
]
}
},
{
"if": {
"properties": {
"units": {
"const": "imperial"
}
}
},
"then": {
"required": [
"heightInches",
"weightPounds"
]
}
}
],
"properties": {
"heightCm": {
"description": "Height in centimetres (metric)",
"exclusiveMinimum": 0,
"type": "number"
},
"heightInches": {
"description": "Total height in inches (imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"units": {
"description": "'metric' (cm and kg) or 'imperial' (inches and pounds)",
"enum": [
"metric",
"imperial"
],
"type": "string"
},
"weightKg": {
"description": "Weight in kilograms (metric)",
"exclusiveMinimum": 0,
"type": "number"
},
"weightPounds": {
"description": "Weight in pounds (imperial)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"units"
],
"type": "object"
},
"name": "hopi_bmi_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bmi": {
"type": "number"
},
"category": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"units": {
"type": "string"
}
},
"required": [
"bmi",
"category",
"source_url",
"summary",
"units"
],
"type": "object"
}
},
{
"description": "Estimate body fat percentage using the US Navy tape method from a few measurements. For males give height, neck and waist; for females give height, neck, waist and hip. Use units 'metric' (centimetres) or 'imperial' (inches). Optionally give weight (kg for metric, pounds for imperial) to also get fat mass and lean mass in kilograms. Source: https://hopi.co.uk/body-fat-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"sex": {
"const": "female"
}
}
},
"then": {
"required": [
"hip"
]
}
}
],
"properties": {
"height": {
"description": "Height (cm if metric, inches if imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"hip": {
"description": "Hip circumference, females only (cm if metric, inches if imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"neck": {
"description": "Neck circumference (cm if metric, inches if imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"sex": {
"description": "Biological sex, determines the formula and whether hip is needed",
"enum": [
"male",
"female"
],
"type": "string"
},
"units": {
"description": "'metric' (cm) or 'imperial' (inches)",
"enum": [
"metric",
"imperial"
],
"type": "string"
},
"waist": {
"description": "Waist circumference (cm if metric, inches if imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"weight": {
"description": "Optional weight (kg if metric, pounds if imperial) for fat and lean mass",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"sex",
"units",
"height",
"neck",
"waist"
],
"type": "object"
},
"name": "hopi_body_fat_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bodyFatPercent": {
"type": "number"
},
"category": {
"type": "string"
},
"sex": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"units": {
"type": "string"
}
},
"required": [
"bodyFatPercent",
"category",
"sex",
"source_url",
"summary",
"units"
],
"type": "object"
}
},
{
"description": "Encode or decode text with a Caesar shift cipher. Each letter is moved along the alphabet by the shift amount; a shift of 13 is ROT13. Only A to Z letters are changed, everything else is left as is. Decoding applies the opposite shift. Source: https://hopi.co.uk/caesar-cipher/",
"inputSchema": {
"properties": {
"mode": {
"default": "encode",
"description": "'encode' to apply the shift, 'decode' to reverse it (default encode)",
"enum": [
"encode",
"decode"
],
"type": "string"
},
"shift": {
"description": "How many places to shift each letter (e.g. 3, or 13 for ROT13)",
"type": "integer"
},
"text": {
"description": "The text to transform",
"type": "string"
}
},
"required": [
"text",
"shift"
],
"type": "object"
},
"name": "hopi_caesar_cipher",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"shift": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"result",
"shift",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the compound annual growth rate (CAGR) that takes a starting value to an ending value over a number of years. Returns the annual rate, the total growth and the growth multiple. Source: https://hopi.co.uk/cagr-calculator/",
"inputSchema": {
"properties": {
"end": {
"description": "Ending value",
"minimum": 0,
"type": "number"
},
"start": {
"description": "Starting value (must be greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"years": {
"description": "Number of years over the period (may be a fraction)",
"exclusiveMinimum": 0,
"maximum": 200,
"type": "number"
}
},
"required": [
"start",
"end",
"years"
],
"type": "object"
},
"name": "hopi_cagr_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cagrPercent": {
"type": "number"
},
"end": {
"type": "number"
},
"growthMultiple": {
"type": "number"
},
"shortPeriodWarning": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"start": {
"type": "number"
},
"summary": {
"type": "string"
},
"totalGrowthPercent": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert food energy between kilocalories (kcal) and kilojoules (kJ) using the exact factor 1 kcal = 4.184 kJ. Give an amount and its unit ('kcal' or 'kj'); returns both values. Source: https://hopi.co.uk/calories-to-kj/",
"inputSchema": {
"properties": {
"amount": {
"description": "The energy amount to convert",
"type": "number"
},
"unit": {
"description": "The unit of the amount: 'kcal' (kilocalories) or 'kj' (kilojoules)",
"enum": [
"kcal",
"kj"
],
"type": "string"
}
},
"required": [
"amount",
"unit"
],
"type": "object"
},
"name": "hopi_calories_to_kj",
"outputSchema": {
"additionalProperties": true,
"properties": {
"kcal": {
"type": "number"
},
"kj": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"kcal",
"kj",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert text to a different letter case. 'upper' is UPPERCASE, 'lower' is lowercase, 'title' capitalises the first letter of each word, and 'sentence' capitalises the first letter of each sentence. Source: https://hopi.co.uk/case-converter/",
"inputSchema": {
"properties": {
"mode": {
"description": "The target case",
"enum": [
"upper",
"lower",
"title",
"sentence"
],
"type": "string"
},
"text": {
"description": "The text to convert",
"type": "string"
}
},
"required": [
"text",
"mode"
],
"type": "object"
},
"name": "hopi_case_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a cat's age in years to an approximate human age, using the standard 15, 24, then 4 a year chart. Returns the human-equivalent age and the cat's life stage. Source: https://hopi.co.uk/cat-age-calculator/",
"inputSchema": {
"properties": {
"catAge": {
"description": "The cat's age in years (0 to 40)",
"maximum": 40,
"minimum": 0,
"type": "number"
}
},
"required": [
"catAge"
],
"type": "object"
},
"name": "hopi_cat_age_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"catAge": {
"type": "number"
},
"humanYears": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"stage": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a temperature between Celsius and Fahrenheit. Also returns Kelvin. Set direction to 'c-to-f' or 'f-to-c'. Source: https://hopi.co.uk/celsius-to-fahrenheit/",
"inputSchema": {
"properties": {
"direction": {
"description": "'c-to-f' converts Celsius to Fahrenheit, 'f-to-c' converts Fahrenheit to Celsius",
"enum": [
"c-to-f",
"f-to-c"
],
"type": "string"
},
"value": {
"description": "The temperature value to convert",
"type": "number"
}
},
"required": [
"value",
"direction"
],
"type": "object"
},
"name": "hopi_celsius_to_fahrenheit",
"outputSchema": {
"additionalProperties": true,
"properties": {
"celsius": {
"type": "number"
},
"direction": {
"type": "string"
},
"fahrenheit": {
"type": "number"
},
"kelvin": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"celsius",
"direction",
"fahrenheit",
"kelvin",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Count the characters in a block of text, including a count with spaces removed, the word count, how many SMS messages it would take to send, and the Twitter/X characters remaining out of 280. Source: https://hopi.co.uk/character-counter/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to measure",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_character_counter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"characters": {
"type": "number"
},
"charactersNoSpaces": {
"type": "number"
},
"smsParts": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tweetRemaining": {
"type": "number"
},
"words": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Identify what encoding or classical cipher a piece of text probably is (Base64, Base32, hex, binary, octal or decimal ASCII, URL encoding, HTML entities, Morse, Caesar or ROT-N, Atbash, reversed text) or recognise it as a UUID, IPv4 address, Unix timestamp, JWT or hash digest. Returns ranked candidates with confidence and a decoded preview, then auto-decodes nested layers (up to 8) while a step is at least 60% confident. Cannot break keyed encryption such as AES. Source: https://hopi.co.uk/cipher-identifier/",
"inputSchema": {
"properties": {
"text": {
"description": "The unknown text to identify and decode",
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_cipher_identifier",
"outputSchema": {
"additionalProperties": true,
"properties": {
"candidates": {
"type": "array"
},
"chain": {
"type": "array"
},
"plaintext": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"candidates",
"chain",
"plaintext",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a height between centimetres and feet/inches. Direction 'cm-to-feet' takes cm and returns feet and inches. Direction 'feet-to-cm' takes feet and inches and returns cm. Source: https://hopi.co.uk/cm-to-feet/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"direction": {
"const": "cm-to-feet"
}
}
},
"then": {
"required": [
"cm"
]
}
}
],
"properties": {
"cm": {
"description": "Centimetres (for cm-to-feet)",
"minimum": 0,
"type": "number"
},
"direction": {
"description": "Which way to convert",
"enum": [
"cm-to-feet",
"feet-to-cm"
],
"type": "string"
},
"feet": {
"description": "Feet (for feet-to-cm)",
"minimum": 0,
"type": "number"
},
"inches": {
"description": "Inches (for feet-to-cm, optional)",
"minimum": 0,
"type": "number"
}
},
"required": [
"direction"
],
"type": "object"
},
"name": "hopi_cm_to_feet",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cm": {
"type": "number"
},
"direction": {
"type": "string"
},
"feet": {
"type": "number"
},
"feetDecimal": {
"type": "number"
},
"inches": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalInches": {
"type": "number"
}
},
"required": [
"cm",
"direction",
"feet",
"inches",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert print CMYK values (each 0 to 100) to on-screen RGB and hex, or convert RGB (each 0 to 255) the other way to CMYK. Uses the standard device-independent conversion. Source: https://hopi.co.uk/cmyk-to-rgb/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "cmyk_to_rgb"
}
}
},
"then": {
"required": [
"c",
"m",
"y",
"k"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "rgb_to_cmyk"
}
}
},
"then": {
"required": [
"r",
"g",
"b"
]
}
}
],
"properties": {
"b": {
"description": "Blue 0 to 255 (for rgb_to_cmyk)",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"c": {
"description": "Cyan 0 to 100 (for cmyk_to_rgb)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"g": {
"description": "Green 0 to 255 (for rgb_to_cmyk)",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"k": {
"description": "Key/black 0 to 100 (for cmyk_to_rgb)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"m": {
"description": "Magenta 0 to 100 (for cmyk_to_rgb)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"mode": {
"description": "Direction of conversion",
"enum": [
"cmyk_to_rgb",
"rgb_to_cmyk"
],
"type": "string"
},
"r": {
"description": "Red 0 to 255 (for rgb_to_cmyk)",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"y": {
"description": "Yellow 0 to 100 (for cmyk_to_rgb)",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_cmyk_to_rgb",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hex": {
"type": "string"
},
"mode": {
"type": "string"
},
"rgb": {
"type": "array"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Flip a fair coin one or more times. Returns each result plus a tally of heads and tails. Source: https://hopi.co.uk/coin-flip/",
"inputSchema": {
"properties": {
"count": {
"default": 1,
"description": "How many coins to flip, 1 to 10000 (default 1)",
"maximum": 10000,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_coin_flip",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"heads": {
"type": "number"
},
"results": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tails": {
"type": "number"
}
},
"required": [
"count",
"heads",
"results",
"source_url",
"summary",
"tails"
],
"type": "object"
}
},
{
"description": "Find the named CSS colour that exactly or most closely matches a hex code, using straight-line distance in RGB space across the 148 named CSS colours. Source: https://hopi.co.uk/colour-name-finder/",
"inputSchema": {
"properties": {
"hex": {
"description": "Hex colour code, e.g. #DC143C or #F00",
"pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
"type": "string"
}
},
"required": [
"hex"
],
"type": "object"
},
"name": "hopi_colour_name_finder",
"outputSchema": {
"additionalProperties": true,
"properties": {
"distance": {
"type": "number"
},
"exact": {
"type": "boolean"
},
"input": {
"type": "string"
},
"name": {
"type": "string"
},
"names": {
"type": "array"
},
"nearestHex": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate a five-swatch colour palette from a base hex colour using a chosen scheme: analogous, complementary, triadic or mixed. Supporting swatches carry a small random variation, so results vary slightly each call. Source: https://hopi.co.uk/colour-palette-generator/",
"inputSchema": {
"properties": {
"hex": {
"description": "Base colour as a six-digit hex code, e.g. #1F8A70",
"pattern": "^#?[0-9a-fA-F]{6}$",
"type": "string"
},
"scheme": {
"default": "analogous",
"description": "Colour scheme (default analogous)",
"enum": [
"analogous",
"complementary",
"triadic",
"mixed"
],
"type": "string"
}
},
"required": [
"hex"
],
"type": "object"
},
"name": "hopi_colour_palette_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"base": {
"type": "string"
},
"palette": {
"type": "array"
},
"scheme": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Given a six-digit hex colour code (with or without a leading #), return its hex, RGB and HSL values. Source: https://hopi.co.uk/colour-picker/",
"inputSchema": {
"properties": {
"hex": {
"description": "Six-digit hex colour code, e.g. #1F8A70",
"pattern": "^#?[0-9a-fA-F]{6}$",
"type": "string"
}
},
"required": [
"hex"
],
"type": "object"
},
"name": "hopi_colour_picker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "array"
},
"hslString": {
"type": "string"
},
"rgb": {
"type": "array"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "From a base hex colour, generate five progressively lighter tints (mixed towards white) and five progressively darker shades (mixed towards black), each in five equal steps of one sixth. Source: https://hopi.co.uk/colour-shades-generator/",
"inputSchema": {
"properties": {
"hex": {
"description": "Base colour as a six-digit hex code, e.g. #1F8A70",
"pattern": "^#?[0-9a-fA-F]{6}$",
"type": "string"
}
},
"required": [
"hex"
],
"type": "object"
},
"name": "hopi_colour_shades_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"base": {
"type": "string"
},
"shades": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tints": {
"type": "array"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "List every way to choose r items from a list, ignoring order (combinations). Returns the total count and the combinations themselves (the first 5000). Source: https://hopi.co.uk/combination-generator/",
"inputSchema": {
"properties": {
"choose": {
"description": "How many items to pick in each combination (r)",
"minimum": 1,
"type": "integer"
},
"items": {
"description": "The list of items to choose from",
"maxItems": 10000,
"minItems": 1,
"type": "array"
}
},
"required": [
"items",
"choose"
],
"type": "object"
},
"name": "hopi_combination_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"combinations": {
"type": "array"
},
"count": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Project savings growth from a starting deposit plus a regular monthly contribution, compounded monthly with contributions added at the end of each month. Returns the final balance, total paid in and interest earned. Amounts in GBP, rate is the annual rate as a percentage. Source: https://hopi.co.uk/compound-interest-calculator/",
"inputSchema": {
"properties": {
"monthly": {
"default": 0,
"description": "Monthly contribution in GBP (default 0)",
"minimum": 0,
"type": "number"
},
"principal": {
"default": 0,
"description": "Starting deposit in GBP (default 0)",
"minimum": 0,
"type": "number"
},
"rate": {
"description": "Annual interest rate as a percentage",
"minimum": 0,
"type": "number"
},
"years": {
"description": "Term in years (1 to 100)",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
}
},
"required": [
"rate",
"years"
],
"type": "object"
},
"name": "hopi_compound_interest_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"finalBalance": {
"type": "number"
},
"interestEarned": {
"type": "number"
},
"monthly": {
"type": "number"
},
"months": {
"type": "number"
},
"principal": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalPaidIn": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"finalBalance",
"interestEarned",
"monthly",
"months",
"principal",
"rate",
"source_url",
"summary",
"totalPaidIn",
"years"
],
"type": "object"
}
},
{
"description": "Work out the WCAG contrast ratio between a foreground (text) colour and a background colour, both as hex codes, and report whether it passes AA and AAA for normal and large text. Source: https://hopi.co.uk/contrast-checker/",
"inputSchema": {
"properties": {
"background": {
"description": "Background colour as a six-digit hex code, e.g. #FFFFFF",
"pattern": "^#?[0-9a-fA-F]{6}$",
"type": "string"
},
"foreground": {
"description": "Text colour as a six-digit hex code, e.g. #767676",
"pattern": "^#?[0-9a-fA-F]{6}$",
"type": "string"
}
},
"required": [
"foreground",
"background"
],
"type": "object"
},
"name": "hopi_contrast_checker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"aaLarge": {
"type": "boolean"
},
"aaNormal": {
"type": "boolean"
},
"aaaLarge": {
"type": "boolean"
},
"aaaNormal": {
"type": "boolean"
},
"background": {
"type": "string"
},
"foreground": {
"type": "string"
},
"ratio": {
"type": "number"
},
"ratioString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"verdict": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Translate a standard five-field cron expression (minute, hour, day-of-month, month, day-of-week) into plain English. Understands stars, steps, ranges, lists and month and day names, plus shortcuts like @daily and @hourly. Source: https://hopi.co.uk/cron-expression-parser/",
"inputSchema": {
"properties": {
"expression": {
"description": "A five-field cron expression, for example '*/5 9-17 * * MON-FRI', or a shortcut like @daily",
"minLength": 1,
"type": "string"
}
},
"required": [
"expression"
],
"type": "object"
},
"name": "hopi_cron_expression_parser",
"outputSchema": {
"additionalProperties": true,
"properties": {
"dayOfMonth": {
"type": "string"
},
"dayOfWeek": {
"type": "string"
},
"english": {
"type": "string"
},
"expression": {
"type": "string"
},
"hour": {
"type": "string"
},
"minute": {
"type": "string"
},
"month": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"dayOfMonth",
"dayOfWeek",
"english",
"expression",
"hour",
"minute",
"month",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out profit or loss on a crypto trade from buy price, quantity and an optional per-side fee percentage. Returns breakeven price always, and profit, return percentage and total fees once a sell price is given. All figures are treated as GBP. Source: https://hopi.co.uk/crypto-profit-calculator/",
"inputSchema": {
"properties": {
"buy": {
"description": "Buy price per unit",
"exclusiveMinimum": 0,
"type": "number"
},
"fee": {
"default": 0,
"description": "Fee percentage charged on each side (default 0, must be 0 to under 100)",
"exclusiveMaximum": 100,
"minimum": 0,
"type": "number"
},
"quantity": {
"description": "Quantity of coin traded",
"exclusiveMinimum": 0,
"type": "number"
},
"sell": {
"description": "Sell price per unit (optional; omit to see breakeven only)",
"minimum": 0,
"type": "number"
}
},
"required": [
"buy",
"quantity"
],
"type": "object"
},
"name": "hopi_crypto_profit_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"breakeven": {
"type": "number"
},
"breakevenString": {
"type": "string"
},
"profit": {
"type": "number"
},
"profitString": {
"type": "string"
},
"returnPercent": {
"type": "number"
},
"returnPercentString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalFees": {
"type": "number"
},
"totalFeesString": {
"type": "string"
}
},
"required": [
"breakeven",
"breakevenString",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Build a ready-to-use CSS gradient from two colours. Choose a linear gradient with an angle in degrees, or a radial gradient. Returns the gradient value and a full background declaration. Source: https://hopi.co.uk/css-gradient-generator/",
"inputSchema": {
"properties": {
"angle": {
"default": 90,
"description": "Angle in degrees for a linear gradient (default 90)",
"maximum": 360,
"minimum": 0,
"type": "number"
},
"colour1": {
"description": "First colour, e.g. #FF512F",
"type": "string"
},
"colour2": {
"description": "Second colour, e.g. #DD2476",
"type": "string"
},
"type": {
"default": "linear",
"description": "Gradient type (default linear)",
"enum": [
"linear",
"radial"
],
"type": "string"
}
},
"required": [
"colour1",
"colour2"
],
"type": "object"
},
"name": "hopi_css_gradient_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"angle": {
"type": [
"number",
"null"
]
},
"css": {
"type": "string"
},
"gradient": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"angle",
"css",
"gradient",
"source_url",
"summary",
"type"
],
"type": "object"
}
},
{
"description": "Minify CSS by removing comments and needless whitespace, while preserving quoted strings and the spaces inside calc() expressions. Returns the minified CSS with before and after byte sizes. Source: https://hopi.co.uk/css-minifier/",
"inputSchema": {
"properties": {
"css": {
"description": "The CSS source to minify",
"minLength": 1,
"type": "string"
}
},
"required": [
"css"
],
"type": "object"
},
"name": "hopi_css_minifier",
"outputSchema": {
"additionalProperties": true,
"properties": {
"afterBytes": {
"type": "number"
},
"beforeBytes": {
"type": "number"
},
"css": {
"type": "string"
},
"savedBytes": {
"type": "number"
},
"savedPercent": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert CSV text into a JSON array, following standard CSV quoting rules for embedded commas, quotes and line breaks. With headers on, the first row becomes object keys; with headers off, each row is an array of strings. Source: https://hopi.co.uk/csv-to-json/",
"inputSchema": {
"properties": {
"csv": {
"description": "The CSV text to convert",
"minLength": 1,
"type": "string"
},
"firstRowHeaders": {
"default": true,
"description": "When true, the first row supplies the object keys; when false, every row becomes a plain array of strings (default true)",
"type": "boolean"
}
},
"required": [
"csv"
],
"type": "object"
},
"name": "hopi_csv_to_json",
"outputSchema": {
"additionalProperties": true,
"properties": {
"data": {
"type": "array"
},
"firstRowHeaders": {
"type": "boolean"
},
"json": {
"type": "string"
},
"rows": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert US cups of a common baking ingredient to grams (approximate). Ingredients: flour (plain flour), caster (caster sugar), brown (packed brown sugar), butter, cocoa (cocoa powder), oats, rice (uncooked rice), icing (icing sugar). Source: https://hopi.co.uk/cups-to-grams/",
"inputSchema": {
"properties": {
"cups": {
"description": "Number of US cups",
"minimum": 0,
"type": "number"
},
"ingredient": {
"description": "The ingredient",
"enum": [
"flour",
"caster",
"brown",
"butter",
"cocoa",
"oats",
"rice",
"icing"
],
"type": "string"
}
},
"required": [
"cups",
"ingredient"
],
"type": "object"
},
"name": "hopi_cups_to_grams",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cups": {
"type": "number"
},
"grams": {
"type": "number"
},
"gramsPerCup": {
"type": "number"
},
"ingredient": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert an amount of money from one currency to another using Hopi's live mid-market exchange rates (updated hourly, 150+ currencies). Use ISO 4217 codes such as GBP, EUR, USD, JPY. Source: https://hopi.co.uk/currency-converter/",
"inputSchema": {
"properties": {
"amount": {
"description": "The amount to convert",
"type": "number"
},
"from": {
"description": "Currency to convert from, ISO 4217 code e.g. GBP",
"maxLength": 3,
"minLength": 3,
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"to": {
"description": "Currency to convert to, ISO 4217 code e.g. EUR",
"maxLength": 3,
"minLength": 3,
"pattern": "^[A-Za-z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"from",
"to"
],
"type": "object"
},
"name": "hopi_currency_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amount": {
"type": "number"
},
"asOfUnix": {
"type": [
"number",
"null"
]
},
"complete": {
"type": "boolean"
},
"from": {
"type": "string"
},
"rate": {
"type": "number"
},
"rateAgeHours": {},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"warnings": {
"type": "array"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a digital storage size between units. Units: B (bytes), KB, MB, GB, TB. By default 1 KB = 1000 bytes (decimal, as storage is sold). Set binary to true for 1 KB = 1024 bytes (as Windows reports drive sizes). Source: https://hopi.co.uk/data-size-converter/",
"inputSchema": {
"properties": {
"binary": {
"default": false,
"description": "Use binary units (1 KB = 1024 bytes) instead of decimal (default false)",
"type": "boolean"
},
"from": {
"description": "Unit to convert from",
"enum": [
"B",
"KB",
"MB",
"GB",
"TB"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"B",
"KB",
"MB",
"GB",
"TB"
],
"type": "string"
},
"value": {
"description": "The size value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_data_size_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"binary": {
"type": "boolean"
},
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"binary",
"from",
"result",
"source_url",
"summary",
"to",
"value"
],
"type": "object"
}
},
{
"description": "Add or subtract a number of days, weeks, months or years from a date. Dates use the YYYY-MM-DD format. Months and years are clamped to the last day of the target month where needed. Returns the resulting date. Source: https://hopi.co.uk/date-calculator/",
"inputSchema": {
"properties": {
"amount": {
"description": "How many units to move (0 to 100000)",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "Start date in YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"direction": {
"default": "add",
"description": "'add' to move forwards, 'subtract' to move backwards (default 'add')",
"enum": [
"add",
"subtract"
],
"type": "string"
},
"unit": {
"default": "days",
"description": "Unit to move by (default 'days')",
"enum": [
"days",
"weeks",
"months",
"years"
],
"type": "string"
}
},
"required": [
"date",
"amount"
],
"type": "object"
},
"name": "hopi_date_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amount": {
"type": "number"
},
"date": {
"type": "string"
},
"direction": {
"type": "string"
},
"result": {
"type": "string"
},
"resultLong": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"unit": {
"type": "string"
},
"weekday": {
"type": "string"
}
},
"required": [
"amount",
"date",
"direction",
"result",
"resultLong",
"source_url",
"summary",
"unit",
"weekday"
],
"type": "object"
}
},
{
"description": "Find which day of the week a given date falls on. Dates use the YYYY-MM-DD format. Also reports which weekday that same day and month falls on in the current year. Source: https://hopi.co.uk/day-of-week-calculator/",
"inputSchema": {
"properties": {
"date": {
"description": "The date in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"date"
],
"type": "object"
},
"name": "hopi_day_of_week_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"date": {
"type": "string"
},
"fullDate": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"thisYearWeekday": {
"type": "string"
},
"weekday": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between a contractor day rate and an annual salary equivalent using a chosen number of billable working days per year (default 220). Mode 'to_salary' turns a day rate into yearly, monthly and weekly figures; mode 'to_rate' turns a salary into a day rate. Gross amounts in GBP, before tax. Source: https://hopi.co.uk/day-rate-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "to_salary"
}
}
},
"then": {
"required": [
"dayRate"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "to_rate"
}
}
},
"then": {
"required": [
"salary"
]
}
}
],
"properties": {
"dayRate": {
"description": "Day rate in GBP (required for to_salary)",
"maximum": 1000000,
"minimum": 0,
"type": "number"
},
"mode": {
"description": "'to_salary' from a day rate, or 'to_rate' from a salary",
"enum": [
"to_salary",
"to_rate"
],
"type": "string"
},
"salary": {
"description": "Annual salary in GBP (required for to_rate)",
"maximum": 100000000,
"minimum": 0,
"type": "number"
},
"workingDays": {
"default": 220,
"description": "Billable working days per year, 1 to 365 (default 220)",
"maximum": 365,
"minimum": 1,
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_day_rate_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"annual": {
"type": "number"
},
"dayRate": {
"type": "number"
},
"mode": {
"type": "string"
},
"monthly": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"weekly": {
"type": "number"
},
"workingDays": {
"type": "number"
}
},
"required": [
"dayRate",
"mode",
"source_url",
"summary",
"weekly",
"workingDays"
],
"type": "object"
}
},
{
"description": "Count the number of days between two dates, with the total also shown in weeks and in weekdays (Monday to Friday). Dates use the YYYY-MM-DD format. Set inclusive to true to count both end days. Source: https://hopi.co.uk/days-between-dates/",
"inputSchema": {
"properties": {
"from": {
"description": "Start date in YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"inclusive": {
"default": false,
"description": "Count both end days rather than excluding the end day (default false)",
"type": "boolean"
},
"to": {
"description": "End date in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"name": "hopi_days_between_dates",
"outputSchema": {
"additionalProperties": true,
"properties": {
"days": {
"type": "number"
},
"from": {
"type": "string"
},
"inclusive": {
"type": "boolean"
},
"remainderDays": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"swapped": {
"type": "boolean"
},
"to": {
"type": "string"
},
"weekdays": {
"type": "number"
},
"weeks": {
"type": "number"
}
},
"required": [
"days",
"from",
"inclusive",
"remainderDays",
"source_url",
"summary",
"swapped",
"to",
"weekdays",
"weeks"
],
"type": "object"
}
},
{
"description": "Count the number of sleeps until the next Christmas Day (25 December). Uses today's date by default, or an optional 'from' date in YYYY-MM-DD format. Source: https://hopi.co.uk/days-until-christmas/",
"inputSchema": {
"properties": {
"from": {
"description": "Optional date to count from, in YYYY-MM-DD format (defaults to today)",
"format": "date",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_days_until_christmas",
"outputSchema": {
"additionalProperties": true,
"properties": {
"christmasDate": {
"type": "string"
},
"christmasWeekday": {
"type": "string"
},
"isChristmasDay": {
"type": "boolean"
},
"sleeps": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the average cost basis across a series of pound-cost-averaged buys. Each buy is an amount of money spent and the price paid per unit. Returns total invested, coins acquired and average cost, plus current value and unrealised profit or loss if a current price is given. Figures are treated as GBP. Source: https://hopi.co.uk/dca-calculator/",
"inputSchema": {
"properties": {
"buys": {
"description": "The list of buys",
"items": {
"properties": {
"amount": {
"description": "Money spent on this buy",
"exclusiveMinimum": 0,
"type": "number"
},
"price": {
"description": "Price paid per unit on this buy",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"amount",
"price"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"currentPrice": {
"description": "Current price per unit (optional), to value the position now",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"buys"
],
"type": "object"
},
"name": "hopi_dca_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"averageCost": {
"type": "number"
},
"averageCostString": {
"type": "string"
},
"buys": {
"type": "number"
},
"coinsAcquired": {
"type": "number"
},
"coinsAcquiredString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalInvested": {
"type": "number"
},
"totalInvestedString": {
"type": "string"
}
},
"required": [
"averageCost",
"averageCostString",
"buys",
"coinsAcquired",
"coinsAcquiredString",
"source_url",
"summary",
"totalInvested",
"totalInvestedString"
],
"type": "object"
}
},
{
"description": "Roll one or more dice with a given number of sides. Returns each die result plus the total, highest and lowest. Source: https://hopi.co.uk/dice-roller/",
"inputSchema": {
"properties": {
"quantity": {
"default": 1,
"description": "How many dice to roll, 1 to 20 (default 1)",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"sides": {
"default": 6,
"description": "Number of sides on each die (default 6)",
"minimum": 2,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_dice_roller",
"outputSchema": {
"additionalProperties": true,
"properties": {
"highest": {
"type": "number"
},
"lowest": {
"type": "number"
},
"quantity": {
"type": "number"
},
"results": {
"type": "array"
},
"sides": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"total": {
"type": "number"
}
},
"required": [
"highest",
"lowest",
"quantity",
"results",
"sides",
"source_url",
"summary",
"total"
],
"type": "object"
}
},
{
"description": "Compare two texts line by line using a longest common subsequence diff, and report which lines were added and which were removed. An edited line shows as one removed line plus one added line. Comparison is exact, including spaces and case. Source: https://hopi.co.uk/diff-checker/",
"inputSchema": {
"properties": {
"a": {
"description": "The original (left) text",
"type": "string"
},
"b": {
"description": "The changed (right) text",
"type": "string"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"name": "hopi_diff_checker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"added": {
"type": "number"
},
"addedLines": {
"type": "array"
},
"diff": {
"type": "string"
},
"identical": {
"type": "boolean"
},
"removed": {
"type": "number"
},
"removedLines": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out a discount and sale price. Mode 'pct': a percentage off a price. Mode 'fixed': a fixed pound amount off a price. Mode 'find': the discount percentage from an original price and a final price. All money figures are in pounds. Source: https://hopi.co.uk/discount-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "pct"
}
}
},
"then": {
"properties": {
"price": {
"minimum": 0
}
},
"required": [
"percentOff"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "fixed"
}
}
},
"then": {
"properties": {
"price": {
"exclusiveMinimum": 0
}
},
"required": [
"amountOff"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "find"
}
}
},
"then": {
"properties": {
"price": {
"exclusiveMinimum": 0
}
},
"required": [
"finalPrice"
]
}
}
],
"properties": {
"amountOff": {
"description": "Fixed pound amount off (mode 'fixed' only)",
"type": "number"
},
"finalPrice": {
"description": "The final price paid (mode 'find' only)",
"type": "number"
},
"mode": {
"description": "'pct' percentage off, 'fixed' pound amount off, or 'find' the discount from two prices",
"enum": [
"pct",
"fixed",
"find"
],
"type": "string"
},
"percentOff": {
"description": "Discount percentage (mode 'pct' only)",
"type": "number"
},
"price": {
"description": "The original price (used in all modes)",
"type": "number"
}
},
"required": [
"mode",
"price"
],
"type": "object"
},
"name": "hopi_discount_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"effectiveDiscount": {
"type": "number"
},
"mode": {
"type": "string"
},
"percentOff": {
"type": "number"
},
"price": {
"type": "number"
},
"salePrice": {
"type": "number"
},
"saving": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"price",
"saving",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a dog's age in years to an approximate human age, using the standard veterinary chart. The later rate depends on the dog's size: small, medium or large. Returns the human-equivalent age. Source: https://hopi.co.uk/dog-age-calculator/",
"inputSchema": {
"properties": {
"dogAge": {
"description": "The dog's age in years (0 to 30)",
"maximum": 30,
"minimum": 0,
"type": "number"
},
"size": {
"default": "medium",
"description": "Dog size band (default 'medium')",
"enum": [
"small",
"medium",
"large"
],
"type": "string"
}
},
"required": [
"dogAge"
],
"type": "object"
},
"name": "hopi_dog_age_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"dogAge": {
"type": "number"
},
"humanYears": {
"type": "number"
},
"size": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate how long a download takes. Give a file size with its unit (MB, GB, TB) and a connection speed with its unit (Mbps or Gbps in bits per second, or MBps in bytes per second). Returns a human-readable duration and the time in seconds. Source: https://hopi.co.uk/download-time-calculator/",
"inputSchema": {
"properties": {
"size": {
"description": "File size value",
"minimum": 0,
"type": "number"
},
"sizeUnit": {
"description": "File size unit",
"enum": [
"MB",
"GB",
"TB"
],
"type": "string"
},
"speed": {
"description": "Connection speed value",
"exclusiveMinimum": 0,
"type": "number"
},
"speedUnit": {
"description": "Speed unit: Mbps/Gbps are bits per second, MBps is megabytes per second",
"enum": [
"Mbps",
"MBps",
"Gbps"
],
"type": "string"
}
},
"required": [
"size",
"sizeUnit",
"speed",
"speedUnit"
],
"type": "object"
},
"name": "hopi_download_time_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"duration": {
"type": "string"
},
"megabytesPerSecond": {
"type": "number"
},
"seconds": {
"type": "number"
},
"size": {
"type": "number"
},
"sizeUnit": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"speed": {
"type": "number"
},
"speedUnit": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate a pregnancy due date from the first day of the last menstrual period (LMP) and cycle length. Method: adjust the LMP by (cycle - 28) days, then add 280 days for the due date. Also returns the dates the second and third trimesters begin (LMP-adjusted + 84 and + 182 days). Dates are ISO 'YYYY-MM-DD'. Source: https://hopi.co.uk/due-date-calculator/",
"inputSchema": {
"properties": {
"cycleLength": {
"default": 28,
"description": "Cycle length in days, 20 to 45 (default 28)",
"maximum": 45,
"minimum": 20,
"type": "integer"
},
"lmp": {
"description": "First day of the last menstrual period, ISO date 'YYYY-MM-DD'",
"format": "date",
"type": "string"
}
},
"required": [
"lmp"
],
"type": "object"
},
"name": "hopi_due_date_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cycleLength": {
"type": "number"
},
"dueDate": {
"type": "string"
},
"lmp": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"trimester2Starts": {
"type": "string"
},
"trimester3Starts": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate fake but safe UK test records. Phone numbers come from Ofcom's reserved drama ranges and emails use RFC 2606 example domains, so no record can reach a real person. Returns an array of records, plus CSV text. Source: https://hopi.co.uk/dummy-data-generator/",
"inputSchema": {
"properties": {
"count": {
"description": "How many records to generate, from 1 to 1000",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"fields": {
"description": "Which fields to include (default all). Choose from firstName, lastName, fullName, email, ukMobile, ukLandline, streetAddress, town, postcode, dateOfBirth, company",
"items": {
"enum": [
"firstName",
"lastName",
"fullName",
"email",
"ukMobile",
"ukLandline",
"streetAddress",
"town",
"postcode",
"dateOfBirth",
"company"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"count"
],
"type": "object"
},
"name": "hopi_dummy_data_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"csv": {
"type": "string"
},
"fields": {
"type": "array"
},
"rows": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Build a correctly percent-encoded mailto link from to, cc, bcc, subject and body fields, plus a ready to paste HTML anchor snippet. Spaces are encoded as %20 and line breaks as %0D%0A, as the mailto standard expects. Source: https://hopi.co.uk/email-link-generator/",
"inputSchema": {
"properties": {
"bcc": {
"description": "Optional bcc addresses, separated by commas or semicolons",
"type": "string"
},
"body": {
"description": "Optional body text; line breaks are preserved",
"type": "string"
},
"cc": {
"description": "Optional cc addresses, separated by commas or semicolons",
"type": "string"
},
"linkText": {
"default": "Email us",
"description": "Optional visible text for the HTML anchor (default 'Email us')",
"type": "string"
},
"subject": {
"description": "Optional subject line",
"type": "string"
},
"to": {
"description": "One or more recipient addresses, separated by commas or semicolons",
"minLength": 1,
"type": "string"
}
},
"required": [
"to"
],
"type": "object"
},
"name": "hopi_email_link_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"html": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"url": {
"type": "string"
},
"warning": {
"type": [
"string",
"null"
]
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Remove emoji from a block of text, leaving the words and normal punctuation intact. Joined emoji sequences (such as a family or a flag) count as a single emoji. The copyright, registered and trademark symbols are kept. Returns the cleaned text and how many emoji were removed. Source: https://hopi.co.uk/emoji-remover/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to clean",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_emoji_remover",
"outputSchema": {
"additionalProperties": true,
"properties": {
"removed": {
"type": "number"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the running cost of an electrical appliance from its power in watts, hours used per day and your electricity unit price in pence per kWh. Returns daily, weekly, monthly and yearly cost plus kWh used. Costs in GBP. Source: https://hopi.co.uk/energy-cost-calculator/",
"inputSchema": {
"properties": {
"hoursPerDay": {
"description": "Hours used per day (0 to 24)",
"maximum": 24,
"minimum": 0,
"type": "number"
},
"pencePerKwh": {
"description": "Electricity unit price in pence per kWh",
"minimum": 0,
"type": "number"
},
"watts": {
"description": "Appliance power draw in watts (0 to 100000)",
"maximum": 100000,
"minimum": 0,
"type": "number"
}
},
"required": [
"watts",
"hoursPerDay",
"pencePerKwh"
],
"type": "object"
},
"name": "hopi_energy_cost_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"costPerDay": {
"type": "number"
},
"costPerMonth": {
"type": "number"
},
"costPerWeek": {
"type": "number"
},
"costPerYear": {
"type": "number"
},
"hoursPerDay": {
"type": "number"
},
"kwhPerDay": {
"type": "number"
},
"kwhPerYear": {
"type": "number"
},
"pencePerKwh": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"watts": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between a .env file and a JSON object. In env-to-json mode, each line is split on its first equals sign into a key and value, blank and commented lines are skipped, a leading export is removed, and matching surrounding quotes are stripped (double-quoted values also unescape \\n); duplicate keys keep the last value. In json-to-env mode, a JSON object becomes KEY=value lines, quoting values that contain spaces, a hash or a newline. Source: https://hopi.co.uk/env-to-json/",
"inputSchema": {
"properties": {
"mode": {
"default": "env-to-json",
"description": "'env-to-json' parses a .env file into JSON, 'json-to-env' turns a JSON object into .env lines (default env-to-json)",
"enum": [
"env-to-json",
"json-to-env"
],
"type": "string"
},
"text": {
"description": "The .env file text, or the JSON object text, depending on mode",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_env_to_json",
"outputSchema": {
"additionalProperties": true,
"properties": {
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"output",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Validate an Ethereum address's EIP-55 capitalisation checksum and return the correctly checksummed form. Reports whether the input is already checksummed, lacks a checksum (all one case), or fails the checksum. Uses keccak-256 exactly as EIP-55 specifies. Source: https://hopi.co.uk/eth-address-checksum/",
"inputSchema": {
"properties": {
"address": {
"description": "The Ethereum address, with or without a 0x prefix",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"name": "hopi_eth_address_checksum",
"outputSchema": {
"additionalProperties": true,
"properties": {
"checksummed": {
"type": "string"
},
"note": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"status": {
"type": "string"
},
"summary": {
"type": "string"
},
"valid": {
"type": "boolean"
}
},
"required": [
"source_url",
"summary",
"valid"
],
"type": "object"
}
},
{
"description": "Convert an amount given in wei, gwei or ETH into all three units, using exact 18-decimal integer maths (no floating point error). 1 ETH is 1e18 wei; 1 gwei is 1e9 wei. Source: https://hopi.co.uk/eth-unit-converter/",
"inputSchema": {
"properties": {
"amount": {
"description": "The amount to convert, as a plain number (string preferred to keep full precision), e.g. \"1.5\"",
"type": "string"
},
"unit": {
"description": "The unit the amount is given in",
"enum": [
"wei",
"gwei",
"eth"
],
"type": "string"
}
},
"required": [
"amount",
"unit"
],
"type": "object"
},
"name": "hopi_eth_unit_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"eth": {
"type": "string"
},
"ethPretty": {
"type": "string"
},
"gwei": {
"type": "string"
},
"gweiPretty": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"wei": {
"type": "string"
},
"weiPretty": {
"type": "string"
}
},
"required": [
"eth",
"ethPretty",
"gwei",
"gweiPretty",
"source_url",
"summary",
"wei",
"weiPretty"
],
"type": "object"
}
},
{
"description": "Generate random EuroMillions lines. Each line has 5 main numbers from 1 to 50 and 2 Lucky Stars from 1 to 12. Source: https://hopi.co.uk/euromillions-generator/",
"inputSchema": {
"properties": {
"lines": {
"default": 1,
"description": "How many lines to generate, 1 to 10 (default 1)",
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_euromillions_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"lines": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out how many bottles of red, white and Champagne to buy for an event, from the number of guests and glasses per guest. Ticking different wines splits a colour into one wine per glass, each poured once for every guest. Source: https://hopi.co.uk/event-wine-calculator/",
"inputSchema": {
"properties": {
"guests": {
"description": "Number of guests",
"type": "number"
},
"redDifferent": {
"description": "Serve a different red for each glass",
"type": "boolean"
},
"redGlasses": {
"description": "Glasses of red per guest",
"type": "number"
},
"redSize": {
"description": "Red glass size in ml: 125, 175 or 250",
"type": "number"
},
"sparklingDifferent": {
"description": "Serve a different sparkling for each glass",
"type": "boolean"
},
"sparklingGlasses": {
"description": "Glasses of Champagne or sparkling per guest",
"type": "number"
},
"sparklingSize": {
"description": "Sparkling glass size in ml: 100, 125 or 150",
"type": "number"
},
"whiteDifferent": {
"description": "Serve a different white for each glass",
"type": "boolean"
},
"whiteGlasses": {
"description": "Glasses of white per guest",
"type": "number"
},
"whiteSize": {
"description": "White glass size in ml: 125, 175 or 250",
"type": "number"
}
},
"required": [
"guests"
],
"type": "object"
},
"name": "hopi_event_wine_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"breakdown": {
"type": "array"
},
"glassesPerGuest": {
"type": "number"
},
"guests": {
"type": "number"
},
"overageMl": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalBottles": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Crack open a virtual fortune cookie and receive a random cheerful fortune. Returns the fortune. Source: https://hopi.co.uk/fortune-cookie/",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "hopi_fortune_cookie",
"outputSchema": {
"additionalProperties": true,
"properties": {
"fortune": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Add, subtract, multiply or divide two fractions, giving the simplified result, a mixed number where relevant, and the decimal value. Each fraction is a numerator over a denominator, all whole numbers (numerators may be negative). Source: https://hopi.co.uk/fraction-calculator/",
"inputSchema": {
"properties": {
"d1": {
"description": "First denominator (not zero)",
"not": {
"const": 0
},
"type": "integer"
},
"d2": {
"description": "Second denominator (not zero)",
"not": {
"const": 0
},
"type": "integer"
},
"n1": {
"description": "First numerator",
"type": "integer"
},
"n2": {
"description": "Second numerator",
"type": "integer"
},
"op": {
"description": "Operation: add, sub (subtract), mul (multiply) or div (divide)",
"enum": [
"add",
"sub",
"mul",
"div"
],
"type": "string"
}
},
"required": [
"op",
"n1",
"d1",
"n2",
"d2"
],
"type": "object"
},
"name": "hopi_fraction_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"decimal": {
"type": "number"
},
"denominator": {
"type": "number"
},
"mixed": {
"type": [
"string",
"null"
]
},
"numerator": {
"type": "number"
},
"op": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"decimal",
"denominator",
"mixed",
"numerator",
"op",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between fractions and decimals. Mode 'toDecimal': give a numerator and denominator (whole numbers) to get the decimal and percentage. Mode 'toFraction': give a decimal to get the closest simplified fraction (denominator up to 10,000), noting whether it is exact. Source: https://hopi.co.uk/fraction-to-decimal/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "toDecimal"
}
}
},
"then": {
"required": [
"numerator",
"denominator"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "toFraction"
}
}
},
"then": {
"required": [
"decimal"
]
}
}
],
"properties": {
"decimal": {
"description": "The decimal to convert (mode 'toFraction')",
"type": "number"
},
"denominator": {
"description": "Denominator, not zero (mode 'toDecimal')",
"not": {
"const": 0
},
"type": "integer"
},
"mode": {
"description": "'toDecimal' from a fraction, or 'toFraction' from a decimal",
"enum": [
"toDecimal",
"toFraction"
],
"type": "string"
},
"numerator": {
"description": "Numerator (mode 'toDecimal')",
"type": "integer"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_fraction_to_decimal",
"outputSchema": {
"additionalProperties": true,
"properties": {
"decimal": {
"type": "number"
},
"denominator": {
"type": "number"
},
"exact": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"numerator": {
"type": "number"
},
"percentage": {
"type": "string"
},
"recurring": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"decimal",
"denominator",
"exact",
"mode",
"numerator",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate the fuel cost of a journey from the distance in miles, the car's fuel economy in miles per gallon (UK gallon) and the pump price in pence per litre. Optionally double it for a return trip and split between passengers. Returns total cost, litres used and cost per person. Costs in GBP. Source: https://hopi.co.uk/fuel-cost-calculator/",
"inputSchema": {
"properties": {
"miles": {
"description": "One-way distance in miles",
"minimum": 0,
"type": "number"
},
"mpg": {
"description": "Fuel economy in miles per UK gallon",
"exclusiveMinimum": 0,
"type": "number"
},
"pencePerLitre": {
"description": "Pump price in pence per litre",
"minimum": 0,
"type": "number"
},
"people": {
"default": 1,
"description": "Number of people to split the cost between (default 1)",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"returnTrip": {
"default": false,
"description": "Double the distance for a return journey (default false)",
"type": "boolean"
}
},
"required": [
"miles",
"mpg",
"pencePerLitre"
],
"type": "object"
},
"name": "hopi_fuel_cost_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"costPerPerson": {
"type": "number"
},
"gallons": {
"type": "number"
},
"litres": {
"type": "number"
},
"miles": {
"type": "number"
},
"mpg": {
"type": "number"
},
"pencePerLitre": {
"type": "number"
},
"people": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalCost": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Compute the SHA-256, SHA-1 or SHA-512 hash of a piece of text and return the hex digest. Uses WebCrypto on Hopi's server. SHA-1 is included for compatibility with older systems only and should not be used for anything new. Source: https://hopi.co.uk/hash-generator/",
"inputSchema": {
"properties": {
"algorithm": {
"default": "SHA-256",
"description": "Hash algorithm (default SHA-256)",
"enum": [
"SHA-256",
"SHA-1",
"SHA-512"
],
"type": "string"
},
"text": {
"description": "The text to hash",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_hash_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"algorithm": {
"type": "string"
},
"bits": {
"type": "number"
},
"hex": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Identify the most likely algorithms behind a hash string from its length, character set and any prefix. Covers MD5, NTLM, MD4, SHA-1, RIPEMD-160, SHA-224/256/384/512, the SHA3 family, CRC32, bcrypt, Argon2, sha512crypt, sha256crypt and md5crypt, plus Base64 length hints. A hash does not carry its algorithm, so results are ranked best guesses, not proof. Source: https://hopi.co.uk/hash-identifier/",
"inputSchema": {
"properties": {
"hash": {
"description": "The hash string to identify",
"minLength": 1,
"type": "string"
}
},
"required": [
"hash"
],
"type": "object"
},
"name": "hopi_hash_identifier",
"outputSchema": {
"additionalProperties": true,
"properties": {
"candidates": {
"type": "array"
},
"charset": {
"type": "string"
},
"length": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"candidates",
"charset",
"length",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate maximum heart rate and five training zones (bpm) from age. Max HR = 220 - age. Method 'max' uses percentages of max HR (50-60, 60-70, 70-80, 80-90, 90-100%). Method 'karvonen' uses heart rate reserve and needs restingHeartRate: zone = (maxHR - resting) x intensity + resting. Source: https://hopi.co.uk/heart-rate-zones/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"method": {
"const": "karvonen"
}
}
},
"then": {
"required": [
"restingHeartRate"
]
}
}
],
"properties": {
"age": {
"description": "Age in years",
"exclusiveMinimum": 0,
"maximum": 120,
"type": "number"
},
"method": {
"default": "max",
"description": "'max' (percentage of max HR) or 'karvonen' (heart rate reserve). Default 'max'",
"enum": [
"max",
"karvonen"
],
"type": "string"
},
"restingHeartRate": {
"description": "Resting heart rate in bpm, required for the Karvonen method",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"age"
],
"type": "object"
},
"name": "hopi_heart_rate_zones",
"outputSchema": {
"additionalProperties": true,
"properties": {
"age": {
"type": "number"
},
"maxHeartRate": {
"type": "number"
},
"method": {
"type": "string"
},
"restingHeartRate": {
"type": [
"number",
"null"
]
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"zones": {
"type": "array"
}
},
"required": [
"age",
"maxHeartRate",
"method",
"restingHeartRate",
"source_url",
"summary",
"zones"
],
"type": "object"
}
},
{
"description": "Convert a hex colour code (3, 6 or 8 digits, with or without a leading #) to its RGB and HSL values. Source: https://hopi.co.uk/hex-to-rgb/",
"inputSchema": {
"properties": {
"hex": {
"description": "Hex colour code, e.g. #D7263D or F0C",
"pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
"type": "string"
}
},
"required": [
"hex"
],
"type": "object"
},
"name": "hopi_hex_to_rgb",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hsl": {
"type": "array"
},
"hslString": {
"type": "string"
},
"rgb": {
"type": "array"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"hsl",
"hslString",
"rgb",
"rgbString",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out UK statutory paid holiday entitlement from the number of days worked per week, using 5.6 weeks a year capped at the statutory 28 days. Optionally scale to a part-year by the number of months worked. Returns entitlement in days and weeks. Source: https://hopi.co.uk/holiday-entitlement-calculator/",
"inputSchema": {
"properties": {
"daysPerWeek": {
"description": "Days worked per week (1 to 7)",
"exclusiveMinimum": 0,
"maximum": 7,
"type": "number"
},
"months": {
"default": 12,
"description": "Months of the year worked (1 to 12, default 12)",
"exclusiveMinimum": 0,
"maximum": 12,
"type": "number"
}
},
"required": [
"daysPerWeek"
],
"type": "object"
},
"name": "hopi_holiday_entitlement_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cappedAt28": {
"type": "boolean"
},
"daysPerWeek": {
"type": "number"
},
"entitlementDays": {
"type": "number"
},
"entitlementWeeks": {
"type": "number"
},
"months": {
"type": "number"
},
"partYear": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"cappedAt28",
"daysPerWeek",
"entitlementDays",
"entitlementWeeks",
"months",
"partYear",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between an hourly pay rate and an annual salary based on hours worked per week (52 weeks a year). Mode 'to_salary' turns an hourly rate into annual, monthly and weekly pay; mode 'to_hourly' turns a salary into an hourly rate. Gross amounts in GBP, before tax. Source: https://hopi.co.uk/hourly-to-salary/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "to_salary"
}
}
},
"then": {
"required": [
"hourlyRate"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "to_hourly"
}
}
},
"then": {
"required": [
"salary"
]
}
}
],
"properties": {
"hourlyRate": {
"description": "Hourly pay rate in GBP (required for to_salary)",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"hoursPerWeek": {
"description": "Hours worked per week (greater than 0, up to 168)",
"exclusiveMinimum": 0,
"maximum": 168,
"type": "number"
},
"mode": {
"description": "'to_salary' from an hourly rate, or 'to_hourly' from a salary",
"enum": [
"to_salary",
"to_hourly"
],
"type": "string"
},
"salary": {
"description": "Annual salary in GBP (required for to_hourly)",
"maximum": 10000000,
"minimum": 0,
"type": "number"
}
},
"required": [
"mode",
"hoursPerWeek"
],
"type": "object"
},
"name": "hopi_hourly_to_salary",
"outputSchema": {
"additionalProperties": true,
"properties": {
"annual": {
"type": "number"
},
"hourlyRate": {
"type": "number"
},
"hoursPerWeek": {
"type": "number"
},
"mode": {
"type": "string"
},
"monthly": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"weekly": {
"type": "number"
}
},
"required": [
"hourlyRate",
"hoursPerWeek",
"mode",
"source_url",
"summary",
"weekly"
],
"type": "object"
}
},
{
"description": "Work out the hours worked between a start time and an end time, minus an optional unpaid break. Times use 24-hour HH:MM format. Handles overnight shifts where the end time is earlier than the start. Returns the worked time as hours and minutes and as decimal hours. Source: https://hopi.co.uk/hours-calculator/",
"inputSchema": {
"properties": {
"breakMinutes": {
"default": 0,
"description": "Unpaid break in minutes (default 0)",
"minimum": 0,
"type": "number"
},
"end": {
"description": "End time in 24-hour HH:MM format, e.g. 17:30",
"format": "time",
"type": "string"
},
"start": {
"description": "Start time in 24-hour HH:MM format, e.g. 09:00",
"format": "time",
"type": "string"
}
},
"required": [
"start",
"end"
],
"type": "object"
},
"name": "hopi_hours_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"breakMinutes": {
"type": "number"
},
"decimalHours": {
"type": "number"
},
"end": {
"type": "string"
},
"grossMinutes": {
"type": "number"
},
"overnight": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"start": {
"type": "string"
},
"summary": {
"type": "string"
},
"worked": {
"type": "string"
},
"workedMinutes": {
"type": "number"
}
},
"required": [
"breakMinutes",
"decimalHours",
"end",
"grossMinutes",
"overnight",
"source_url",
"start",
"summary",
"worked",
"workedMinutes"
],
"type": "object"
}
},
{
"description": "Convert a hex colour code to hue, saturation and lightness (HSL), or convert HSL values to hex and RGB. Source: https://hopi.co.uk/hsl-converter/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "hex_to_hsl"
}
}
},
"then": {
"required": [
"hex"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "hsl_to_hex"
}
}
},
"then": {
"required": [
"h",
"s",
"l"
]
}
}
],
"properties": {
"h": {
"description": "Hue 0 to 360 (for hsl_to_hex)",
"maximum": 360,
"minimum": 0,
"type": "number"
},
"hex": {
"description": "Hex colour code, e.g. #1FE85C (for hex_to_hsl)",
"pattern": "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
"type": "string"
},
"l": {
"description": "Lightness 0 to 100 (for hsl_to_hex)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"mode": {
"description": "Direction of conversion",
"enum": [
"hex_to_hsl",
"hsl_to_hex"
],
"type": "string"
},
"s": {
"description": "Saturation 0 to 100 (for hsl_to_hex)",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_hsl_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "array"
},
"hslString": {
"type": "string"
},
"mode": {
"type": "string"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"hex",
"hslString",
"mode",
"rgbString",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Escape the five special HTML characters (& < > \" ') into entities so text is safe to place in HTML, or unescape named and numeric HTML entities back into plain characters. Source: https://hopi.co.uk/html-escape/",
"inputSchema": {
"properties": {
"mode": {
"description": "'escape' text to entities, or 'unescape' entities back to text",
"enum": [
"escape",
"unescape"
],
"type": "string"
},
"text": {
"description": "The text to escape, or the HTML with entities to unescape",
"type": "string"
}
},
"required": [
"text",
"mode"
],
"type": "object"
},
"name": "hopi_html_escape",
"outputSchema": {
"additionalProperties": true,
"properties": {
"input": {
"type": "string"
},
"mode": {
"type": "string"
},
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"input",
"mode",
"output",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Look up a standard HTTP status code by number and get its name, meaning and class (1xx to 5xx), or search all standard codes by a word in the number, name or description. Source: https://hopi.co.uk/http-status-codes/",
"inputSchema": {
"anyOf": [
{
"required": [
"code"
]
},
{
"required": [
"query"
]
}
],
"properties": {
"code": {
"description": "An HTTP status code to look up, for example 404",
"maximum": 599,
"minimum": 100,
"type": "integer"
},
"query": {
"description": "A word to search for across code numbers, names and descriptions",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_http_status_codes",
"outputSchema": {
"additionalProperties": true,
"properties": {
"class": {
"type": "string"
},
"className": {
"type": "string"
},
"code": {
"type": "number"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Validate an IBAN or generate a test IBAN. Pass 'iban' to check it: the tool normalises it (uppercase, no spaces), confirms the length matches the country's published length, and runs the mod-97 checksum (move the first four characters to the end, map letters to numbers A=10 to Z=35, valid when the number mod 97 is 1). Pass 'country' (a two-letter ISO code) to generate a structurally valid TEST IBAN with a random bank and account portion and correct check digits. Generated IBANs are test values only and are not tied to any real account. All processing is local; nothing is stored. Source: https://hopi.co.uk/iban-validator/",
"inputSchema": {
"properties": {
"country": {
"description": "A two-letter country code (e.g. GB, DE, FR) to generate a test IBAN for instead of validating",
"type": "string"
},
"iban": {
"description": "An IBAN to validate (spaces and case are ignored)",
"type": "string"
}
},
"type": "object"
},
"name": "hopi_iban_validator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"checksum_passes": {
"type": "boolean"
},
"country": {
"type": "string"
},
"country_code": {
"type": "string"
},
"expected_length": {
"type": "number"
},
"length": {
"type": "number"
},
"mode": {
"type": "string"
},
"normalised": {
"type": "string"
},
"reason": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"valid": {
"type": "boolean"
}
},
"required": [
"country",
"length",
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Build a .ics (iCalendar, RFC 5545) calendar file for a single event and return the file text. Give a title, startDate and endDate as 'YYYY-MM-DD'. For timed events give startTime and endTime as 'HH:MM' (24-hour, read in the caller's local time zone and stored as UTC); set allDay true for an all-day event instead. Location and description are optional. Returns the .ics text ready to save. Source: https://hopi.co.uk/ics-generator/",
"inputSchema": {
"properties": {
"allDay": {
"default": false,
"description": "True for an all-day event (no times). Default false",
"type": "boolean"
},
"description": {
"description": "Optional description",
"type": "string"
},
"endDate": {
"description": "End date, ISO 'YYYY-MM-DD'. Defaults to startDate",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"endTime": {
"description": "End time 'HH:MM' 24-hour, timed events only. Defaults to startTime",
"type": "string"
},
"location": {
"description": "Optional location",
"type": "string"
},
"startDate": {
"description": "Start date, ISO 'YYYY-MM-DD'",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"startTime": {
"default": "00:00",
"description": "Start time 'HH:MM' 24-hour, timed events only. Default '00:00'",
"type": "string"
},
"title": {
"description": "Event title (SUMMARY)",
"minLength": 1,
"type": "string"
}
},
"required": [
"title",
"startDate"
],
"type": "object"
},
"name": "hopi_ics_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"allDay": {
"type": "boolean"
},
"bytes": {
"type": "number"
},
"filename": {
"type": "string"
},
"ics": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"allDay",
"bytes",
"filename",
"ics",
"source_url",
"summary",
"title"
],
"type": "object"
}
},
{
"description": "Adjust a money amount for UK inflation. Mode 'cpi' uses the ONS monthly CPI index (2015 = 100) between two months from January 1988 to August 2026 and returns the adjusted value, total change and average annual rate. Mode 'custom' compounds a chosen annual rate over a number of years. Amounts in GBP. Source: https://hopi.co.uk/inflation-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "cpi"
}
}
},
"then": {
"required": [
"fromMonth",
"fromYear"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "custom"
}
}
},
"then": {
"required": [
"ratePercent",
"years"
]
}
}
],
"properties": {
"amount": {
"description": "The money amount to adjust",
"minimum": 0,
"type": "number"
},
"fromMonth": {
"description": "CPI mode: starting month (1 to 12)",
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"fromYear": {
"description": "CPI mode: starting year (1988 to 2026)",
"maximum": 2026,
"minimum": 1988,
"type": "integer"
},
"mode": {
"description": "'cpi' uses the ONS CPI index between two months; 'custom' uses your own rate",
"enum": [
"cpi",
"custom"
],
"type": "string"
},
"ratePercent": {
"description": "Custom mode: annual inflation rate as a percentage (-50 to 100)",
"maximum": 100,
"minimum": -50,
"type": "number"
},
"toMonth": {
"default": 8,
"description": "CPI mode: ending month (1 to 12, default is the latest month)",
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"toYear": {
"default": 2026,
"description": "CPI mode: ending year (default is the latest year)",
"maximum": 2026,
"minimum": 1988,
"type": "integer"
},
"years": {
"description": "Custom mode: number of years (0 to 200)",
"maximum": 200,
"minimum": 0,
"type": "number"
}
},
"required": [
"mode",
"amount"
],
"type": "object"
},
"name": "hopi_inflation_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"adjustedValue": {
"type": "number"
},
"amount": {
"type": "number"
},
"mode": {
"type": "string"
},
"ratePercent": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalChangePercent": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"adjustedValue",
"amount",
"mode",
"source_url",
"summary",
"totalChangePercent"
],
"type": "object"
}
},
{
"description": "Pretty print, minify or validate JSON. Formatting and minifying only change whitespace; key order, values and structure stay exactly as they were. Returns the output text or a clear parse error. Source: https://hopi.co.uk/json-formatter/",
"inputSchema": {
"properties": {
"indent": {
"default": 2,
"description": "Number of spaces per indent level when formatting (default 2)",
"minimum": 0,
"type": "integer"
},
"json": {
"description": "The JSON text to process",
"minLength": 1,
"type": "string"
},
"mode": {
"default": "format",
"description": "'format' to pretty print, 'minify' to strip whitespace, 'validate' to only check validity (default format)",
"enum": [
"format",
"minify",
"validate"
],
"type": "string"
}
},
"required": [
"json"
],
"type": "object"
},
"name": "hopi_json_formatter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"valid": {
"type": "boolean"
}
},
"required": [
"mode",
"output",
"source_url",
"summary",
"valid"
],
"type": "object"
}
},
{
"description": "Convert a JSON array of objects into CSV. The union of all keys becomes the header row in first-seen order, missing keys become empty cells, and nested objects or arrays are written back as compact JSON in the cell. Output follows RFC 4180 quoting. Source: https://hopi.co.uk/json-to-csv/",
"inputSchema": {
"properties": {
"json": {
"description": "A JSON array of objects to convert",
"minLength": 1,
"type": "string"
}
},
"required": [
"json"
],
"type": "object"
},
"name": "hopi_json_to_csv",
"outputSchema": {
"additionalProperties": true,
"properties": {
"columns": {
"type": "number"
},
"csv": {
"type": "string"
},
"headers": {
"type": "array"
},
"rows": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a JSON sample into TypeScript interfaces and types. Objects become named interfaces (PascalCase from their key), nested objects get their own interfaces, arrays become element-type arrays with keys merged across all elements (keys missing from some elements are marked optional), and null values are folded into unions such as string | null. Empty arrays become unknown[] and empty objects become Record<string, unknown>. Runs on Hopi's server; nothing is stored. Source: https://hopi.co.uk/json-to-typescript/",
"inputSchema": {
"properties": {
"json": {
"description": "A JSON sample to convert. It may be an object, an array or a primitive value.",
"type": "string"
},
"rootName": {
"default": "Root",
"description": "Name for the root interface or type alias (default Root).",
"type": "string"
}
},
"required": [
"json"
],
"type": "object"
},
"name": "hopi_json_to_typescript",
"outputSchema": {
"additionalProperties": true,
"properties": {
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"typescript": {
"type": "string"
}
},
"required": [
"source_url",
"summary",
"typescript"
],
"type": "object"
}
},
{
"description": "Convert data between JSON and YAML in both directions. JSON to YAML parses with JSON.parse and serialises with js-yaml at two-space indent; YAML to JSON parses with js-yaml and prints with JSON.stringify. Runs on Hopi's server; nothing is stored. Source: https://hopi.co.uk/json-yaml-converter/",
"inputSchema": {
"properties": {
"mode": {
"default": "json-to-yaml",
"description": "Direction of conversion (default json-to-yaml)",
"enum": [
"json-to-yaml",
"yaml-to-json"
],
"type": "string"
},
"text": {
"description": "The JSON or YAML text to convert",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_json_yaml_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Decode a JSON Web Token's header and payload from base64url. The signature is never verified, so a decoded claim proves nothing on its own. Reports the algorithm, the exp, iat and nbf time claims, and whether the token is expired. A leading Bearer prefix and whitespace are handled. Source: https://hopi.co.uk/jwt-decoder/",
"inputSchema": {
"properties": {
"token": {
"description": "The JWT to decode, optionally with a leading 'Bearer ' prefix",
"minLength": 1,
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
},
"name": "hopi_jwt_decoder",
"outputSchema": {
"additionalProperties": true,
"properties": {
"algorithm": {
"type": "string"
},
"exp": {
"type": [
"number",
"null"
]
},
"header": {
"type": "object"
},
"iat": {
"type": "object"
},
"nbf": {
"type": [
"number",
"null"
]
},
"payload": {
"type": "object"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"status": {
"type": "string"
},
"statusNote": {
"type": "string"
},
"summary": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a weight in kilograms to UK stone and pounds. Returns whole stone plus remaining pounds, and the totals in pounds and decimal stone. Source: https://hopi.co.uk/kg-to-stone/",
"inputSchema": {
"properties": {
"kilograms": {
"description": "Weight in kilograms",
"minimum": 0,
"type": "number"
}
},
"required": [
"kilograms"
],
"type": "object"
},
"name": "hopi_kg_to_stone",
"outputSchema": {
"additionalProperties": true,
"properties": {
"kilograms": {
"type": "number"
},
"pounds": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"stone": {
"type": "number"
},
"summary": {
"type": "string"
},
"totalPounds": {
"type": "number"
},
"totalStone": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Check whether a year is a leap year, applying the divisible-by-4, century, and divisible-by-400 rules. Returns the verdict, the divisibility tests, and the next and previous leap years. Source: https://hopi.co.uk/leap-year-checker/",
"inputSchema": {
"properties": {
"year": {
"description": "The year to check (1 to 9999)",
"maximum": 9999,
"minimum": 1,
"type": "integer"
}
},
"required": [
"year"
],
"type": "object"
},
"name": "hopi_leap_year_checker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"divisibleBy100": {
"type": "boolean"
},
"divisibleBy4": {
"type": "boolean"
},
"divisibleBy400": {
"type": "boolean"
},
"isLeapYear": {
"type": "boolean"
},
"nextLeapYear": {
"type": "number"
},
"previousLeapYear": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"year": {
"type": "number"
}
},
"required": [
"divisibleBy100",
"divisibleBy4",
"divisibleBy400",
"isLeapYear",
"nextLeapYear",
"previousLeapYear",
"source_url",
"summary",
"year"
],
"type": "object"
}
},
{
"description": "Convert a length from one unit to another. Units: mm, cm, m, km, in (inches), ft (feet), yd (yards), mi (miles). Source: https://hopi.co.uk/length-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"mm",
"cm",
"m",
"km",
"in",
"ft",
"yd",
"mi"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"mm",
"cm",
"m",
"km",
"in",
"ft",
"yd",
"mi"
],
"type": "string"
},
"value": {
"description": "The length value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_length_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"from",
"result",
"source_url",
"summary",
"to",
"value"
],
"type": "object"
}
},
{
"description": "Convert between litres and pints. Direction 'litres-to-pints' takes litres and returns UK pints, US pints and millilitres. Direction 'pints-to-litres' takes UK pints and returns litres. Source: https://hopi.co.uk/litres-to-pints/",
"inputSchema": {
"properties": {
"direction": {
"description": "Which way to convert",
"enum": [
"litres-to-pints",
"pints-to-litres"
],
"type": "string"
},
"value": {
"description": "The value to convert (litres or UK pints depending on direction)",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"direction"
],
"type": "object"
},
"name": "hopi_litres_to_pints",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"litres": {
"type": "number"
},
"millilitres": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"ukPints": {
"type": "number"
},
"usPints": {
"type": "number"
}
},
"required": [
"direction",
"litres",
"source_url",
"summary",
"ukPints"
],
"type": "object"
}
},
{
"description": "Work out the monthly repayment on a loan from the amount borrowed, the annual interest rate and the term in years, using the standard amortising formula. Returns the monthly payment, total repaid and total interest. Amounts in GBP. Source: https://hopi.co.uk/loan-calculator/",
"inputSchema": {
"properties": {
"amount": {
"description": "Amount borrowed in GBP (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Annual interest rate (APR) as a percentage (0 to 100)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"years": {
"description": "Loan term in years (greater than 0, up to 30)",
"exclusiveMinimum": 0,
"maximum": 30,
"type": "number"
}
},
"required": [
"amount",
"rate",
"years"
],
"type": "object"
},
"name": "hopi_loan_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amount": {
"type": "number"
},
"monthlyPayment": {
"type": "number"
},
"months": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalInterest": {
"type": "number"
},
"totalRepaid": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"amount",
"monthlyPayment",
"months",
"rate",
"source_url",
"summary",
"totalInterest",
"totalRepaid",
"years"
],
"type": "object"
}
},
{
"description": "Generate lorem ipsum placeholder text. Choose whether the count is a number of paragraphs, sentences or words, and how many. Limits are 100 paragraphs, 500 sentences or 2000 words. Source: https://hopi.co.uk/lorem-ipsum-generator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "paragraphs"
}
}
},
"then": {
"properties": {
"count": {
"maximum": 100
}
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "sentences"
}
}
},
"then": {
"properties": {
"count": {
"maximum": 500
}
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "words"
}
}
},
"then": {
"properties": {
"count": {
"maximum": 2000
}
}
}
}
],
"properties": {
"count": {
"description": "How many paragraphs, sentences or words to produce",
"minimum": 1,
"type": "integer"
},
"mode": {
"default": "paragraphs",
"description": "What the count refers to (default paragraphs)",
"enum": [
"paragraphs",
"sentences",
"words"
],
"type": "string"
}
},
"required": [
"count"
],
"type": "object"
},
"name": "hopi_lorem_ipsum_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"count",
"mode",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate random lines for a UK lottery game: Lotto (6 numbers from 1 to 59), Thunderball (5 from 1 to 39 plus a Thunderball from 1 to 14) or Set For Life (5 from 1 to 47 plus a Life Ball from 1 to 10). Source: https://hopi.co.uk/lottery-number-generator/",
"inputSchema": {
"properties": {
"game": {
"default": "lotto",
"description": "Which game to play (default lotto)",
"enum": [
"lotto",
"thunderball",
"setforlife"
],
"type": "string"
},
"lines": {
"default": 1,
"description": "How many lines to generate, 1 to 10 (default 1)",
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_lottery_number_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"game": {
"type": "string"
},
"lines": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"game",
"lines",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Ask the Magic 8 Ball a yes or no question and receive one of its twenty classic answers at random. Returns the answer. Source: https://hopi.co.uk/magic-8-ball/",
"inputSchema": {
"properties": {
"question": {
"description": "The yes or no question to ask (optional)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_magic_8_ball",
"outputSchema": {
"additionalProperties": true,
"properties": {
"answer": {
"type": "string"
},
"question": {
"type": [
"string",
"null"
]
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"answer",
"question",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out profit, gross margin and markup from a cost price and a selling price. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. Amounts in GBP. Source: https://hopi.co.uk/margin-calculator/",
"inputSchema": {
"properties": {
"cost": {
"description": "Cost price in GBP",
"maximum": 1000000000,
"minimum": 0,
"type": "number"
},
"price": {
"description": "Selling price in GBP",
"maximum": 1000000000,
"minimum": 0,
"type": "number"
}
},
"required": [
"cost",
"price"
],
"type": "object"
},
"name": "hopi_margin_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"cost": {
"type": "number"
},
"marginPercent": {
"type": "number"
},
"markupPercent": {
"type": "number"
},
"price": {
"type": "number"
},
"profit": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Render a small, safe subset of markdown to HTML: headings (# to ###), bold, italic, links (http, https or mailto only), inline code, fenced code blocks, bulleted and numbered lists, and blockquotes. Every character is HTML-escaped first, so raw HTML is shown as text and never executed. Source: https://hopi.co.uk/markdown-previewer/",
"inputSchema": {
"properties": {
"markdown": {
"description": "The markdown source to render",
"type": "string"
}
},
"required": [
"markdown"
],
"type": "object"
},
"name": "hopi_markdown_previewer",
"outputSchema": {
"additionalProperties": true,
"properties": {
"html": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Calculate a coin's market cap (price times circulating supply) and fully diluted valuation, or work backwards to the price implied by a target market cap. Works in any currency; nothing is looked up. Source: https://hopi.co.uk/market-cap-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "market_cap"
}
}
},
"then": {
"required": [
"price"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "implied_price"
}
}
},
"then": {
"required": [
"target"
]
}
}
],
"properties": {
"current": {
"description": "Current price per coin, to show the multiple (optional, implied_price mode)",
"minimum": 0,
"type": "number"
},
"maxSupply": {
"description": "Maximum or total supply for FDV (optional, market_cap mode)",
"minimum": 0,
"type": "number"
},
"mode": {
"description": "market_cap: price times supply. implied_price: target cap divided by supply.",
"enum": [
"market_cap",
"implied_price"
],
"type": "string"
},
"price": {
"description": "Current price per coin (for market_cap)",
"minimum": 0,
"type": "number"
},
"supply": {
"description": "Circulating supply (for both modes)",
"exclusiveMinimum": 0,
"type": "number"
},
"target": {
"description": "Target market cap (for implied_price)",
"minimum": 0,
"type": "number"
}
},
"required": [
"mode",
"supply"
],
"type": "object"
},
"name": "hopi_market_cap_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"approx": {
"type": "string"
},
"marketCap": {
"type": "number"
},
"marketCapString": {
"type": "string"
},
"mode": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Build a complete HTML head snippet from page details: title, meta description, canonical link, Open Graph and Twitter card tags. Returns the ready-to-paste snippet plus character counts. Source: https://hopi.co.uk/meta-tag-generator/",
"inputSchema": {
"properties": {
"canonical": {
"description": "Canonical URL for the page",
"format": "uri",
"type": "string"
},
"description": {
"description": "Meta description (guideline is around 155 characters)",
"type": "string"
},
"ogDescription": {
"description": "Open Graph description (defaults to description if omitted)",
"type": "string"
},
"ogImage": {
"description": "Open Graph image URL",
"format": "uri",
"type": "string"
},
"ogTitle": {
"description": "Open Graph title (defaults to title if omitted)",
"type": "string"
},
"ogType": {
"default": "website",
"description": "Open Graph type (default 'website')",
"enum": [
"website",
"article",
"product",
"profile"
],
"type": "string"
},
"title": {
"description": "Page title (guideline is around 60 characters)",
"type": "string"
},
"twitterCard": {
"default": "summary_large_image",
"description": "Twitter card type (default 'summary_large_image')",
"enum": [
"summary",
"summary_large_image",
"app",
"player"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_meta_tag_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"descriptionLength": {
"type": "number"
},
"descriptionOverGuideline": {
"type": "boolean"
},
"html": {
"type": "string"
},
"lines": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"titleLength": {
"type": "number"
},
"titleOverGuideline": {
"type": "boolean"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between miles and kilometres. Direction 'miles-to-km' takes miles and returns kilometres. Direction 'km-to-miles' takes kilometres and returns miles. Source: https://hopi.co.uk/miles-to-km/",
"inputSchema": {
"properties": {
"direction": {
"description": "Which way to convert",
"enum": [
"miles-to-km",
"km-to-miles"
],
"type": "string"
},
"value": {
"description": "The distance value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"direction"
],
"type": "object"
},
"name": "hopi_miles_to_km",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"km": {
"type": "number"
},
"miles": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"direction",
"km",
"miles",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between 24-hour (military) time and 12-hour clock time. Direction '24h-to-12h' takes a 24-hour time like '1430' or '14:30'. Direction '12h-to-24h' takes a 12-hour time like '2:30' with a meridiem of am or pm (the meridiem can also be written in the time string). Source: https://hopi.co.uk/military-time-converter/",
"inputSchema": {
"properties": {
"direction": {
"description": "Which way to convert",
"enum": [
"24h-to-12h",
"12h-to-24h"
],
"type": "string"
},
"meridiem": {
"default": "pm",
"description": "am or pm for 12h-to-24h when not in the time string (default pm)",
"enum": [
"am",
"pm"
],
"type": "string"
},
"time": {
"description": "The time to convert, e.g. '1430', '14:30', '2:30 pm'",
"minLength": 1,
"type": "string"
}
},
"required": [
"time",
"direction"
],
"type": "object"
},
"name": "hopi_military_time_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"meridiem": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"time12": {
"type": "string"
},
"time24": {
"type": "string"
}
},
"required": [
"direction",
"meridiem",
"source_url",
"summary",
"time12",
"time24"
],
"type": "object"
}
},
{
"description": "Convert a number of minutes into hours and minutes, or convert hours (plus optional extra minutes) into total minutes. Set mode to 'minutesToHours' or 'hoursToMinutes'. Returns a clock-style breakdown and decimal hours. Source: https://hopi.co.uk/minutes-to-hours/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "minutesToHours"
}
}
},
"then": {
"required": [
"minutes"
]
}
}
],
"properties": {
"extraMinutes": {
"default": 0,
"description": "Extra minutes to add to the hours (used when mode is 'hoursToMinutes', default 0)",
"maximum": 10000000,
"minimum": 0,
"type": "number"
},
"hours": {
"default": 0,
"description": "Hours to convert (used when mode is 'hoursToMinutes', 0 to 100000)",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"minutes": {
"description": "Minutes to convert (used when mode is 'minutesToHours', 0 to 10000000)",
"maximum": 10000000,
"minimum": 0,
"type": "number"
},
"mode": {
"description": "Direction of the conversion",
"enum": [
"minutesToHours",
"hoursToMinutes"
],
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_minutes_to_hours",
"outputSchema": {
"additionalProperties": true,
"properties": {
"breakdown": {
"type": "string"
},
"clock": {
"type": "string"
},
"decimalHours": {
"type": "number"
},
"minutes": {
"type": "number"
},
"mode": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"clock",
"decimalHours",
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the moon phase for a date, based on the synodic month since a known new moon. Dates use the YYYY-MM-DD format and default to today. Returns the phase name, illuminated percentage, moon age in days, and the next full and new moons. Source: https://hopi.co.uk/moon-phase-calculator/",
"inputSchema": {
"properties": {
"date": {
"description": "Optional date in YYYY-MM-DD format (defaults to today)",
"format": "date",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_moon_phase_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"date": {
"type": "string"
},
"illuminationPercent": {
"type": "number"
},
"moonAgeDays": {
"type": "number"
},
"nextFullMoon": {
"type": "string"
},
"nextNewMoon": {
"type": "string"
},
"phase": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Translate text into international Morse code, or Morse code back into text. Letters are separated by spaces and words by a forward slash. When decoding, underscores are treated as dashes and pipes as word separators. Unknown Morse sequences appear as # in the output. Source: https://hopi.co.uk/morse-code-translator/",
"inputSchema": {
"properties": {
"direction": {
"default": "t2m",
"description": "'t2m' text to Morse (default), 'm2t' Morse to text",
"enum": [
"t2m",
"m2t"
],
"type": "string"
},
"text": {
"description": "The text or Morse code to translate",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_morse_code_translator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"unknown": {
"type": "array"
}
},
"required": [
"direction",
"result",
"source_url",
"summary",
"unknown"
],
"type": "object"
}
},
{
"description": "Work out the monthly payment on a repayment mortgage at a constant interest rate, using the standard amortising formula. Returns the monthly payment, total repaid and total interest. Fees and rate changes are not included. Amounts in GBP. Source: https://hopi.co.uk/mortgage-calculator/",
"inputSchema": {
"properties": {
"amount": {
"description": "Amount borrowed in GBP (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Annual interest rate as a percentage (0 to 50)",
"maximum": 50,
"minimum": 0,
"type": "number"
},
"years": {
"description": "Mortgage term in years (greater than 0, up to 50)",
"exclusiveMinimum": 0,
"maximum": 50,
"type": "number"
}
},
"required": [
"amount",
"rate",
"years"
],
"type": "object"
},
"name": "hopi_mortgage_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amount": {
"type": "number"
},
"monthlyPayment": {
"type": "number"
},
"months": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalInterest": {
"type": "number"
},
"totalRepaid": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "See how much time and interest a regular monthly overpayment saves on a repayment mortgage. Give the current balance, annual rate, remaining term in years and the extra amount paid each month. Returns the time saved, interest saved, new payoff time and the monthly payment. Amounts in GBP. Source: https://hopi.co.uk/mortgage-overpayment-calculator/",
"inputSchema": {
"properties": {
"balance": {
"description": "Current mortgage balance in GBP (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"extra": {
"description": "Extra monthly overpayment in GBP (0 or more)",
"minimum": 0,
"type": "number"
},
"rate": {
"description": "Annual interest rate as a percentage (0 to 50)",
"maximum": 50,
"minimum": 0,
"type": "number"
},
"years": {
"description": "Remaining term in years (greater than 0, up to 50)",
"exclusiveMinimum": 0,
"maximum": 50,
"type": "number"
}
},
"required": [
"balance",
"rate",
"years",
"extra"
],
"type": "object"
},
"name": "hopi_mortgage_overpayment_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"balance": {
"type": "number"
},
"extra": {
"type": "number"
},
"interestSaved": {
"type": "number"
},
"monthlyPayment": {
"type": "number"
},
"monthsSaved": {
"type": "number"
},
"newPayoffMonths": {
"type": "number"
},
"overpaymentPayment": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"timeSaved": {
"type": "string"
},
"years": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert fuel economy between UK miles per gallon and litres per 100 km. Direction 'mpg-to-l100' takes UK mpg. Direction 'l100-to-mpg' takes litres per 100 km. Also returns US mpg, km per litre and miles per litre. Source: https://hopi.co.uk/mpg-converter/",
"inputSchema": {
"properties": {
"direction": {
"description": "Which way to convert",
"enum": [
"mpg-to-l100",
"l100-to-mpg"
],
"type": "string"
},
"value": {
"description": "The fuel economy value (UK mpg or L/100km depending on direction)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value",
"direction"
],
"type": "object"
},
"name": "hopi_mpg_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"kmPerLitre": {
"type": "number"
},
"litresPer100km": {
"type": "number"
},
"milesPerLitre": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"ukMpg": {
"type": "number"
},
"usMpg": {
"type": "number"
}
},
"required": [
"direction",
"kmPerLitre",
"litresPer100km",
"milesPerLitre",
"source_url",
"summary",
"ukMpg",
"usMpg"
],
"type": "object"
}
},
{
"description": "Work out UK employee Class 1 National Insurance for the 2026/27 tax year from an annual gross salary. Uses the primary threshold of £12,570, upper earnings limit of £50,270, 8% between them and 2% above. Returns NI due per year, month and week plus the effective rate. Amounts in GBP. Source: https://hopi.co.uk/national-insurance-calculator/",
"inputSchema": {
"properties": {
"salary": {
"description": "Annual gross salary in GBP",
"maximum": 10000000,
"minimum": 0,
"type": "number"
}
},
"required": [
"salary"
],
"type": "object"
},
"name": "hopi_national_insurance_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"effectiveRatePercent": {
"type": "number"
},
"niPerMonth": {
"type": "number"
},
"niPerWeek": {
"type": "number"
},
"niPerYear": {
"type": "number"
},
"salary": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Spell text out using the NATO phonetic alphabet (Alfa, Bravo, Charlie and so on), or convert a phonetic spelling back into plain text. Spaces become (space). When converting back, common variants such as Alpha, Juliet, Xray, Niner and Fife are accepted; unrecognised words appear as #. Source: https://hopi.co.uk/nato-phonetic-alphabet/",
"inputSchema": {
"properties": {
"direction": {
"default": "t2n",
"description": "'t2n' text to phonetic (default), 'n2t' phonetic to text",
"enum": [
"t2n",
"n2t"
],
"type": "string"
},
"text": {
"description": "The text or phonetic spelling to convert",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_nato_phonetic_alphabet",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"unknown": {
"type": "array"
}
},
"required": [
"direction",
"result",
"source_url",
"summary",
"unknown"
],
"type": "object"
}
},
{
"description": "Work out the gross salary needed to achieve a desired take-home (net) pay for the 2026/27 tax year in England, Wales and Northern Ireland, using code 1257L income tax bands with personal allowance taper and employee National Insurance. Give the net figure as yearly or monthly. Returns the required gross, tax and NI. Amounts in GBP. Source: https://hopi.co.uk/net-to-gross/",
"inputSchema": {
"properties": {
"net": {
"description": "Desired take-home pay in GBP",
"minimum": 0,
"type": "number"
},
"period": {
"default": "year",
"description": "Whether the net figure is yearly or monthly (default year)",
"enum": [
"year",
"month"
],
"type": "string"
}
},
"required": [
"net"
],
"type": "object"
},
"name": "hopi_net_to_gross",
"outputSchema": {
"additionalProperties": true,
"properties": {
"grossPerMonth": {
"type": "number"
},
"grossPerYear": {
"type": "number"
},
"incomeTax": {
"type": "number"
},
"nationalInsurance": {
"type": "number"
},
"net": {
"type": "number"
},
"netCheckPerYear": {
"type": "number"
},
"period": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"grossPerMonth",
"grossPerYear",
"incomeTax",
"nationalInsurance",
"net",
"netCheckPerYear",
"period",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a whole number from one base to another between binary, octal, decimal and hexadecimal. Uses BigInt so values of any size convert exactly. Returns the value in the requested base plus all four bases. Source: https://hopi.co.uk/number-base-converter/",
"inputSchema": {
"properties": {
"fromBase": {
"description": "The base the value is written in",
"enum": [
"binary",
"octal",
"decimal",
"hex"
],
"type": "string"
},
"toBase": {
"description": "The base to convert to",
"enum": [
"binary",
"octal",
"decimal",
"hex"
],
"type": "string"
},
"value": {
"description": "The number to convert, as text (optional 0b/0o/0x prefix, spaces and underscores ignored, may be negative)",
"type": "string"
}
},
"required": [
"value",
"fromBase",
"toBase"
],
"type": "object"
},
"name": "hopi_number_base_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"binary": {
"type": "string"
},
"decimal": {
"type": "string"
},
"fromBase": {
"type": "string"
},
"hex": {
"type": "string"
},
"octal": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"toBase": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"binary",
"decimal",
"fromBase",
"hex",
"octal",
"result",
"source_url",
"summary",
"toBase",
"value"
],
"type": "object"
}
},
{
"description": "Convert a number into written English words. Set currency to true to write it as UK pounds and pence (cheque style, ending 'only'). Supports up to 999,999,999,999 with decimals to two places. Source: https://hopi.co.uk/number-to-words/",
"inputSchema": {
"properties": {
"currency": {
"default": false,
"description": "Write as UK pounds and pence (default false)",
"type": "boolean"
},
"value": {
"description": "The number to spell out, e.g. '1234.5' or '19.99'. May include commas.",
"minLength": 1,
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"name": "hopi_number_to_words",
"outputSchema": {
"additionalProperties": true,
"properties": {
"currency": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"words": {
"type": "string"
}
},
"required": [
"currency",
"source_url",
"summary",
"words"
],
"type": "object"
}
},
{
"description": "Convert an oven temperature. Scale 'c' is conventional Celsius, 'fan' is fan/convection Celsius, 'f' is Fahrenheit, 'gas' is UK gas mark (1 to 9). Returns conventional Celsius, fan Celsius, Fahrenheit and the nearest gas mark. Source: https://hopi.co.uk/oven-temperature-converter/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"scale": {
"const": "gas"
}
}
},
"then": {
"properties": {
"value": {
"maximum": 9,
"minimum": 1,
"type": "integer"
}
}
}
}
],
"properties": {
"scale": {
"description": "The scale of the input value",
"enum": [
"c",
"fan",
"f",
"gas"
],
"type": "string"
},
"value": {
"description": "The temperature value (or gas mark 1 to 9 when scale is 'gas')",
"type": "number"
}
},
"required": [
"value",
"scale"
],
"type": "object"
},
"name": "hopi_oven_temperature_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"celsius": {
"type": "number"
},
"fahrenheit": {
"type": "number"
},
"fanCelsius": {
"type": "number"
},
"gasMark": {
"type": "string"
},
"scale": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"celsius",
"fahrenheit",
"fanCelsius",
"gasMark",
"scale",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out gross overtime pay from a base hourly rate and hours worked at three multipliers: standard (1x), time and a half (1.5x) and double time (2x). At least one hours figure is required. Returns pay at each rate, the total and total hours. Gross pay in GBP, before tax and NI. Source: https://hopi.co.uk/overtime-pay-calculator/",
"inputSchema": {
"properties": {
"doubleHours": {
"default": 0,
"description": "Hours paid at double time, 2x (default 0)",
"maximum": 10000,
"minimum": 0,
"type": "number"
},
"rate": {
"description": "Base hourly rate in GBP",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"standardHours": {
"default": 0,
"description": "Hours paid at the standard rate (default 0)",
"maximum": 10000,
"minimum": 0,
"type": "number"
},
"timeAndHalfHours": {
"default": 0,
"description": "Hours paid at time and a half, 1.5x (default 0)",
"maximum": 10000,
"minimum": 0,
"type": "number"
}
},
"required": [
"rate"
],
"type": "object"
},
"name": "hopi_overtime_pay_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"doubleHours": {
"type": "number"
},
"doublePay": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"standardHours": {
"type": "number"
},
"standardPay": {
"type": "number"
},
"summary": {
"type": "string"
},
"timeAndHalfHours": {
"type": "number"
},
"timeAndHalfPay": {
"type": "number"
},
"totalHours": {
"type": "number"
},
"totalPay": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate how strong a password is: an entropy estimate in bits, a rough offline crack time (assuming ten billion guesses a second), a 0 to 4 score with a verdict, and warnings about weak patterns such as dictionary words, sequences and repeats. Source: https://hopi.co.uk/password-strength-checker/",
"inputSchema": {
"properties": {
"password": {
"description": "The password to assess (never uploaded; assessed locally)",
"minLength": 1,
"type": "string"
}
},
"required": [
"password"
],
"type": "object"
},
"name": "hopi_password_strength_checker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bits": {
"type": "number"
},
"crackTime": {
"type": "string"
},
"label": {
"type": "string"
},
"score": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tips": {
"type": "array"
},
"verdict": {
"type": "string"
}
},
"required": [
"bits",
"crackTime",
"label",
"score",
"source_url",
"summary",
"tips",
"verdict"
],
"type": "object"
}
},
{
"description": "Work out percentages three ways. Mode 'of': what is P percent of a number. Mode 'what': what percentage the part is of the whole. Mode 'change': the percentage change from a starting value to an end value. Source: https://hopi.co.uk/percentage-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "of"
}
}
},
"then": {
"required": [
"percent",
"number"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "what"
}
}
},
"then": {
"required": [
"part",
"whole"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "change"
}
}
},
"then": {
"required": [
"from",
"to"
]
}
}
],
"properties": {
"from": {
"description": "Starting value (mode 'change', not zero)",
"not": {
"const": 0
},
"type": "number"
},
"mode": {
"description": "'of' percent of a number, 'what' one number as a percentage of another, or 'change' percentage change",
"enum": [
"of",
"what",
"change"
],
"type": "string"
},
"number": {
"description": "The number (mode 'of')",
"type": "number"
},
"part": {
"description": "The part (mode 'what')",
"type": "number"
},
"percent": {
"description": "The percentage (mode 'of')",
"type": "number"
},
"to": {
"description": "End value (mode 'change')",
"type": "number"
},
"whole": {
"description": "The whole (mode 'what', not zero)",
"not": {
"const": 0
},
"type": "number"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_percentage_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"number": {
"type": "number"
},
"percent": {
"type": "number"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the percentage change from a starting value to an end value, using the starting value as the base. A positive result is an increase, a negative result is a decrease. Source: https://hopi.co.uk/percentage-change-calculator/",
"inputSchema": {
"properties": {
"from": {
"description": "The starting value (not zero)",
"not": {
"const": 0
},
"type": "number"
},
"to": {
"description": "The end value",
"type": "number"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"name": "hopi_percentage_change_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"absoluteChange": {
"type": "number"
},
"change": {
"type": "number"
},
"direction": {
"type": "string"
},
"from": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Decrease a number by a percentage and see the new value and the amount taken off. For example, 250 decreased by 15 percent. Source: https://hopi.co.uk/percentage-decrease-calculator/",
"inputSchema": {
"properties": {
"number": {
"description": "The starting number",
"type": "number"
},
"percent": {
"description": "The percentage to take off",
"type": "number"
}
},
"required": [
"number",
"percent"
],
"type": "object"
},
"name": "hopi_percentage_decrease_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amountTakenOff": {
"type": "number"
},
"number": {
"type": "number"
},
"percent": {
"type": "number"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the percentage difference between two values using the average-based formula: the absolute gap divided by the average of the two, times 100. The result is symmetric, so the order of the two values does not matter. Source: https://hopi.co.uk/percentage-difference-calculator/",
"inputSchema": {
"properties": {
"a": {
"description": "The first value",
"type": "number"
},
"b": {
"description": "The second value",
"type": "number"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"name": "hopi_percentage_difference_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"a": {
"type": "number"
},
"average": {
"type": "number"
},
"b": {
"type": "number"
},
"gap": {
"type": "number"
},
"percentageDifference": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Increase a number by a percentage and see the new value and the amount added. For example, 250 increased by 15 percent. Source: https://hopi.co.uk/percentage-increase-calculator/",
"inputSchema": {
"properties": {
"number": {
"description": "The starting number",
"type": "number"
},
"percent": {
"description": "The percentage to add on",
"type": "number"
}
},
"required": [
"number",
"percent"
],
"type": "object"
},
"name": "hopi_percentage_increase_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amountAdded": {
"type": "number"
},
"number": {
"type": "number"
},
"percent": {
"type": "number"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out how large a position to take so that hitting the stop-loss loses only a chosen percentage of the account. Enter account size, risk percentage, entry price and stop-loss price. Returns units to buy, position value, amount at risk and stop distance. Figures are treated as GBP. Source: https://hopi.co.uk/position-size-calculator/",
"inputSchema": {
"properties": {
"account": {
"description": "Total account size",
"exclusiveMinimum": 0,
"type": "number"
},
"entry": {
"description": "Entry price per unit",
"exclusiveMinimum": 0,
"type": "number"
},
"risk": {
"description": "Percentage of the account to risk on this trade (above 0, up to 100)",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"stop": {
"description": "Stop-loss price per unit",
"minimum": 0,
"type": "number"
}
},
"required": [
"account",
"risk",
"entry",
"stop"
],
"type": "object"
},
"name": "hopi_position_size_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"amountAtRisk": {
"type": "number"
},
"amountAtRiskString": {
"type": "string"
},
"direction": {
"type": "string"
},
"note": {
"type": "string"
},
"positionValue": {
"type": "number"
},
"positionValueString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"stopDistancePercent": {
"type": "number"
},
"summary": {
"type": "string"
},
"units": {
"type": "number"
},
"unitsString": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert power from one unit to another. Units: w (watts), kw (kilowatts), hp (mechanical horsepower), ps (metric horsepower, PS). Source: https://hopi.co.uk/power-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"w",
"kw",
"hp",
"ps"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"w",
"kw",
"hp",
"ps"
],
"type": "string"
},
"value": {
"description": "The power value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_power_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert pressure from one unit to another. Units: bar, psi (pounds per square inch), kpa (kilopascals), atm (atmospheres). Source: https://hopi.co.uk/pressure-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"bar",
"psi",
"kpa",
"atm"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"bar",
"psi",
"kpa",
"atm"
],
"type": "string"
},
"value": {
"description": "The pressure value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_pressure_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Check whether a whole number (2 to 1,000,000,000,000,000) is prime, break it into its prime factors in power form, count its divisors, and list them. Uses trial division. Source: https://hopi.co.uk/prime-factorisation-calculator/",
"inputSchema": {
"properties": {
"number": {
"description": "A whole number from 2 to 1,000,000,000,000,000",
"maximum": 1000000000000000,
"minimum": 2,
"type": "integer"
}
},
"required": [
"number"
],
"type": "object"
},
"name": "hopi_prime_factorisation_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"divisorCount": {
"type": "number"
},
"divisors": {
"type": "array"
},
"factorisation": {
"type": "string"
},
"isPrime": {
"type": "boolean"
},
"number": {
"type": "number"
},
"primeFactors": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"divisorCount",
"divisors",
"factorisation",
"isPrime",
"number",
"primeFactors",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out a pro rata salary for part-time hours by scaling a full-time salary by the ratio of your hours to full-time hours. Returns the pro rata yearly, monthly and weekly pay and the fraction of full-time. Amounts in GBP, gross before tax. Source: https://hopi.co.uk/pro-rata-salary-calculator/",
"inputSchema": {
"properties": {
"fullTimeHours": {
"description": "Full-time hours per week (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"fullTimeSalary": {
"description": "Full-time annual salary in GBP (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"hours": {
"description": "Your hours per week (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"fullTimeSalary",
"fullTimeHours",
"hours"
],
"type": "object"
},
"name": "hopi_pro_rata_salary_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"fractionPercent": {
"type": "number"
},
"fullTimeHours": {
"type": "number"
},
"fullTimeSalary": {
"type": "number"
},
"hours": {
"type": "number"
},
"proRataMonth": {
"type": "number"
},
"proRataWeek": {
"type": "number"
},
"proRataYear": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Turn product rows into a platform-valid product feed: Meta (Facebook and Instagram) RSS 2.0, Google Merchant RSS 2.0, Atom 1.0 or generic RSS 2.0, using the g: namespace where the platform expects it. Each row is validated (required fields, price as 12.99 GBP, availability and condition values, http links, unique ids); rows that fail are skipped and listed. Returns the XML, counts and errors. Source: https://hopi.co.uk/product-feed-generator/",
"inputSchema": {
"properties": {
"currency": {
"description": "ISO 4217 currency code for prices, for example GBP. Default GBP.",
"type": "string"
},
"description": {
"description": "Feed description (optional).",
"type": "string"
},
"link": {
"description": "Shop URL for the feed header (optional, must start with http:// or https://).",
"type": "string"
},
"platform": {
"description": "Feed format. Default meta.",
"enum": [
"meta",
"google",
"atom",
"rss"
],
"type": "string"
},
"rows": {
"description": "Product rows keyed by feed field name. Required per row: id, title, description, availability, condition, price, link, image_link, brand. Optional: sale_price, gtin, mpn, item_group_id, google_product_category, product_type, color, size, gender, age_group, shipping_weight, additional_image_link, quantity_to_sell_on_facebook.",
"items": {
"type": "object"
},
"maxItems": 5000,
"minItems": 1,
"type": "array"
},
"title": {
"description": "Feed title. Default Product feed.",
"type": "string"
}
},
"required": [
"rows"
],
"type": "object"
},
"name": "hopi_product_feed_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"currency": {
"type": "string"
},
"errors": {
"type": "array"
},
"items": {
"type": "number"
},
"platform": {
"type": "string"
},
"rowsRead": {
"type": "number"
},
"skipped": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"xml": {
"type": "string"
}
},
"required": [
"currency",
"errors",
"items",
"platform",
"rowsRead",
"skipped",
"source_url",
"summary",
"xml"
],
"type": "object"
}
},
{
"description": "Generate a random colour and return its hex, RGB and HSL values. Each of the red, green and blue channels gets an independent value from 0 to 255. Source: https://hopi.co.uk/random-colour-generator/",
"inputSchema": {
"properties": {},
"required": [],
"type": "object"
},
"name": "hopi_random_colour_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hex": {
"type": "string"
},
"hsl": {
"type": "array"
},
"hslString": {
"type": "string"
},
"rgb": {
"type": "array"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate random geographic coordinates that are uniform by surface area across the globe (points are not bunched at the poles). Returns latitude and longitude in decimal degrees. Source: https://hopi.co.uk/random-coordinates/",
"inputSchema": {
"properties": {
"decimals": {
"default": 4,
"description": "Decimal places for each coordinate, 2 to 6 (default 4)",
"maximum": 6,
"minimum": 2,
"type": "integer"
},
"quantity": {
"default": 1,
"description": "How many points to generate, 1 to 100 (default 1)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_random_coordinates",
"outputSchema": {
"additionalProperties": true,
"properties": {
"points": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"points",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate random letters from the alphabet, optionally limited to vowels or consonants. Returns the letters as a list. Source: https://hopi.co.uk/random-letter-generator/",
"inputSchema": {
"properties": {
"quantity": {
"default": 1,
"description": "How many letters to generate, 1 to 100 (default 1)",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"set": {
"default": "any",
"description": "Which letters to draw from (default any)",
"enum": [
"any",
"vowels",
"consonants"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_random_letter_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"letters": {
"type": "array"
},
"set": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"letters",
"set",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate one or more random whole numbers within a range (inclusive), optionally with no repeats. Returns the numbers as a list. Source: https://hopi.co.uk/random-number-generator/",
"inputSchema": {
"properties": {
"max": {
"description": "Highest possible number (inclusive)",
"type": "integer"
},
"min": {
"description": "Lowest possible number (inclusive)",
"type": "integer"
},
"quantity": {
"default": 1,
"description": "How many numbers to generate, 1 to 1000 (default 1)",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"unique": {
"default": false,
"description": "If true, no number repeats (default false)",
"type": "boolean"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"name": "hopi_random_number_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"numbers": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"unique": {
"type": "boolean"
}
},
"required": [
"max",
"min",
"numbers",
"source_url",
"summary",
"unique"
],
"type": "object"
}
},
{
"description": "Shuffle a list of names and deal them evenly into a set number of teams. Returns each team's members. Source: https://hopi.co.uk/random-team-generator/",
"inputSchema": {
"properties": {
"names": {
"description": "The list of names to split into teams",
"minItems": 1,
"type": "array"
},
"teams": {
"description": "How many teams to make, 2 to 20",
"maximum": 20,
"minimum": 2,
"type": "integer"
}
},
"required": [
"names",
"teams"
],
"type": "object"
},
"name": "hopi_random_team_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"teams": {
"type": "array"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate random everyday English nouns, with no repeats. Returns the words as a list. Source: https://hopi.co.uk/random-word-generator/",
"inputSchema": {
"properties": {
"quantity": {
"default": 1,
"description": "How many words to generate, 1 to 20 (default 1)",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_random_word_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"words": {
"type": "array"
}
},
"required": [
"source_url",
"summary",
"words"
],
"type": "object"
}
},
{
"description": "Work with ratios. Mode 'simplify': reduce a ratio a : b to its lowest terms, and give the 1 : n form and the decimal a / b. Mode 'solve': find the missing value x in the equivalent ratio a : b = c : x using cross multiplication. All inputs must be positive. Source: https://hopi.co.uk/ratio-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "solve"
}
}
},
"then": {
"required": [
"c"
]
}
}
],
"properties": {
"a": {
"description": "First term of the ratio (positive)",
"exclusiveMinimum": 0,
"type": "number"
},
"b": {
"description": "Second term of the ratio (positive)",
"exclusiveMinimum": 0,
"type": "number"
},
"c": {
"description": "Known term of the equivalent ratio, mode 'solve' (a : b = c : x)",
"exclusiveMinimum": 0,
"type": "number"
},
"mode": {
"description": "'simplify' a ratio, or 'solve' for the missing value",
"enum": [
"simplify",
"solve"
],
"type": "string"
}
},
"required": [
"mode",
"a",
"b"
],
"type": "object"
},
"name": "hopi_ratio_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"a": {
"type": "number"
},
"b": {
"type": "number"
},
"decimal": {
"type": "number"
},
"mode": {
"type": "string"
},
"oneToN": {
"type": "string"
},
"simplified": {
"type": "string"
},
"simplifiedA": {
"type": "number"
},
"simplifiedB": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"a",
"b",
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate how long a block of text takes to read. Returns a silent reading time (225 words per minute) and a read-aloud time (130 words per minute), along with the word count. Source: https://hopi.co.uk/reading-time-calculator/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to measure",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_reading_time_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"aloudTime": {
"type": "string"
},
"silentTime": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"words": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out UK statutory redundancy pay for redundancies on or after 6 April 2026, using the gov.uk count-back method: for each full year of service (up to 20), 1.5 weeks if worked aged 41+, 1 week aged 22 to 40, and 0.5 weeks under 22. Weekly pay is capped at £751 and the total at £22,530. At least 2 full years of service are needed. Amounts in GBP. Source: https://hopi.co.uk/redundancy-pay-calculator/",
"inputSchema": {
"properties": {
"age": {
"description": "Age at redundancy (15 to 100)",
"maximum": 100,
"minimum": 15,
"type": "integer"
},
"weeklyPay": {
"description": "Gross weekly pay in GBP",
"exclusiveMinimum": 0,
"maximum": 1000000,
"type": "number"
},
"years": {
"description": "Full years of continuous service (0 to 60, cannot exceed age)",
"maximum": 60,
"minimum": 0,
"type": "integer"
}
},
"required": [
"age",
"years",
"weeklyPay"
],
"type": "object"
},
"name": "hopi_redundancy_pay_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"age": {
"type": "number"
},
"cappedWeeklyPay": {
"type": "number"
},
"serviceCapped": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"total": {
"type": "number"
},
"totalCapped": {
"type": "boolean"
},
"weeklyPay": {
"type": "number"
},
"weeklyPayCapped": {
"type": "boolean"
},
"weeks": {
"type": "number"
},
"years": {
"type": "number"
}
},
"required": [
"age",
"source_url",
"summary",
"total",
"weeklyPay",
"weeks",
"years"
],
"type": "object"
}
},
{
"description": "Remove duplicate lines from a block of text, keeping the first occurrence of each line in its original order. Can optionally ignore letter case when deciding what counts as a duplicate. Returns the deduplicated text plus how many lines were kept and removed. Source: https://hopi.co.uk/remove-duplicate-lines/",
"inputSchema": {
"properties": {
"caseInsensitive": {
"default": false,
"description": "Treat lines that differ only in case as duplicates (default false)",
"type": "boolean"
},
"text": {
"description": "The text to deduplicate, one item per line",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_remove_duplicate_lines",
"outputSchema": {
"additionalProperties": true,
"properties": {
"kept": {
"type": "number"
},
"removed": {
"type": "number"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Tidy up spacing in text: collapse runs of spaces, tabs and non-breaking spaces down to a single space and trim each line. Can optionally also remove blank lines. Line breaks between lines are kept. Source: https://hopi.co.uk/remove-extra-spaces/",
"inputSchema": {
"properties": {
"removeBlankLines": {
"default": false,
"description": "Also drop empty lines (default false)",
"type": "boolean"
},
"text": {
"description": "The text to clean",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_remove_extra_spaces",
"outputSchema": {
"additionalProperties": true,
"properties": {
"lines": {
"type": "number"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Remove line breaks from text. In 'spaces' mode every line is joined into one with single spaces. In 'paragraphs' mode blank lines are treated as paragraph breaks, so text is joined within each paragraph while the blank line between paragraphs is preserved. Source: https://hopi.co.uk/remove-line-breaks/",
"inputSchema": {
"properties": {
"mode": {
"default": "spaces",
"description": "'spaces' joins everything into one block (default), 'paragraphs' keeps paragraph breaks",
"enum": [
"spaces",
"paragraphs"
],
"type": "string"
},
"text": {
"description": "The text to join",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_remove_line_breaks",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Reverse text in one of three ways. 'characters' reverses the entire text character by character. 'words' reverses the order of words on each line. 'each' keeps the word order but reverses the letters within each word. Source: https://hopi.co.uk/reverse-text/",
"inputSchema": {
"properties": {
"mode": {
"default": "characters",
"description": "'characters' (default), 'words' reverses word order per line, 'each' reverses letters within each word",
"enum": [
"characters",
"words",
"each"
],
"type": "string"
},
"text": {
"description": "The text to reverse",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_reverse_text",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"mode",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert red, green and blue values (each a whole number from 0 to 255) to an uppercase hex colour code. Source: https://hopi.co.uk/rgb-to-hex/",
"inputSchema": {
"properties": {
"b": {
"description": "Blue, 0 to 255",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"g": {
"description": "Green, 0 to 255",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"r": {
"description": "Red, 0 to 255",
"maximum": 255,
"minimum": 0,
"type": "integer"
}
},
"required": [
"r",
"g",
"b"
],
"type": "object"
},
"name": "hopi_rgb_to_hex",
"outputSchema": {
"additionalProperties": true,
"properties": {
"hex": {
"type": "string"
},
"rgbString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a ring size between UK, US and millimetre scales. Mode 'uk' takes a UK letter F to Z (add 1/2 for half sizes, e.g. 'N' or 'N 1/2'). Mode 'us' takes a US number 2.75 to 12.75. Mode 'mm' takes an inside circumference in mm (about 44 to 69). Returns UK size, US size, circumference and inside diameter. Source: https://hopi.co.uk/ring-size-converter/",
"inputSchema": {
"properties": {
"mode": {
"description": "Which scale the value is in",
"enum": [
"uk",
"us",
"mm"
],
"type": "string"
},
"value": {
"description": "The ring size to convert: a UK letter (uk mode), or a number (us or mm mode)",
"minLength": 1,
"type": "string"
}
},
"required": [
"value",
"mode"
],
"type": "object"
},
"name": "hopi_ring_size_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"circumferenceMm": {
"type": "number"
},
"diameterMm": {
"type": "number"
},
"mode": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"uk": {
"type": "string"
},
"us": {
"type": "string"
}
},
"required": [
"circumferenceMm",
"diameterMm",
"mode",
"source_url",
"summary",
"uk",
"us"
],
"type": "object"
}
},
{
"description": "Build a robots.txt file from allow and disallow rules grouped by user agent, with an optional sitemap line. You can pass a preset ('allow' all, 'block' all, 'wordpress') or your own rules array. Source: https://hopi.co.uk/robots-txt-generator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"preset": {
"const": "custom"
}
}
},
"then": {
"required": [
"rules"
]
}
}
],
"properties": {
"preset": {
"description": "Use a ready-made rule set instead of custom rules",
"enum": [
"allow",
"block",
"wordpress",
"custom"
],
"type": "string"
},
"rules": {
"description": "Custom rules, each an object with agent, directive and path",
"items": {
"properties": {
"agent": {
"default": "*",
"description": "User agent, default '*' for all crawlers",
"type": "string"
},
"directive": {
"default": "disallow",
"description": "'allow' or 'disallow' (default disallow)",
"enum": [
"allow",
"disallow"
],
"type": "string"
},
"path": {
"description": "Path such as /private/ (blank disallow means allow everything)",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sitemap": {
"description": "Optional sitemap URL for the Sitemap line",
"format": "uri",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_robots_txt_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"robotsTxt": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"robotsTxt",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between numbers and Roman numerals, both directions, for whole numbers from 1 to 3999. Give a number (e.g. 2026) to get its numeral, or a Roman numeral (e.g. MMXXVI) to get the number. The direction is detected automatically from the input. Source: https://hopi.co.uk/roman-numerals-converter/",
"inputSchema": {
"properties": {
"value": {
"description": "A whole number from 1 to 3999, or a Roman numeral using I, V, X, L, C, D and M",
"minLength": 1,
"pattern": "^\\s*(\\d+|[IVXLCDMivxlcdm]+)\\s*$",
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"name": "hopi_roman_numerals_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"number": {
"type": "number"
},
"roman": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"direction",
"number",
"roman",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Round a number to a chosen number of decimal places or significant figures, with halves always rounded up (away from zero). Mode 'dp': decimal places, 0 to 12. Mode 'sf': significant figures, 1 to 15. Source: https://hopi.co.uk/rounding-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "dp"
}
}
},
"then": {
"properties": {
"count": {
"maximum": 12,
"minimum": 0
}
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "sf"
}
}
},
"then": {
"properties": {
"count": {
"maximum": 15,
"minimum": 1
}
}
}
}
],
"properties": {
"count": {
"description": "How many decimal places (0 to 12) or significant figures (1 to 15)",
"maximum": 15,
"minimum": 0,
"type": "integer"
},
"mode": {
"description": "'dp' for decimal places, or 'sf' for significant figures",
"enum": [
"dp",
"sf"
],
"type": "string"
},
"number": {
"description": "The number to round",
"type": "number"
}
},
"required": [
"number",
"mode",
"count"
],
"type": "object"
},
"name": "hopi_rounding_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"formatted": {
"type": "string"
},
"mode": {
"type": "string"
},
"number": {
"type": "number"
},
"rounded": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"count",
"formatted",
"mode",
"number",
"rounded",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out running pace, finish time or distance, in kilometres or miles. Mode 'pace' needs distance and timeSeconds; mode 'time' needs distance and paceSeconds (seconds per unit); mode 'distance' needs timeSeconds and paceSeconds. Distance is in the chosen unit. Returns pace per km and per mile, speed in km/h and mph, distance and total time. Source: https://hopi.co.uk/running-pace-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "pace"
}
}
},
"then": {
"required": [
"distance",
"timeSeconds"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "time"
}
}
},
"then": {
"required": [
"distance",
"paceSeconds"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "distance"
}
}
},
"then": {
"required": [
"timeSeconds",
"paceSeconds"
]
}
}
],
"properties": {
"distance": {
"description": "Distance in the chosen unit (needed for 'pace' and 'time' modes)",
"exclusiveMinimum": 0,
"type": "number"
},
"mode": {
"description": "Which value to solve for",
"enum": [
"pace",
"time",
"distance"
],
"type": "string"
},
"paceSeconds": {
"description": "Pace in seconds per unit (needed for 'time' and 'distance' modes)",
"exclusiveMinimum": 0,
"type": "number"
},
"timeSeconds": {
"description": "Total time in seconds (needed for 'pace' and 'distance' modes)",
"exclusiveMinimum": 0,
"type": "number"
},
"unit": {
"default": "km",
"description": "Unit for distance and the given pace. Default 'km'",
"enum": [
"km",
"mi"
],
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_running_pace_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"distance": {
"type": "number"
},
"kph": {
"type": "number"
},
"mode": {
"type": "string"
},
"mph": {
"type": "number"
},
"pacePerKm": {
"type": "string"
},
"pacePerMile": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"time": {
"type": "string"
},
"timeSeconds": {
"type": "number"
},
"unit": {
"type": "string"
}
},
"required": [
"distance",
"kph",
"mode",
"mph",
"pacePerKm",
"pacePerMile",
"source_url",
"summary",
"time",
"timeSeconds",
"unit"
],
"type": "object"
}
},
{
"description": "Convert satoshis to BTC, mBTC and bits, or convert BTC to satoshis, mBTC and bits. Uses exact whole-satoshi integer maths. 1 BTC is 100,000,000 satoshis. Source: https://hopi.co.uk/satoshi-converter/",
"inputSchema": {
"properties": {
"mode": {
"description": "Direction of conversion",
"enum": [
"sats_to_btc",
"btc_to_sats"
],
"type": "string"
},
"value": {
"description": "The amount to convert: whole satoshis for sats_to_btc, or a BTC amount for btc_to_sats",
"type": "string"
}
},
"required": [
"mode",
"value"
],
"type": "object"
},
"name": "hopi_satoshi_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bits": {
"type": "string"
},
"btc": {
"type": "string"
},
"display": {
"type": "object"
},
"mbtc": {
"type": "string"
},
"mode": {
"type": "string"
},
"sats": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"bits",
"btc",
"display",
"mbtc",
"mode",
"sats",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Plan a savings goal, compounded monthly. Mode 'time' works out how long a monthly deposit takes to reach a target. Mode 'monthly' works out the monthly saving needed to reach a target within a number of years. Both take an optional starting balance and an annual interest rate. Amounts in GBP. Source: https://hopi.co.uk/savings-goal-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "monthly"
}
}
},
"then": {
"required": [
"years"
]
}
},
{
"if": {
"properties": {
"mode": {
"const": "time"
}
}
},
"then": {
"required": [
"monthly"
]
}
}
],
"properties": {
"mode": {
"description": "'time' finds the time to reach the goal; 'monthly' finds the monthly saving needed",
"enum": [
"time",
"monthly"
],
"type": "string"
},
"monthly": {
"description": "Time mode: monthly deposit in GBP",
"minimum": 0,
"type": "number"
},
"rate": {
"description": "Annual interest rate as a percentage",
"minimum": 0,
"type": "number"
},
"start": {
"default": 0,
"description": "Starting balance in GBP (default 0)",
"minimum": 0,
"type": "number"
},
"target": {
"description": "Savings target in GBP (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"years": {
"description": "Monthly mode: number of years to reach the goal",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"mode",
"target",
"rate"
],
"type": "object"
},
"name": "hopi_savings_goal_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"finalBalance": {
"type": "number"
},
"interest": {
"type": "number"
},
"mode": {
"type": "string"
},
"monthly": {
"type": "number"
},
"months": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"start": {
"type": "number"
},
"summary": {
"type": "string"
},
"target": {
"type": "number"
},
"timeToReach": {
"type": "string"
},
"totalPaidIn": {
"type": "number"
}
},
"required": [
"finalBalance",
"interest",
"mode",
"months",
"rate",
"source_url",
"start",
"summary",
"target",
"totalPaidIn"
],
"type": "object"
}
},
{
"description": "Build valid JSON-LD structured data using schema.org. Supports FAQ pages, articles, local businesses and breadcrumb lists. Returns the JSON-LD object and a ready-to-paste script snippet. Source: https://hopi.co.uk/schema-markup-generator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "faq"
}
}
},
"then": {
"required": [
"faqs"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "article"
}
}
},
"then": {
"required": [
"headline"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "local"
}
}
},
"then": {
"required": [
"name"
]
}
},
{
"if": {
"properties": {
"type": {
"const": "breadcrumb"
}
}
},
"then": {
"required": [
"items"
]
}
}
],
"properties": {
"author": {
"description": "For type 'article': author name",
"type": "string"
},
"faqs": {
"description": "For type 'faq': questions and answers",
"items": {
"properties": {
"a": {
"description": "Answer",
"type": "string"
},
"q": {
"description": "Question",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"headline": {
"description": "For type 'article': the headline",
"type": "string"
},
"hours": {
"description": "For type 'local': opening hours",
"type": "string"
},
"items": {
"description": "For type 'breadcrumb': ordered pages",
"items": {
"properties": {
"name": {
"description": "Page name",
"type": "string"
},
"url": {
"description": "Page URL",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"modified": {
"description": "For type 'article': date modified",
"type": "string"
},
"name": {
"description": "For type 'local': business name",
"type": "string"
},
"phone": {
"description": "For type 'local': telephone",
"type": "string"
},
"postcode": {
"description": "For type 'local': postal code",
"type": "string"
},
"published": {
"description": "For type 'article': date published",
"type": "string"
},
"street": {
"description": "For type 'local': street address",
"type": "string"
},
"town": {
"description": "For type 'local': town or locality",
"type": "string"
},
"type": {
"description": "The schema type to build",
"enum": [
"faq",
"article",
"local",
"breadcrumb"
],
"type": "string"
},
"url": {
"description": "For type 'local': website URL",
"format": "uri",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"name": "hopi_schema_markup_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"html": {
"type": "string"
},
"jsonLd": {
"type": "object"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Evaluate a maths expression following the standard order of operations (BODMAS). Supports + - * / ^ (power), ! (factorial), % (as divide by 100), brackets, the constants pi and e, and the functions sin, cos, tan, asin, acos, atan, ln, log (base 10) and sqrt. Set angleMode to 'deg' (default) or 'rad' for trigonometry. Source: https://hopi.co.uk/scientific-calculator/",
"inputSchema": {
"properties": {
"angleMode": {
"default": "deg",
"description": "Angle units for trigonometry: 'deg' (default) or 'rad'",
"enum": [
"deg",
"rad"
],
"type": "string"
},
"expression": {
"description": "The maths expression, e.g. '2 + 3 * 4', 'sin(30)', 'sqrt(2)^2', '5!'",
"minLength": 1,
"type": "string"
}
},
"required": [
"expression"
],
"type": "object"
},
"name": "hopi_scientific_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"angleMode": {
"type": "string"
},
"expression": {
"type": "string"
},
"formatted": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"angleMode",
"expression",
"formatted",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Draw Secret Santa gift pairings from a list of names. Every person gives to exactly one other person, and nobody is assigned to themselves (a derangement). Returns the giver to receiver pairs. Source: https://hopi.co.uk/secret-santa-generator/",
"inputSchema": {
"properties": {
"names": {
"description": "The list of participant names (at least two, no duplicates)",
"minItems": 2,
"type": "array"
}
},
"required": [
"names"
],
"type": "object"
},
"name": "hopi_secret_santa_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"pairs": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a UK shoe size to approximate EU and US sizes. Set sex to 'men' (UK 5 to 13) or 'women' (UK 2 to 9). UK size must be in whole or half steps. Source: https://hopi.co.uk/shoe-size-converter/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"sex": {
"const": "men"
}
}
},
"then": {
"properties": {
"ukSize": {
"maximum": 13,
"minimum": 5
}
}
}
},
{
"if": {
"properties": {
"sex": {
"const": "women"
}
}
},
"then": {
"properties": {
"ukSize": {
"maximum": 9,
"minimum": 2
}
}
}
}
],
"properties": {
"sex": {
"description": "Which sizing chart to use",
"enum": [
"men",
"women"
],
"type": "string"
},
"ukSize": {
"description": "UK shoe size (whole or half, e.g. 8 or 8.5)",
"maximum": 13,
"minimum": 2,
"multipleOf": 0.5,
"type": "number"
}
},
"required": [
"ukSize",
"sex"
],
"type": "object"
},
"name": "hopi_shoe_size_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"eu": {
"type": "number"
},
"note": {
"type": "string"
},
"sex": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"uk": {
"type": "number"
},
"us": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Suggest sleep times using 90-minute cycles plus 15 minutes to fall asleep. Mode 'wake' takes a wake time and returns the best bedtimes (wake - 15 - cycles x 90 minutes). Mode 'bedtime' takes a bedtime and returns the best wake times (bedtime + 15 + cycles x 90 minutes). Both return options for 6, 5, 4 and 3 cycles. Times are 'HH:MM' 24-hour. Source: https://hopi.co.uk/sleep-calculator/",
"inputSchema": {
"properties": {
"mode": {
"description": "'wake' to find bedtimes from a wake time, or 'bedtime' to find wake times from a bedtime",
"enum": [
"wake",
"bedtime"
],
"type": "string"
},
"time": {
"description": "The known time as 'HH:MM' (24-hour): the wake time for mode 'wake', or the bedtime for mode 'bedtime'",
"format": "time",
"type": "string"
}
},
"required": [
"mode",
"time"
],
"type": "object"
},
"name": "hopi_sleep_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"options": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"time": {
"type": "string"
}
},
"required": [
"mode",
"options",
"source_url",
"summary",
"time"
],
"type": "object"
}
},
{
"description": "Spin a slot machine reel of names or options and pick one at random. Every item has an equal chance. Returns the chosen item. Source: https://hopi.co.uk/slot-machine-picker/",
"inputSchema": {
"properties": {
"items": {
"description": "The list of names or options on the reel (at least two)",
"maxItems": 100,
"minItems": 2,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "hopi_slot_machine_picker",
"outputSchema": {
"additionalProperties": true,
"properties": {
"index": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"winner": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Turn any title or text into a clean URL slug: lowercase, accents stripped, and every run of spaces, punctuation and symbols collapsed to a single hyphen, with hyphens trimmed from the ends. Source: https://hopi.co.uk/slug-generator/",
"inputSchema": {
"properties": {
"text": {
"description": "The title or text to slugify",
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_slug_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"length": {
"type": "number"
},
"slug": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert text into decorative Unicode styles. 'superscript' uses tiny raised characters, 'smallcaps' uses small capital letters, and 'fullwidth' uses wide monospaced characters. Any character with no styled equivalent is left unchanged. Source: https://hopi.co.uk/small-text-generator/",
"inputSchema": {
"properties": {
"style": {
"default": "superscript",
"description": "Which style to apply (default superscript)",
"enum": [
"superscript",
"smallcaps",
"fullwidth"
],
"type": "string"
},
"text": {
"description": "The text to convert",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_small_text_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"style": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"result",
"source_url",
"style",
"summary"
],
"type": "object"
}
},
{
"description": "List special characters and symbols grouped by category: arrows, stars and hearts, maths, currency, punctuation, legal marks and accents. Optionally filter to a single group. Returns the characters ready to copy. Source: https://hopi.co.uk/special-characters/",
"inputSchema": {
"properties": {
"group": {
"description": "Optional: return only this group. Omit to return every group.",
"enum": [
"arrows",
"stars",
"maths",
"currency",
"punctuation",
"legal",
"accents"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_special_characters",
"outputSchema": {
"additionalProperties": true,
"properties": {
"characters": {
"type": "array"
},
"group": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a speed from one unit to another. Units: mph (miles per hour), kmh (kilometres per hour), ms (metres per second), kn (knots), mach (Mach, at 340.29 m/s). Source: https://hopi.co.uk/speed-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"mph",
"kmh",
"ms",
"kn",
"mach"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"mph",
"kmh",
"ms",
"kn",
"mach"
],
"type": "string"
},
"value": {
"description": "The speed value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_speed_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"from",
"result",
"source_url",
"summary",
"to",
"value"
],
"type": "object"
}
},
{
"description": "Spin the bottle and pick one player at random from those in the circle. Every player has an equal chance. Returns the chosen player. Source: https://hopi.co.uk/spin-the-bottle/",
"inputSchema": {
"properties": {
"players": {
"description": "The list of players in the circle (at least two)",
"maxItems": 20,
"minItems": 2,
"type": "array"
}
},
"required": [
"players"
],
"type": "object"
},
"name": "hopi_spin_the_bottle",
"outputSchema": {
"additionalProperties": true,
"properties": {
"chosen": {
"type": "string"
},
"index": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Format a SQL query: uppercase the keywords, put each clause on its own line and indent conditions, while leaving quoted strings, identifiers, numbers and comments untouched. Only whitespace and keyword case change. Source: https://hopi.co.uk/sql-formatter/",
"inputSchema": {
"properties": {
"sql": {
"description": "The SQL query to format",
"minLength": 1,
"type": "string"
}
},
"required": [
"sql"
],
"type": "object"
},
"name": "hopi_sql_formatter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"formatted": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Turn a quoted staking rate into a final balance and rewards earned. For an APR rate, choose daily or monthly compounding; for an APY rate, compounding is already included. Returns the final balance, rewards earned and the effective APY. Figures are treated as GBP. Source: https://hopi.co.uk/staking-calculator/",
"inputSchema": {
"properties": {
"compounding": {
"default": "daily",
"description": "Compounding frequency for APR (default daily)",
"enum": [
"daily",
"monthly"
],
"type": "string"
},
"principal": {
"description": "Amount staked",
"exclusiveMinimum": 0,
"type": "number"
},
"rate": {
"description": "Quoted rate as a percentage (0 to 1000)",
"maximum": 1000,
"minimum": 0,
"type": "number"
},
"rateType": {
"default": "apr",
"description": "Whether the rate is APR (needs compounding) or APY (default apr)",
"enum": [
"apr",
"apy"
],
"type": "string"
},
"years": {
"description": "Term in years (above 0, up to 100)",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
}
},
"required": [
"principal",
"rate",
"years"
],
"type": "object"
},
"name": "hopi_staking_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"compounding": {
"type": [
"string",
"null"
]
},
"effectiveApyPercent": {
"type": "number"
},
"finalBalance": {
"type": "number"
},
"finalBalanceString": {
"type": "string"
},
"note": {
"type": "string"
},
"rateType": {
"type": "string"
},
"rewards": {
"type": "number"
},
"rewardsString": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out Stamp Duty Land Tax (SDLT) on a property purchase in England and Northern Ireland. Buyer types: 'ftb' first-time buyer (relief up to £500,000, standard rates above), 'home' moving home (main residence), 'additional' second home or buy-to-let (higher rates, only from £40,000). Returns the tax due and the effective rate. Amounts in GBP. Scotland (LBTT) and Wales (LTT) have their own rates. Source: https://hopi.co.uk/stamp-duty-calculator/",
"inputSchema": {
"properties": {
"buyer": {
"description": "'ftb' first-time buyer, 'home' moving home, 'additional' second home or buy-to-let",
"enum": [
"ftb",
"home",
"additional"
],
"type": "string"
},
"price": {
"description": "Property purchase price in GBP",
"exclusiveMinimum": 0,
"maximum": 100000000,
"type": "number"
}
},
"required": [
"price",
"buyer"
],
"type": "object"
},
"name": "hopi_stamp_duty_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"breakdown": {
"type": "array"
},
"buyer": {
"type": "string"
},
"effectiveRatePercent": {
"type": "number"
},
"price": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"stampDuty": {
"type": "number"
},
"summary": {
"type": "string"
}
},
"required": [
"breakdown",
"buyer",
"effectiveRatePercent",
"price",
"source_url",
"stampDuty",
"summary"
],
"type": "object"
}
},
{
"description": "Work out the sample and population standard deviation, sample and population variance, mean and count from a list of numbers. Provide the numbers separated by spaces, commas, semicolons or new lines. Sample figures need at least two values. Source: https://hopi.co.uk/standard-deviation-calculator/",
"inputSchema": {
"properties": {
"numbers": {
"description": "A list of numbers separated by spaces, commas, semicolons or new lines",
"minLength": 1,
"type": "string"
}
},
"required": [
"numbers"
],
"type": "object"
},
"name": "hopi_standard_deviation_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"mean": {
"type": "number"
},
"populationStandardDeviation": {
"type": "number"
},
"populationVariance": {
"type": "number"
},
"sampleStandardDeviation": {
"type": [
"number",
"null"
]
},
"sampleVariance": {
"type": [
"number",
"null"
]
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"count",
"mean",
"populationStandardDeviation",
"populationVariance",
"sampleStandardDeviation",
"sampleVariance",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Find the western zodiac star sign for a date of birth. Dates use the YYYY-MM-DD format (only the month and day matter). Returns the sign, its symbol, date range and element. Source: https://hopi.co.uk/star-sign-calculator/",
"inputSchema": {
"properties": {
"date": {
"description": "Date of birth in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"date"
],
"type": "object"
},
"name": "hopi_star_sign_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"date": {
"type": "string"
},
"element": {
"type": "string"
},
"range": {
"type": "string"
},
"sign": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Work out UK student loan repayments from an annual salary using 2026/27 thresholds. Plans: 'p1' Plan 1 (9% above £26,900), 'p2' Plan 2 (9% above £29,385), 'p4' Plan 4 (9% above £33,795), 'p5' Plan 5 (9% above £25,000), 'pg' Postgraduate Loan (6% above £21,000). An undergraduate plan can optionally add a Postgraduate Loan on top. Returns yearly and monthly repayments. Amounts in GBP. Source: https://hopi.co.uk/student-loan-calculator/",
"inputSchema": {
"properties": {
"addPostgraduate": {
"default": false,
"description": "Add a Postgraduate Loan on top of an undergraduate plan (ignored when plan is pg; default false)",
"type": "boolean"
},
"plan": {
"description": "Repayment plan",
"enum": [
"p1",
"p2",
"p4",
"p5",
"pg"
],
"type": "string"
},
"salary": {
"description": "Annual salary in GBP",
"maximum": 10000000,
"minimum": 0,
"type": "number"
}
},
"required": [
"salary",
"plan"
],
"type": "object"
},
"name": "hopi_student_loan_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"addPostgraduate": {
"type": "boolean"
},
"plan": {
"type": "string"
},
"postgraduatePart": {
"type": "number"
},
"repaymentPerMonth": {
"type": "number"
},
"repaymentPerYear": {
"type": "number"
},
"salary": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"undergraduatePart": {
"type": "number"
}
},
"required": [
"addPostgraduate",
"plan",
"postgraduatePart",
"repaymentPerMonth",
"repaymentPerYear",
"salary",
"source_url",
"summary",
"undergraduatePart"
],
"type": "object"
}
},
{
"description": "Work out UK take-home pay from an annual gross salary for the 2026/27 tax year in England, Wales and Northern Ireland, using code 1257L income tax bands (20/40/45%) with personal allowance taper above £100,000, plus employee National Insurance. Returns net pay per year, month and week, and the tax and NI deducted. Amounts in GBP. Source: https://hopi.co.uk/take-home-pay-calculator/",
"inputSchema": {
"properties": {
"salary": {
"description": "Annual gross salary in GBP",
"maximum": 10000000,
"minimum": 0,
"type": "number"
}
},
"required": [
"salary"
],
"type": "object"
},
"name": "hopi_take_home_pay_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"incomeTax": {
"type": "number"
},
"nationalInsurance": {
"type": "number"
},
"salary": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"takeHomePerMonth": {
"type": "number"
},
"takeHomePerWeek": {
"type": "number"
},
"takeHomePerYear": {
"type": "number"
}
},
"required": [
"incomeTax",
"nationalInsurance",
"salary",
"source_url",
"summary",
"takeHomePerMonth",
"takeHomePerWeek",
"takeHomePerYear"
],
"type": "object"
}
},
{
"description": "Draw a tarot spread from all 78 Rider-Waite-Smith cards, dealt without replacement using cryptographic randomness. Spreads: daily (1 card), past-present-future (3), situation (3: situation, obstacle, advice), decision (5), relationship (6), career (5), celtic (10, Celtic Cross). Returns each position with its card, orientation and keywords, plus counts of Major Arcana and reversed cards. For reflection and fun, not prediction. Source: https://hopi.co.uk/tarot-reader/",
"inputSchema": {
"properties": {
"reversed": {
"description": "Allow reversed cards (default true)",
"type": "boolean"
},
"spread": {
"description": "Which spread to draw",
"enum": [
"daily",
"past-present-future",
"situation",
"decision",
"relationship",
"career",
"celtic"
],
"type": "string"
}
},
"required": [
"spread"
],
"type": "object"
},
"name": "hopi_tarot_reader",
"outputSchema": {
"additionalProperties": true,
"properties": {
"majorCount": {
"type": "number"
},
"positions": {
"type": "array"
},
"reversedCount": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"spread": {
"type": "string"
},
"spreadName": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"majorCount",
"positions",
"reversedCount",
"source_url",
"spread",
"spreadName",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate daily calories (TDEE) and BMR using the Mifflin-St Jeor equation. BMR = 10 x kg + 6.25 x cm - 5 x age + (5 for male, -161 for female). TDEE = BMR x activity factor (sedentary 1.2, light 1.375, moderate 1.55, active 1.725, very_active 1.9). Use units 'metric' (heightCm, weightKg) or 'imperial' (heightInches, weightPounds). Also returns mild-loss (-250), loss (-500) and gain (+500) calorie goals. Source: https://hopi.co.uk/tdee-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"units": {
"const": "metric"
}
}
},
"then": {
"required": [
"heightCm",
"weightKg"
]
}
},
{
"if": {
"properties": {
"units": {
"const": "imperial"
}
}
},
"then": {
"required": [
"heightInches",
"weightPounds"
]
}
}
],
"properties": {
"activity": {
"default": "moderate",
"description": "Activity level, default 'moderate'",
"enum": [
"sedentary",
"light",
"moderate",
"active",
"very_active"
],
"type": "string"
},
"age": {
"description": "Age in years",
"exclusiveMinimum": 0,
"maximum": 120,
"type": "number"
},
"heightCm": {
"description": "Height in centimetres (metric)",
"maximum": 260,
"minimum": 50,
"type": "number"
},
"heightInches": {
"description": "Total height in inches (imperial)",
"exclusiveMinimum": 0,
"type": "number"
},
"sex": {
"description": "Biological sex",
"enum": [
"male",
"female"
],
"type": "string"
},
"units": {
"description": "'metric' (cm, kg) or 'imperial' (inches, pounds)",
"enum": [
"metric",
"imperial"
],
"type": "string"
},
"weightKg": {
"description": "Weight in kilograms (metric)",
"exclusiveMinimum": 0,
"maximum": 500,
"type": "number"
},
"weightPounds": {
"description": "Weight in pounds (imperial)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"sex",
"age",
"units"
],
"type": "object"
},
"name": "hopi_tdee_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"activity": {
"type": "string"
},
"activityFactor": {
"type": "number"
},
"age": {
"type": "number"
},
"bmr": {
"type": "number"
},
"gain": {
"type": "number"
},
"loss": {
"type": "number"
},
"mildLoss": {
"type": "number"
},
"sex": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"tdee": {
"type": "number"
}
},
"required": [
"activity",
"activityFactor",
"age",
"bmr",
"gain",
"loss",
"mildLoss",
"sex",
"source_url",
"summary",
"tdee"
],
"type": "object"
}
},
{
"description": "Generate Luhn-valid TEST card numbers for QA and development, or validate a card number. Test numbers pass the Luhn checksum and match a real brand format but are NOT real accounts, are linked to no one, and cannot be charged. Generate mode returns numbers for a brand (Visa, Mastercard, American Express, Discover); validate mode returns whether a number passes Luhn and its detected brand. Runs on Hopi's server; nothing is stored and no bank is contacted. Source: https://hopi.co.uk/test-card-number-generator/",
"inputSchema": {
"properties": {
"brand": {
"default": "visa",
"description": "Card brand to generate (default visa)",
"enum": [
"visa",
"mastercard",
"amex",
"discover"
],
"type": "string"
},
"count": {
"default": 10,
"description": "How many numbers to generate, 1 to 50 (default 10)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"mode": {
"default": "generate",
"description": "Generate test numbers, or validate a supplied number (default generate)",
"enum": [
"generate",
"validate"
],
"type": "string"
},
"number": {
"description": "For validate mode: the card number to check (spaces and dashes are ignored)",
"type": "string"
}
},
"type": "object"
},
"name": "hopi_test_card_number_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"brand": {
"type": "string"
},
"count": {
"type": "number"
},
"mode": {
"type": "string"
},
"note": {
"type": "string"
},
"numbers": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"brand",
"mode",
"note",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Repeat a piece of text a chosen number of times, joined by an optional separator, with optional line numbering. Count is capped at 10000 repeats and the output is capped at 100000 characters. Returns the repeated text plus its character and line counts. Source: https://hopi.co.uk/text-repeater/",
"inputSchema": {
"properties": {
"count": {
"description": "How many times to repeat it (1 to 10000)",
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"customSeparator": {
"description": "The separator string to use when separator is 'custom'",
"type": "string"
},
"numbering": {
"default": false,
"description": "Prefix each repeat with a number, e.g. '1. ' (default false)",
"type": "boolean"
},
"separator": {
"default": "none",
"description": "How to join the repeats (default none)",
"enum": [
"none",
"space",
"newline",
"comma",
"custom"
],
"type": "string"
},
"text": {
"description": "The text to repeat",
"type": "string"
}
},
"required": [
"text",
"count"
],
"type": "object"
},
"name": "hopi_text_repeater",
"outputSchema": {
"additionalProperties": true,
"properties": {
"capped": {
"type": "boolean"
},
"characters": {
"type": "number"
},
"lines": {
"type": "number"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Split a long block of text into smaller blocks. In 'length' mode it splits into chunks up to a maximum character size, breaking at spaces where possible, and can add 1/n numbering to each block. In 'delimiter' mode it splits wherever a delimiter appears (use \\n for newline, \\t for tab). Returns the list of blocks. Source: https://hopi.co.uk/text-splitter/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "delimiter"
}
}
},
"then": {
"required": [
"delimiter"
]
}
}
],
"properties": {
"delimiter": {
"description": "The delimiter for delimiter mode; \\n and \\t are interpreted as newline and tab",
"minLength": 1,
"type": "string"
},
"mode": {
"default": "length",
"description": "'length' splits by character size (default), 'delimiter' splits at a delimiter",
"enum": [
"length",
"delimiter"
],
"type": "string"
},
"numbered": {
"default": false,
"description": "Add ' n/total' numbering to each block in length mode (default false)",
"type": "boolean"
},
"size": {
"default": 280,
"description": "Maximum characters per block for length mode (at least 10, default 280)",
"minimum": 10,
"type": "integer"
},
"text": {
"description": "The text to split",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_text_splitter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"blocks": {
"type": "array"
},
"count": {
"type": "number"
},
"mode": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"blocks",
"count",
"mode",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Add or subtract two durations, each given as hours and minutes. Returns the total as an H:MM clock value, as decimal hours, and as total minutes. Results can be negative when subtracting. Source: https://hopi.co.uk/time-calculator/",
"inputSchema": {
"properties": {
"hours1": {
"default": 0,
"description": "Hours of the first duration (default 0)",
"minimum": 0,
"type": "number"
},
"hours2": {
"default": 0,
"description": "Hours of the second duration (default 0)",
"minimum": 0,
"type": "number"
},
"minutes1": {
"default": 0,
"description": "Minutes of the first duration (default 0)",
"minimum": 0,
"type": "number"
},
"minutes2": {
"default": 0,
"description": "Minutes of the second duration (default 0)",
"minimum": 0,
"type": "number"
},
"operation": {
"default": "add",
"description": "Add or subtract the second duration from the first (default 'add')",
"enum": [
"add",
"subtract"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_time_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"clock": {
"type": "string"
},
"decimalHours": {
"type": "number"
},
"operation": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalMinutes": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a wall-clock date and time from one time zone to another, using the server's IANA time zone data (so daylight saving is handled). Date uses YYYY-MM-DD and time uses 24-hour HH:MM. Zones are IANA identifiers such as Europe/London or America/New_York. Returns the converted time, the day difference, and both UTC offsets. Source: https://hopi.co.uk/time-zone-converter/",
"inputSchema": {
"properties": {
"date": {
"description": "The date in the source zone, YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"fromZone": {
"description": "Source IANA time zone, e.g. Europe/London",
"enum": [
"UTC",
"Europe/London",
"Europe/Paris",
"Europe/Berlin",
"Europe/Madrid",
"Europe/Athens",
"Europe/Moscow",
"Asia/Dubai",
"Asia/Kolkata",
"Asia/Bangkok",
"Asia/Singapore",
"Asia/Hong_Kong",
"Asia/Shanghai",
"Asia/Tokyo",
"Australia/Sydney",
"Pacific/Auckland",
"America/New_York",
"America/Chicago",
"America/Denver",
"America/Los_Angeles",
"America/Sao_Paulo"
],
"type": "string"
},
"time": {
"description": "The time in the source zone, 24-hour HH:MM format",
"format": "time",
"type": "string"
},
"toZone": {
"description": "Target IANA time zone, e.g. America/New_York",
"enum": [
"UTC",
"Europe/London",
"Europe/Paris",
"Europe/Berlin",
"Europe/Madrid",
"Europe/Athens",
"Europe/Moscow",
"Asia/Dubai",
"Asia/Kolkata",
"Asia/Bangkok",
"Asia/Singapore",
"Asia/Hong_Kong",
"Asia/Shanghai",
"Asia/Tokyo",
"Australia/Sydney",
"Pacific/Auckland",
"America/New_York",
"America/Chicago",
"America/Denver",
"America/Los_Angeles",
"America/Sao_Paulo"
],
"type": "string"
}
},
"required": [
"date",
"time",
"fromZone",
"toZone"
],
"type": "object"
},
"name": "hopi_time_zone_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"dayDifference": {
"type": "number"
},
"dayNote": {
"type": "string"
},
"fromOffset": {
"type": "string"
},
"fromZone": {
"type": "string"
},
"onDstGap": {
"type": "boolean"
},
"result": {
"type": "string"
},
"resultLong": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"toOffset": {
"type": "string"
},
"toZone": {
"type": "string"
}
},
"required": [
"dayDifference",
"dayNote",
"fromOffset",
"fromZone",
"onDstGap",
"result",
"resultLong",
"source_url",
"summary",
"toOffset",
"toZone"
],
"type": "object"
}
},
{
"description": "Work out a tip on a bill and optionally split the total between people. Returns the tip amount, the total, and the amount per person. Source: https://hopi.co.uk/tip-calculator/",
"inputSchema": {
"properties": {
"bill": {
"description": "The bill amount before tip",
"type": "number"
},
"split": {
"default": 1,
"description": "Number of people to split between (default 1)",
"minimum": 1,
"type": "integer"
},
"tipPercent": {
"default": 12.5,
"description": "Tip as a percentage (default 12.5)",
"minimum": 0,
"type": "number"
}
},
"required": [
"bill"
],
"type": "object"
},
"name": "hopi_tip_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bill": {
"type": "number"
},
"perPerson": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"split": {
"type": "number"
},
"summary": {
"type": "string"
},
"tip": {
"type": "number"
},
"tipPercent": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Solve a right-angle triangle from any two given values, at least one of which must be a side. Sides: a (opposite), b (adjacent), c (hypotenuse). angleA is angle A in degrees, between 0 and 90 (the third angle is the 90 degree right angle). Returns all three sides, both non-right angles, the area and the perimeter. Source: https://hopi.co.uk/triangle-calculator/",
"inputSchema": {
"properties": {
"a": {
"description": "Side a, the opposite (greater than 0)",
"exclusiveMinimum": 0,
"type": "number"
},
"angleA": {
"description": "Angle A in degrees, strictly between 0 and 90",
"exclusiveMaximum": 90,
"exclusiveMinimum": 0,
"type": "number"
},
"b": {
"description": "Side b, the adjacent (greater than 0)",
"exclusiveMinimum": 0,
"type": "number"
},
"c": {
"description": "Side c, the hypotenuse (greater than 0, must be the longest side)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [],
"type": "object"
},
"name": "hopi_triangle_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"a": {
"type": "number"
},
"angleA": {
"type": "number"
},
"angleB": {
"type": "number"
},
"area": {
"type": "number"
},
"b": {
"type": "number"
},
"c": {
"type": "number"
},
"method": {
"type": "string"
},
"perimeter": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"a",
"angleA",
"angleB",
"area",
"b",
"c",
"method",
"perimeter",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Add up UCAS tariff points from A-level grades using the current tariff: A* 56, A 48, B 40, C 32, D 24, E 16. Give the number of grades at each level. Returns the total points and the number of grades counted. Source: https://hopi.co.uk/ucas-points-calculator/",
"inputSchema": {
"properties": {
"a": {
"description": "Number of A grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"aStar": {
"description": "Number of A* grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"b": {
"description": "Number of B grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"c": {
"description": "Number of C grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"d": {
"description": "Number of D grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"e": {
"description": "Number of E grades (0 to 20)",
"maximum": 20,
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_ucas_points_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"gradesCounted": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"totalPoints": {
"type": "number"
}
},
"required": [
"gradesCounted",
"source_url",
"summary",
"totalPoints"
],
"type": "object"
}
},
{
"description": "Inspect text as Unicode. Returns the number of code points (iterated so emoji and other astral characters count as one), the UTF-16 length, the UTF-8 byte count, and per-character details: the character, its code point as U+XXXX, its decimal value, its UTF-8 bytes as hex, its HTML entity and a JavaScript escape. The character list is capped at 2000 entries. Source: https://hopi.co.uk/unicode-inspector/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to inspect",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_unicode_inspector",
"outputSchema": {
"additionalProperties": true,
"properties": {
"characters": {
"type": "array"
},
"codePoints": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"utf16Length": {
"type": "number"
},
"utf8Bytes": {
"type": "number"
}
},
"required": [
"characters",
"codePoints",
"source_url",
"summary",
"utf16Length",
"utf8Bytes"
],
"type": "object"
}
},
{
"description": "Compare the unit price of two or more items to find the best value. Each item has a price in GBP, a quantity and a unit ('g', 'kg', 'ml', 'l' or 'each'). Weights are compared per kg, volumes per litre, and counts each. Returns the unit price of every item and which is cheapest. Source: https://hopi.co.uk/unit-price-calculator/",
"inputSchema": {
"properties": {
"items": {
"description": "The items to compare (at least two)",
"items": {
"properties": {
"price": {
"description": "Price in GBP",
"minimum": 0,
"type": "number"
},
"quantity": {
"description": "Quantity in the chosen unit (greater than zero)",
"exclusiveMinimum": 0,
"type": "number"
},
"unit": {
"description": "Unit of the quantity",
"enum": [
"g",
"kg",
"ml",
"l",
"each"
],
"type": "string"
}
},
"required": [
"price",
"quantity",
"unit"
],
"type": "object"
},
"minItems": 2,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "hopi_unit_price_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bestItem": {
"type": "number"
},
"bestUnitPrice": {
"type": "number"
},
"items": {
"type": "array"
},
"mixedUnits": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"bestItem",
"bestUnitPrice",
"items",
"mixedUnits",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert between Unix epoch timestamps and readable dates. Pass a timestamp to get the UTC and local date (seconds or milliseconds detected automatically), or pass a date (and optional time, interpreted in local time) to get the timestamp in seconds and milliseconds. Source: https://hopi.co.uk/unix-timestamp-converter/",
"inputSchema": {
"anyOf": [
{
"required": [
"timestamp"
]
},
{
"required": [
"date"
]
}
],
"properties": {
"date": {
"description": "A date as YYYY-MM-DD. Provide this to convert a date to a timestamp.",
"type": "string"
},
"time": {
"description": "Optional time as HH:MM:SS to accompany 'date' (default 00:00:00), in local time.",
"type": "string"
},
"timestamp": {
"description": "A Unix timestamp in seconds or milliseconds (may be negative). Provide this to convert a timestamp to a date.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_unix_timestamp_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"direction": {
"type": "string"
},
"iso": {
"type": "string"
},
"local": {
"type": "string"
},
"relative": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"unit": {
"type": "string"
},
"utc": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Flip text upside down using Unicode look-alike characters and reverse its order, so it reads as if rotated 180 degrees. Characters with no upside-down equivalent are kept as they are (but still reversed in position). Source: https://hopi.co.uk/upside-down-text/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to flip upside down",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_upside_down_text",
"outputSchema": {
"additionalProperties": true,
"properties": {
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Percent-encode or decode text for URLs. Component mode encodes every reserved character (right for a single query value); whole-URL mode leaves structural characters like / ? & alone (right for a complete address). Source: https://hopi.co.uk/url-encoder/",
"inputSchema": {
"properties": {
"action": {
"default": "encode",
"description": "Whether to encode or decode (default 'encode')",
"enum": [
"encode",
"decode"
],
"type": "string"
},
"mode": {
"default": "component",
"description": "'component' for a single value, 'uri' for a whole URL (default 'component')",
"enum": [
"component",
"uri"
],
"type": "string"
},
"text": {
"description": "The text or URL to encode or decode",
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_url_encoder",
"outputSchema": {
"additionalProperties": true,
"properties": {
"action": {
"type": "string"
},
"mode": {
"type": "string"
},
"result": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"action",
"mode",
"result",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Parse a URL into its parts: protocol, host, port, path, fragment, origin and every decoded query parameter. If no scheme is given, https:// is assumed for a bare domain. Source: https://hopi.co.uk/url-parser/",
"inputSchema": {
"properties": {
"url": {
"description": "The URL to parse",
"minLength": 1,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "hopi_url_parser",
"outputSchema": {
"additionalProperties": true,
"properties": {
"fragment": {
"type": "string"
},
"host": {
"type": "string"
},
"origin": {
"type": "string"
},
"params": {
"type": "array"
},
"path": {
"type": "string"
},
"port": {
"type": "string"
},
"portIsDefault": {
"type": "boolean"
},
"protocol": {
"type": "string"
},
"schemeAssumed": {
"type": "boolean"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Parse a user agent string into its parts: browser and version, rendering engine, operating system and version, device type (mobile, tablet or desktop) and whether it looks like a bot or crawler. Uses an ordered pattern table (Edge before Chrome, Chrome before Safari). User agent strings can be spoofed, so results are best-effort, not proof. Source: https://hopi.co.uk/user-agent-parser/",
"inputSchema": {
"properties": {
"ua": {
"description": "The user agent string to parse",
"minLength": 1,
"type": "string"
}
},
"required": [
"ua"
],
"type": "object"
},
"name": "hopi_user_agent_parser",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bot": {
"type": "boolean"
},
"browser": {
"type": "string"
},
"device": {
"type": "string"
},
"engine": {
"type": "string"
},
"os": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"bot",
"browser",
"device",
"engine",
"os",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Invent memorable usernames by pairing a random adjective with a random noun, optionally with a two-digit number on the end. Returns a list of unique usernames. Source: https://hopi.co.uk/username-generator/",
"inputSchema": {
"properties": {
"addNumbers": {
"default": false,
"description": "Append a two-digit number to each name (default false)",
"type": "boolean"
},
"count": {
"default": 6,
"description": "How many usernames to generate, 1 to 50 (default 6)",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_username_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"usernames": {
"type": "array"
}
},
"required": [
"source_url",
"summary",
"usernames"
],
"type": "object"
}
},
{
"description": "Add UTM campaign parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) to a URL without breaking existing query parameters. Warns on mixed case and notes any missing core parameters. Only http and https URLs are accepted. Source: https://hopi.co.uk/utm-link-generator/",
"inputSchema": {
"properties": {
"url": {
"description": "The base URL to tag (https:// assumed if no scheme given)",
"minLength": 1,
"type": "string"
},
"utm_campaign": {
"description": "The campaign name",
"type": "string"
},
"utm_content": {
"description": "Content variant, e.g. button vs text link (optional)",
"type": "string"
},
"utm_medium": {
"description": "The marketing medium, e.g. email",
"type": "string"
},
"utm_source": {
"description": "Where the traffic comes from, e.g. newsletter",
"type": "string"
},
"utm_term": {
"description": "Paid keyword term (optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "hopi_utm_link_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"notes": {
"type": "array"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"url": {
"type": "string"
},
"warning": {
"type": [
"string",
"null"
]
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Generate 1 to 100 random version 4 UUIDs using a cryptographically secure random source. Never uses Math.random. Source: https://hopi.co.uk/uuid-generator/",
"inputSchema": {
"properties": {
"count": {
"default": 1,
"description": "How many UUIDs to generate, 1 to 100 (default 1)",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "hopi_uuid_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"count": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"uuids": {
"type": "array"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Add UK VAT to a net amount, or remove VAT from a gross (VAT-inclusive) amount. Default rate is the UK standard 20 percent. Returns the net, VAT and gross figures. Source: https://hopi.co.uk/vat-calculator/",
"inputSchema": {
"properties": {
"amount": {
"description": "The money amount",
"type": "number"
},
"mode": {
"description": "'add' VAT to a net amount, or 'remove' VAT from a gross amount",
"enum": [
"add",
"remove"
],
"type": "string"
},
"rate": {
"default": 20,
"description": "VAT rate as a percentage (default 20)",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"amount",
"mode"
],
"type": "object"
},
"name": "hopi_vat_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"gross": {
"type": "number"
},
"mode": {
"type": "string"
},
"net": {
"type": "number"
},
"rate": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"vat": {
"type": "number"
}
},
"required": [
"gross",
"mode",
"net",
"rate",
"source_url",
"summary",
"vat"
],
"type": "object"
}
},
{
"description": "Encode or decode text with the classic Vigenere cipher using a keyword. Each letter is shifted by the matching keyword letter (A is 0 to Z is 25), the keyword repeating across the message. Only A to Z letters are changed and case is preserved; numbers, spaces and punctuation pass through unchanged and do not advance the keyword. The keyword uses only its letters. Decoding reverses the shift. Source: https://hopi.co.uk/vigenere-cipher/",
"inputSchema": {
"properties": {
"key": {
"description": "The keyword (only its A to Z letters are used)",
"type": "string"
},
"mode": {
"default": "encode",
"description": "'encode' to apply the cipher, 'decode' to reverse it (default encode)",
"enum": [
"encode",
"decode"
],
"type": "string"
},
"text": {
"description": "The text to transform",
"type": "string"
}
},
"required": [
"key",
"text"
],
"type": "object"
},
"name": "hopi_vigenere_cipher",
"outputSchema": {
"additionalProperties": true,
"properties": {
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"output",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a volume from one unit to another. Units: ml (millilitres), l (litres), ukpt (UK pints), ukgal (UK gallons), usgal (US gallons), ukfloz (UK fluid ounces), usfloz (US fluid ounces), m3 (cubic metres). Source: https://hopi.co.uk/volume-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"ml",
"l",
"ukpt",
"ukgal",
"usgal",
"ukfloz",
"usfloz",
"m3"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"ml",
"l",
"ukpt",
"ukgal",
"usgal",
"ukfloz",
"usfloz",
"m3"
],
"type": "string"
},
"value": {
"description": "The volume value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_volume_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Estimate a rough daily fluid target from body weight, using 30 to 35 ml per kg, plus an activity add (sedentary 0, light 250, moderate 500, active 750, very_active 1000 ml) and 500 ml more for hot conditions. Use units 'metric' (weightKg) or 'imperial' (weightStone and weightPounds). Returns a low-to-high range in litres, millilitres and 250 ml glasses. Source: https://hopi.co.uk/water-intake-calculator/",
"inputSchema": {
"allOf": [
{
"if": {
"properties": {
"units": {
"const": "metric"
}
}
},
"then": {
"required": [
"weightKg"
]
}
}
],
"properties": {
"activity": {
"default": "sedentary",
"description": "Activity level, default 'sedentary'",
"enum": [
"sedentary",
"light",
"moderate",
"active",
"very_active"
],
"type": "string"
},
"hot": {
"default": false,
"description": "Add 500 ml for hot conditions. Default false",
"type": "boolean"
},
"units": {
"description": "'metric' (kg) or 'imperial' (stone and pounds)",
"enum": [
"metric",
"imperial"
],
"type": "string"
},
"weightKg": {
"description": "Weight in kilograms (metric)",
"exclusiveMinimum": 0,
"maximum": 500,
"type": "number"
},
"weightPounds": {
"description": "Pounds part of weight (imperial)",
"minimum": 0,
"type": "number"
},
"weightStone": {
"description": "Whole stone part of weight (imperial)",
"minimum": 0,
"type": "number"
}
},
"required": [
"units"
],
"type": "object"
},
"name": "hopi_water_intake_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"highGlasses": {
"type": "number"
},
"highLitres": {
"type": "number"
},
"highMl": {
"type": "number"
},
"lowGlasses": {
"type": "number"
},
"lowLitres": {
"type": "number"
},
"lowMl": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"units": {
"type": "string"
}
},
"required": [
"highGlasses",
"highLitres",
"highMl",
"lowGlasses",
"lowLitres",
"lowMl",
"source_url",
"summary",
"units"
],
"type": "object"
}
},
{
"description": "Find the ISO 8601 week number for a date. Dates use the YYYY-MM-DD format and default to today. ISO weeks run Monday to Sunday and week 1 holds the year's first Thursday. Returns the week number, ISO year, and the Monday and Sunday of that week. Source: https://hopi.co.uk/week-number/",
"inputSchema": {
"properties": {
"date": {
"description": "Optional date in YYYY-MM-DD format (defaults to today)",
"format": "date",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "hopi_week_number",
"outputSchema": {
"additionalProperties": true,
"properties": {
"date": {
"type": "string"
},
"isoYear": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"week": {
"type": "number"
},
"weekEnd": {
"type": "string"
},
"weekStart": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Convert a weight from one unit to another. Units: g (grams), kg (kilograms), oz (ounces), lb (pounds), st (stone). Source: https://hopi.co.uk/weight-converter/",
"inputSchema": {
"properties": {
"from": {
"description": "Unit to convert from",
"enum": [
"g",
"kg",
"oz",
"lb",
"st"
],
"type": "string"
},
"to": {
"description": "Unit to convert to",
"enum": [
"g",
"kg",
"oz",
"lb",
"st"
],
"type": "string"
},
"value": {
"description": "The weight value to convert",
"minimum": 0,
"type": "number"
}
},
"required": [
"value",
"from",
"to"
],
"type": "object"
},
"name": "hopi_weight_converter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"from": {
"type": "string"
},
"result": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Spin a wheel of names or options and pick one at random. Every item has an equal chance. Returns the chosen item. Source: https://hopi.co.uk/wheel-spinner/",
"inputSchema": {
"properties": {
"items": {
"description": "The list of names or options on the wheel (at least two)",
"maxItems": 100,
"minItems": 2,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "hopi_wheel_spinner",
"outputSchema": {
"additionalProperties": true,
"properties": {
"index": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"winner": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Analyse a block of text and return the word count, character count (with and without spaces), sentence count, paragraph count and an estimated reading time at 225 words per minute. Source: https://hopi.co.uk/word-counter/",
"inputSchema": {
"properties": {
"text": {
"description": "The text to analyse",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_word_counter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"characters": {
"type": "number"
},
"charactersNoSpaces": {
"type": "number"
},
"paragraphs": {
"type": "number"
},
"readingTime": {
"type": "string"
},
"sentences": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"words": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Count how often each word appears in a block of text, sorted from most to least frequent. Returns the total word count, the number of unique words, and the top 20 words with their counts and percentages. Common stop words (the, and, of, ...) can optionally be ignored. Source: https://hopi.co.uk/word-frequency-counter/",
"inputSchema": {
"properties": {
"ignoreStopwords": {
"default": false,
"description": "Ignore common words such as the, and, of, to (default false)",
"type": "boolean"
},
"text": {
"description": "The text to analyse",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "hopi_word_frequency_counter",
"outputSchema": {
"additionalProperties": true,
"properties": {
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"top": {
"type": "array"
},
"total": {
"type": "number"
},
"unique": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Count the working days (Monday to Friday) between two dates, inclusive of both ends, optionally excluding England and Wales bank holidays. Dates use the YYYY-MM-DD format. Bank holiday data covers 2026 and 2027 only, so outside those years just weekends are excluded. Source: https://hopi.co.uk/working-days-calculator/",
"inputSchema": {
"properties": {
"bankHolidays": {
"default": true,
"description": "Exclude England and Wales bank holidays as well as weekends (default true)",
"type": "boolean"
},
"from": {
"description": "Start date in YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"to": {
"description": "End date in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"name": "hopi_working_days_calculator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"bankHolidays": {
"type": "boolean"
},
"bankHolidaysExcluded": {
"type": "number"
},
"complete": {
"type": "boolean"
},
"from": {
"type": "string"
},
"holidayCoverage": {
"type": "object"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
},
"swapped": {
"type": "boolean"
},
"to": {
"type": "string"
},
"totalDays": {
"type": "number"
},
"warnings": {
"type": "array"
},
"weekendDays": {
"type": "number"
},
"workingDays": {
"type": "number"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Draw original, family-friendly would-you-rather pairs, open icebreaker questions or rapid-fire this-or-that pairs, optionally filtered by category. Would-you-rather categories: silly, food, travel, work, deep, kids. Icebreaker categories: work, party, deep, kids. This-or-that has no categories. Returns distinct items drawn at random. Source: https://hopi.co.uk/would-you-rather-generator/",
"inputSchema": {
"properties": {
"category": {
"description": "Optional category filter (would-you-rather: silly, food, travel, work, deep, kids; icebreaker: work, party, deep, kids). Omit for all.",
"type": "string"
},
"count": {
"default": 1,
"description": "How many to draw, 1 to 20 (default 1)",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"mode": {
"description": "Which list to draw from",
"enum": [
"would-you-rather",
"icebreaker",
"this-or-that"
],
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_would_you_rather_generator",
"outputSchema": {
"additionalProperties": true,
"properties": {
"category": {
"type": "string"
},
"count": {
"type": "number"
},
"items": {
"type": "array"
},
"mode": {
"type": "string"
},
"poolSize": {
"type": "number"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"category",
"count",
"items",
"mode",
"poolSize",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Get a random yes or no decision, with an optional maybe. Returns the answer. Source: https://hopi.co.uk/yes-no-wheel/",
"inputSchema": {
"properties": {
"allowMaybe": {
"default": false,
"description": "Include 'maybe' as a possible answer (default false)",
"type": "boolean"
}
},
"required": [],
"type": "object"
},
"name": "hopi_yes_no_wheel",
"outputSchema": {
"additionalProperties": true,
"properties": {
"answer": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"answer",
"source_url",
"summary"
],
"type": "object"
}
},
{
"description": "Hide a secret message inside ordinary text using invisible zero-width Unicode characters, reveal a message hidden that way, or clean zero-width characters out of text. Mode 'hide' takes cover and secret (optional spread to distribute the invisible run between words) and returns the output text plus the number of invisible characters added (UTF-8 bytes x 4 + 1 end marker). Mode 'reveal' takes text and returns the decoded message, or an error if nothing is hidden. Mode 'clean' takes text and strips U+200B, U+200C, U+200D, U+2060, U+FEFF, U+180E and U+00AD, reporting how many were removed. This is hiding, not encryption. Source: https://hopi.co.uk/zero-width-text-hider/",
"inputSchema": {
"properties": {
"cover": {
"description": "Hide mode: the visible cover text that carries the message",
"type": "string"
},
"mode": {
"description": "hide, reveal or clean",
"enum": [
"hide",
"reveal",
"clean"
],
"type": "string"
},
"secret": {
"description": "Hide mode: the message to hide",
"type": "string"
},
"spread": {
"description": "Hide mode: distribute the invisible run evenly between words instead of placing it after the first word",
"type": "boolean"
},
"text": {
"description": "Reveal and clean modes: the text to inspect",
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "hopi_zero_width_text_hider",
"outputSchema": {
"additionalProperties": true,
"properties": {
"invisibleCount": {
"type": "number"
},
"output": {
"type": "string"
},
"source_url": {
"description": "The tool's page on hopi.co.uk (cite or open to check the figure)",
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"source_url",
"summary"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:6c5a4174d19fe4471a9ea17942b5c816c1779ad046d5ccad808131a6fd0e20bc | sha256sum