Snuug room calculators is an MCP server published by app.snuug, hosted at snuug.app. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 14 tools, including rug_size, sofa_fit, tv_height_distance, picture_height, room_size.
14 room calculators in cm: rug size, sofa fit, TV height, paint, curtains, lighting and more.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use when someone asks what size rug fits their living room or goes under or in front of their sofa. Returns the UK and US stock rug sizes that run past each end of the sofa and leave bare floor to the walls.
| Parameter | Type | Description |
|---|---|---|
| armchairs | string | none, or two armchairs facing the sofa, which the rug must also reach. |
| legs_on_rug | string | Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only). |
| room_width_cm | number | The room’s width along the wall the sofa stands against (cm). |
| sofa_depth_cm | number | The sofa’s depth, back to front (cm). |
| sofa_width_cm | number |
None yet. Changes appear after a server's second daily check.
| The sofa’s width, arm to arm (cm). |
| room_length_cm | number | The room’s length, out from the sofa wall (cm). |
{
"name": "rug_size",
"title": "Rug size calculator",
"description": "Use when someone asks what size rug fits their living room or goes under or in front of their sofa. Returns the UK and US stock rug sizes that run past each end of the sofa and leave bare floor to the walls.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"armchairs": {
"enum": [
"none",
"two"
],
"type": "string",
"default": "none",
"description": "none, or two armchairs facing the sofa, which the rug must also reach."
},
"legs_on_rug": {
"enum": [
"all",
"front",
"none"
],
"type": "string",
"default": "front",
"description": "Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only)."
},
"room_width_cm": {
"type": "number",
"default": 400,
"maximum": 1500,
"minimum": 150,
"description": "The room’s width along the wall the sofa stands against (cm)."
},
"sofa_depth_cm": {
"type": "number",
"default": 90,
"maximum": 200,
"minimum": 50,
"description": "The sofa’s depth, back to front (cm)."
},
"sofa_width_cm": {
"type": "number",
"default": 210,
"maximum": 500,
"minimum": 60,
"description": "The sofa’s width, arm to arm (cm)."
},
"room_length_cm": {
"type": "number",
"default": 450,
"maximum": 1500,
"minimum": 150,
"description": "The room’s length, out from the sofa wall (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "rug-size",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"uk_rug",
"us_rug",
"needed",
"least_floor_cm",
"plan"
],
"properties": {
"plan": {
"type": "object",
"description": "Where things sit, out from the sofa wall: rug_from_cm, table_from_cm, table_length_cm, chairs_from_cm"
},
"needed": {
"type": "object",
"description": "The rug the rule asks for: width_cm, ideal_width_cm, depth_cm"
},
"uk_rug": {
"type": [
"object",
"null"
],
"description": "A stock rug: name, width_cm (along the sofa), depth_cm, turned, meets_rule, past_sofa_end_cm (negative: short of the sofa), floor_each_side_cm, floor_far_end_cm, sofa_share. The smallest UK size that meets the rule and fits the room, else the closest that fits; null if none fits"
},
"us_rug": {
"type": [
"object",
"null"
],
"description": "A stock rug: name, width_cm (along the sofa), depth_cm, turned, meets_rule, past_sofa_end_cm (negative: short of the sofa), floor_each_side_cm, floor_far_end_cm, sofa_share. The same for US sizes (in feet)"
},
"least_floor_cm": {
"type": "number",
"description": "The least bare floor between rug and wall"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"sofa_width_cm",
"sofa_depth_cm",
"room_width_cm",
"room_length_cm",
"legs_on_rug",
"armchairs"
],
"properties": {
"armchairs": {
"enum": [
"none",
"two"
],
"type": [
"string",
"null"
],
"description": "none, or two armchairs facing the sofa, which the rug must also reach."
},
"legs_on_rug": {
"enum": [
"all",
"front",
"none"
],
"type": [
"string",
"null"
],
"description": "Which sofa legs stand on the rug: all, front (the usual choice) or none (the rug sits under the coffee table only)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 1500,
"minimum": 150,
"description": "The room’s width along the wall the sofa stands against (cm)."
},
"sofa_depth_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 50,
"description": "The sofa’s depth, back to front (cm)."
},
"sofa_width_cm": {
"type": [
"number",
"null"
],
"maximum": 500,
"minimum": 60,
"description": "The sofa’s width, arm to arm (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 1500,
"minimum": 150,
"description": "The room’s length, out from the sofa wall (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Rug size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks whether a sofa (or another large piece) will fit through a door, round a turn in a hall or up to a room. Applies the furniture shops’ straight, tipped-back, on-end and swing tests and grades each ok, tight or no.
| Parameter | Type | Description |
|---|---|---|
| route | string | turn if the sofa must turn into the room after the door, straight if it goes straight on. |
| door_width_cm | number | The door’s clear width: the gap with the door open, frame to door edge (cm). |
| hall_width_cm | number | The width of the hall or landing beyond the door, where the sofa must turn (cm). |
| sofa_depth_cm | number | The sofa’s depth, back to front (cm). |
| sofa_width_cm | number | The sofa’s width, arm to arm (its length when carried) (cm). |
| door_height_cm | number | The door’s clear height (cm). |
| sofa_height_cm | number | The sofa’s height, floor to the top of the back (cm). |
| sofa_diagonal_cm | number | The sofa’s diagonal depth: from the back bottom corner to a straight edge laid from the top of the back to the front of the arm (cm). |
{
"name": "sofa_fit",
"title": "Sofa fit calculator",
"description": "Use when someone asks whether a sofa (or another large piece) will fit through a door, round a turn in a hall or up to a room. Applies the furniture shops’ straight, tipped-back, on-end and swing tests and grades each ok, tight or no.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"route": {
"enum": [
"turn",
"straight"
],
"type": "string",
"default": "turn",
"description": "turn if the sofa must turn into the room after the door, straight if it goes straight on."
},
"door_width_cm": {
"type": "number",
"default": 74,
"maximum": 300,
"minimum": 40,
"description": "The door’s clear width: the gap with the door open, frame to door edge (cm)."
},
"hall_width_cm": {
"type": "number",
"default": 100,
"maximum": 1000,
"minimum": 40,
"description": "The width of the hall or landing beyond the door, where the sofa must turn (cm)."
},
"sofa_depth_cm": {
"type": "number",
"default": 86,
"maximum": 250,
"minimum": 40,
"description": "The sofa’s depth, back to front (cm)."
},
"sofa_width_cm": {
"type": "number",
"default": 180,
"maximum": 500,
"minimum": 50,
"description": "The sofa’s width, arm to arm (its length when carried) (cm)."
},
"door_height_cm": {
"type": "number",
"default": 198,
"maximum": 400,
"minimum": 120,
"description": "The door’s clear height (cm)."
},
"sofa_height_cm": {
"type": "number",
"default": 80,
"maximum": 250,
"minimum": 40,
"description": "The sofa’s height, floor to the top of the back (cm)."
},
"sofa_diagonal_cm": {
"type": "number",
"default": 72,
"maximum": 250,
"minimum": 30,
"description": "The sofa’s diagonal depth: from the back bottom corner to a straight edge laid from the top of the back to the front of the arm (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "sofa-fit",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"verdict",
"door",
"turn",
"checks",
"end_across_cm",
"end_across",
"margin_cm",
"size_varies_pct"
],
"properties": {
"door": {
"type": "object",
"description": "The better way through the door: how (straight or tipped), clear_cm (to spare; negative: too big), grade"
},
"turn": {
"type": "object",
"description": "The better way to turn after it: how (end, swing or none), clear_cm (null with none), grade"
},
"checks": {
"type": "object",
"description": "Each test: straight, tipped, on_end and swing, each with clear_cm and grade"
},
"verdict": {
"type": "string",
"description": "ok, tight or no"
},
"margin_cm": {
"type": "number",
"description": "Under this much to spare is tight"
},
"end_across": {
"type": "string",
"description": "Which side goes across: depth or height"
},
"end_across_cm": {
"type": "number",
"description": "The sofa’s end across the door"
},
"size_varies_pct": {
"type": "number",
"description": "How far sofas vary from their listed size"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"door_width_cm",
"door_height_cm",
"hall_width_cm",
"route",
"sofa_width_cm",
"sofa_depth_cm",
"sofa_height_cm",
"sofa_diagonal_cm"
],
"properties": {
"route": {
"enum": [
"turn",
"straight"
],
"type": [
"string",
"null"
],
"description": "turn if the sofa must turn into the room after the door, straight if it goes straight on."
},
"door_width_cm": {
"type": [
"number",
"null"
],
"maximum": 300,
"minimum": 40,
"description": "The door’s clear width: the gap with the door open, frame to door edge (cm)."
},
"hall_width_cm": {
"type": [
"number",
"null"
],
"maximum": 1000,
"minimum": 40,
"description": "The width of the hall or landing beyond the door, where the sofa must turn (cm)."
},
"sofa_depth_cm": {
"type": [
"number",
"null"
],
"maximum": 250,
"minimum": 40,
"description": "The sofa’s depth, back to front (cm)."
},
"sofa_width_cm": {
"type": [
"number",
"null"
],
"maximum": 500,
"minimum": 50,
"description": "The sofa’s width, arm to arm (its length when carried) (cm)."
},
"door_height_cm": {
"type": [
"number",
"null"
],
"maximum": 400,
"minimum": 120,
"description": "The door’s clear height (cm)."
},
"sofa_height_cm": {
"type": [
"number",
"null"
],
"maximum": 250,
"minimum": 40,
"description": "The sofa’s height, floor to the top of the back (cm)."
},
"sofa_diagonal_cm": {
"type": [
"number",
"null"
],
"maximum": 250,
"minimum": 30,
"description": "The sofa’s diagonal depth: from the back bottom corner to a straight edge laid from the top of the back to the front of the arm (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Sofa fit calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how high to mount or hang a TV, whether it can go above a fireplace, or how far to sit from a screen of a given size. Returns the centre height, the edges, the viewing angles and the THX and SMPTE seat distances.
| Parameter | Type | Description |
|---|---|---|
| eye_height_cm | number | Seated eye height from the floor (most sofas: 100–110 cm) (cm). |
| screen_size_in | number | The screen’s diagonal size in inches, as sold (in). |
| above_fireplace | string | yes if the screen goes above a fireplace or mantel. |
| mantel_height_cm | number | The mantel’s height from the floor (only with above_fireplace yes) (cm). |
| seat_distance_cm | number | The distance from the seat to the screen (cm). |
{
"name": "tv_height_distance",
"title": "TV height and distance calculator",
"description": "Use when someone asks how high to mount or hang a TV, whether it can go above a fireplace, or how far to sit from a screen of a given size. Returns the centre height, the edges, the viewing angles and the THX and SMPTE seat distances.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"eye_height_cm": {
"type": "number",
"default": 105,
"maximum": 180,
"minimum": 60,
"description": "Seated eye height from the floor (most sofas: 100–110 cm) (cm)."
},
"screen_size_in": {
"type": "number",
"default": 55,
"maximum": 120,
"minimum": 19,
"description": "The screen’s diagonal size in inches, as sold (in)."
},
"above_fireplace": {
"enum": [
"no",
"yes"
],
"type": "string",
"default": "no",
"description": "yes if the screen goes above a fireplace or mantel."
},
"mantel_height_cm": {
"type": "number",
"default": 120,
"maximum": 250,
"minimum": 40,
"description": "The mantel’s height from the floor (only with above_fireplace yes) (cm)."
},
"seat_distance_cm": {
"type": "number",
"default": 270,
"maximum": 1000,
"minimum": 80,
"description": "The distance from the seat to the screen (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "tv-height-distance",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"centre_height_cm",
"bottom_edge_cm",
"top_edge_cm",
"screen_width_cm",
"screen_height_cm",
"look_up_deg",
"look_down_deg",
"within_limit",
"limit_deg",
"seat_for_limit_cm",
"seat_range_cm",
"thx_farthest_cm",
"view_angle_deg",
"size_for_seat",
"study_seat_cm"
],
"properties": {
"limit_deg": {
"type": "number",
"description": "THX and CEDIA’s limit"
},
"look_up_deg": {
"type": "number",
"description": "From the eyes to the top edge"
},
"top_edge_cm": {
"type": "number"
},
"within_limit": {
"type": "boolean",
"description": "Both within limit_deg"
},
"look_down_deg": {
"type": "number",
"description": "From the eyes to the bottom edge (negative: up)"
},
"seat_range_cm": {
"type": "array",
"description": "[THX 40°, SMPTE 30°] seat distances for this screen"
},
"size_for_seat": {
"type": "object",
"description": "The screen sizes that fill SMPTE’s and THX’s angles from this seat: smpte_in, thx_in"
},
"study_seat_cm": {
"type": [
"number",
"null"
],
"description": "The distance people chose in one lab study (24–65 in screens only)"
},
"bottom_edge_cm": {
"type": "number"
},
"view_angle_deg": {
"type": "number",
"description": "How much of the view the screen fills from the seat"
},
"screen_width_cm": {
"type": "number"
},
"thx_farthest_cm": {
"type": "number",
"description": "The far end of THX’s range"
},
"centre_height_cm": {
"type": "number",
"description": "The screen’s centre from the floor"
},
"screen_height_cm": {
"type": "number"
},
"seat_for_limit_cm": {
"type": "number",
"description": "The seat distance that keeps the top edge within the limit"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"screen_size_in",
"seat_distance_cm",
"eye_height_cm",
"above_fireplace",
"mantel_height_cm"
],
"properties": {
"eye_height_cm": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": 60,
"description": "Seated eye height from the floor (most sofas: 100–110 cm) (cm)."
},
"screen_size_in": {
"type": [
"number",
"null"
],
"maximum": 120,
"minimum": 19,
"description": "The screen’s diagonal size in inches, as sold (in)."
},
"above_fireplace": {
"enum": [
"no",
"yes"
],
"type": [
"string",
"null"
],
"description": "yes if the screen goes above a fireplace or mantel."
},
"mantel_height_cm": {
"type": [
"number",
"null"
],
"maximum": 250,
"minimum": 40,
"description": "The mantel’s height from the floor (only with above_fireplace yes) (cm)."
},
"seat_distance_cm": {
"type": [
"number",
"null"
],
"maximum": 1000,
"minimum": 80,
"description": "The distance from the seat to the screen (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "TV height and distance calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how high to hang a picture, a print, a mirror or art, on an open wall or above a sofa, bed or sideboard. Returns the hook’s height from the floor and checks the art’s width against the furniture.
| Parameter | Type | Description |
|---|---|---|
| place | string | open_wall, or over_furniture (a sofa, bed or sideboard). |
| frame_width_cm | number | The frame’s width (cm). |
| hanger_drop_cm | number | The hanger drop: from the frame’s top edge down to the wire pulled tight, or to the D-ring (cm). |
| frame_height_cm | number | The frame’s height (cm). |
| centre_height_cm | number | On an open wall, the picture’s centre height (default 145, the gallery height; 150 also common) (cm). |
| furniture_gap_cm | number | Over furniture: the gap from its top to the frame (designers use 15–25 cm) (cm). |
| furniture_width_cm | number | Over furniture: its width, to check the art is about two thirds of it (cm). |
| furniture_height_cm | number | Over furniture: the furniture’s top, from the floor (cm). |
{
"name": "picture_height",
"title": "Picture hanging height calculator",
"description": "Use when someone asks how high to hang a picture, a print, a mirror or art, on an open wall or above a sofa, bed or sideboard. Returns the hook’s height from the floor and checks the art’s width against the furniture.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"place": {
"enum": [
"open_wall",
"over_furniture"
],
"type": "string",
"default": "open_wall",
"description": "open_wall, or over_furniture (a sofa, bed or sideboard)."
},
"frame_width_cm": {
"type": "number",
"default": 40,
"maximum": 400,
"minimum": 5,
"description": "The frame’s width (cm)."
},
"hanger_drop_cm": {
"type": "number",
"default": 8,
"maximum": 100,
"minimum": 0,
"description": "The hanger drop: from the frame’s top edge down to the wire pulled tight, or to the D-ring (cm)."
},
"frame_height_cm": {
"type": "number",
"default": 50,
"maximum": 300,
"minimum": 5,
"description": "The frame’s height (cm)."
},
"centre_height_cm": {
"type": "number",
"default": 145,
"maximum": 200,
"minimum": 100,
"description": "On an open wall, the picture’s centre height (default 145, the gallery height; 150 also common) (cm)."
},
"furniture_gap_cm": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 0,
"description": "Over furniture: the gap from its top to the frame (designers use 15–25 cm) (cm)."
},
"furniture_width_cm": {
"type": "number",
"default": 210,
"maximum": 500,
"minimum": 20,
"description": "Over furniture: its width, to check the art is about two thirds of it (cm)."
},
"furniture_height_cm": {
"type": "number",
"default": 85,
"maximum": 200,
"minimum": 20,
"description": "Over furniture: the furniture’s top, from the floor (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "picture-height",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"hook_height_cm",
"picture_centre_cm",
"bottom_edge_cm",
"top_edge_cm",
"width_share",
"width_share_range",
"ideal_width_cm"
],
"properties": {
"top_edge_cm": {
"type": "number"
},
"width_share": {
"type": [
"number",
"null"
],
"description": "Over furniture: the frame’s width ÷ the furniture’s"
},
"bottom_edge_cm": {
"type": "number"
},
"hook_height_cm": {
"type": "number",
"description": "The hook from the floor"
},
"ideal_width_cm": {
"type": [
"number",
"null"
],
"description": "Over furniture: two thirds of its width"
},
"picture_centre_cm": {
"type": "number"
},
"width_share_range": {
"type": [
"array",
"null"
],
"description": "Over furniture: the share designers aim for"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"frame_height_cm",
"frame_width_cm",
"hanger_drop_cm",
"place",
"centre_height_cm",
"furniture_height_cm",
"furniture_gap_cm",
"furniture_width_cm"
],
"properties": {
"place": {
"enum": [
"open_wall",
"over_furniture"
],
"type": [
"string",
"null"
],
"description": "open_wall, or over_furniture (a sofa, bed or sideboard)."
},
"frame_width_cm": {
"type": [
"number",
"null"
],
"maximum": 400,
"minimum": 5,
"description": "The frame’s width (cm)."
},
"hanger_drop_cm": {
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0,
"description": "The hanger drop: from the frame’s top edge down to the wire pulled tight, or to the D-ring (cm)."
},
"frame_height_cm": {
"type": [
"number",
"null"
],
"maximum": 300,
"minimum": 5,
"description": "The frame’s height (cm)."
},
"centre_height_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 100,
"description": "On an open wall, the picture’s centre height (default 145, the gallery height; 150 also common) (cm)."
},
"furniture_gap_cm": {
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0,
"description": "Over furniture: the gap from its top to the frame (designers use 15–25 cm) (cm)."
},
"furniture_width_cm": {
"type": [
"number",
"null"
],
"maximum": 500,
"minimum": 20,
"description": "Over furniture: its width, to check the art is about two thirds of it (cm)."
},
"furniture_height_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 20,
"description": "Over furniture: the furniture’s top, from the floor (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Picture hanging height calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks for a room’s floor area, perimeter, volume or carpet and skirting amounts, or what a size such as 3 × 4 m or 12 × 12 ft means (a box room, a single or double bedroom). Handles L-shaped rooms and bay windows.
| Parameter | Type | Description |
|---|---|---|
| bay | string | A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay). |
| doors | integer | Doorways, left out of the skirting. |
| shape | string | rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner). |
| bay_depth_cm | number | How far the bay sticks out (cm). |
| bay_width_cm | number | The bay’s width at the wall (cm). |
| room_width_cm | number | The room’s width (along the window wall) (cm). |
| part2_depth_cm | number | An L-shaped room’s second part: how far it sticks out (cm). |
| room_length_cm | number | The room’s length (cm). |
| part2_length_cm | number | An L-shaped room’s second part: its length along the main room (cm). |
| ceiling_height_cm | number | The ceiling height, for the volume (cm). |
{
"name": "room_size",
"title": "Room size calculator",
"description": "Use when someone asks for a room’s floor area, perimeter, volume or carpet and skirting amounts, or what a size such as 3 × 4 m or 12 × 12 ft means (a box room, a single or double bedroom). Handles L-shaped rooms and bay windows.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"bay": {
"enum": [
"none",
"square",
"angled"
],
"type": "string",
"default": "none",
"description": "A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay)."
},
"doors": {
"type": "integer",
"default": 1,
"maximum": 12,
"minimum": 0,
"description": "Doorways, left out of the skirting."
},
"shape": {
"enum": [
"rectangle",
"l_shape"
],
"type": "string",
"default": "rectangle",
"description": "rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner)."
},
"bay_depth_cm": {
"type": "number",
"default": 60,
"maximum": 500,
"minimum": 0,
"description": "How far the bay sticks out (cm)."
},
"bay_width_cm": {
"type": "number",
"default": 200,
"maximum": 5000,
"minimum": 0,
"description": "The bay’s width at the wall (cm)."
},
"room_width_cm": {
"type": "number",
"default": 350,
"maximum": 5000,
"minimum": 30,
"description": "The room’s width (along the window wall) (cm)."
},
"part2_depth_cm": {
"type": "number",
"default": 150,
"maximum": 5000,
"minimum": 0,
"description": "An L-shaped room’s second part: how far it sticks out (cm)."
},
"room_length_cm": {
"type": "number",
"default": 400,
"maximum": 5000,
"minimum": 30,
"description": "The room’s length (cm)."
},
"part2_length_cm": {
"type": "number",
"default": 200,
"maximum": 5000,
"minimum": 0,
"description": "An L-shaped room’s second part: its length along the main room (cm)."
},
"ceiling_height_cm": {
"type": "number",
"default": 240,
"maximum": 1000,
"minimum": 150,
"description": "The ceiling height, for the volume (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "room-size",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"area_m2",
"area_sq_ft",
"parts",
"perimeter_cm",
"walls_cm",
"skirting_cm",
"skirting_boards",
"volume_m3",
"volume_cu_ft",
"bounds",
"carpet",
"average_home_share",
"polygon_cm"
],
"properties": {
"parts": {
"type": "object",
"description": "The area by part: main_m2, part2_m2, bay_m2"
},
"bounds": {
"type": "object",
"description": "The room’s outer size: width_cm, length_cm"
},
"carpet": {
"type": "object",
"description": "The cheapest cut: roll_cm, cut_cm, joins, bought_m2"
},
"area_m2": {
"type": "number",
"description": "The floor area"
},
"walls_cm": {
"type": "array",
"description": "Each wall, round the room"
},
"volume_m3": {
"type": "number"
},
"area_sq_ft": {
"type": "number"
},
"polygon_cm": {
"type": "array",
"description": "The floor as [x, y] corners, the window wall along y = 0"
},
"skirting_cm": {
"type": "number",
"description": "The perimeter less the doorways"
},
"perimeter_cm": {
"type": "number"
},
"volume_cu_ft": {
"type": "number"
},
"skirting_boards": {
"type": "array",
"description": "Boards to buy by length: board_cm, count"
},
"average_home_share": {
"type": "number",
"description": "The floor area ÷ the average home in England’s"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"shape",
"room_width_cm",
"room_length_cm",
"part2_length_cm",
"part2_depth_cm",
"bay",
"bay_width_cm",
"bay_depth_cm",
"ceiling_height_cm",
"doors"
],
"properties": {
"bay": {
"enum": [
"none",
"square",
"angled"
],
"type": [
"string",
"null"
],
"description": "A bay window in the front wall: none, square (sides at 90°) or angled (sides at 45°, the usual UK canted bay)."
},
"doors": {
"type": [
"integer",
"null"
],
"maximum": 12,
"minimum": 0,
"description": "Doorways, left out of the skirting."
},
"shape": {
"enum": [
"rectangle",
"l_shape"
],
"type": [
"string",
"null"
],
"description": "rectangle, or l_shape (a second part on the right-hand wall, flush with the far corner)."
},
"bay_depth_cm": {
"type": [
"number",
"null"
],
"maximum": 500,
"minimum": 0,
"description": "How far the bay sticks out (cm)."
},
"bay_width_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 0,
"description": "The bay’s width at the wall (cm)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 30,
"description": "The room’s width (along the window wall) (cm)."
},
"part2_depth_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 0,
"description": "An L-shaped room’s second part: how far it sticks out (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 30,
"description": "The room’s length (cm)."
},
"part2_length_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 0,
"description": "An L-shaped room’s second part: its length along the main room (cm)."
},
"ceiling_height_cm": {
"type": [
"number",
"null"
],
"maximum": 1000,
"minimum": 150,
"description": "The ceiling height, for the volume (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Room size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how big a flat or house should be for a number of people or bedrooms, whether a home or bedroom is big enough, or what England’s nationally described space standard requires. England only; it is a planning standard for new homes.
| Parameter | Type | Description |
|---|---|---|
| people | integer | The people the home is for (one bed space each). |
| storeys | integer | The floors the home has (1 for a flat). |
| bedrooms | integer | The number of bedrooms. |
| home_area_m2 | number | Optional: the home’s gross internal floor area, to compare with the standard (m²). |
| bedroom_1_width_cm | number | Optional: bedroom 1's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_2_width_cm | number | Optional: bedroom 2's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_3_width_cm | number | Optional: bedroom 3's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_4_width_cm | number | Optional: bedroom 4's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_5_width_cm | number | Optional: bedroom 5's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_6_width_cm | number | Optional: bedroom 6's width, with its length. The bedrooms are ranked by floor area before the checks (cm). |
| bedroom_1_length_cm | number | Optional: bedroom 1's length, with its width (cm). |
| bedroom_2_length_cm | number | Optional: bedroom 2's length, with its width (cm). |
| bedroom_3_length_cm | number | Optional: bedroom 3's length, with its width (cm). |
| bedroom_4_length_cm | number | Optional: bedroom 4's length, with its width (cm). |
| bedroom_5_length_cm | number | Optional: bedroom 5's length, with its width (cm). |
| bedroom_6_length_cm | number | Optional: bedroom 6's length, with its width (cm). |
{
"name": "home_size",
"title": "Home size calculator",
"description": "Use when someone asks how big a flat or house should be for a number of people or bedrooms, whether a home or bedroom is big enough, or what England’s nationally described space standard requires. England only; it is a planning standard for new homes.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"people": {
"type": "integer",
"default": 4,
"maximum": 12,
"minimum": 1,
"description": "The people the home is for (one bed space each)."
},
"storeys": {
"type": "integer",
"default": 2,
"maximum": 3,
"minimum": 1,
"description": "The floors the home has (1 for a flat)."
},
"bedrooms": {
"type": "integer",
"default": 3,
"maximum": 6,
"minimum": 1,
"description": "The number of bedrooms."
},
"home_area_m2": {
"type": "number",
"maximum": 2000,
"minimum": 10,
"description": "Optional: the home’s gross internal floor area, to compare with the standard (m²)."
},
"bedroom_1_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 1's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_2_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 2's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_3_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 3's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_4_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 4's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_5_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 5's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_6_width_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 6's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_1_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 1's length, with its width (cm)."
},
"bedroom_2_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 2's length, with its width (cm)."
},
"bedroom_3_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 3's length, with its width (cm)."
},
"bedroom_4_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 4's length, with its width (cm)."
},
"bedroom_5_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 5's length, with its width (cm)."
},
"bedroom_6_length_cm": {
"type": "number",
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 6's length, with its width (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "home-size",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"type",
"bed_spaces",
"doubles",
"singles",
"storeys_used",
"min_area_m2",
"min_area_sq_ft",
"storage_m2",
"ceiling_cm",
"bedroom_plan",
"bedrooms_checked",
"bedroom_bed_spaces",
"home",
"averages"
],
"properties": {
"home": {
"type": [
"object",
"null"
],
"description": "The given home against the standard: area_m2, vs_min_m2, min_share, per_person_m2"
},
"type": {
"type": "string",
"description": "The standard’s home type, bedrooms (b) and bed spaces (p): 3b4p"
},
"doubles": {
"type": "number"
},
"singles": {
"type": "number"
},
"averages": {
"type": "object",
"description": "England’s averages: england_m2, typical (home, area_m2), england_per_person_m2, household_people"
},
"bed_spaces": {
"type": "number"
},
"ceiling_cm": {
"type": "number",
"description": "The standard’s least ceiling height"
},
"storage_m2": {
"type": "number",
"description": "The built-in storage within it"
},
"min_area_m2": {
"type": "number",
"description": "The least gross internal area for a new home"
},
"bedroom_plan": {
"type": "array",
"description": "Each bedroom the standard plans, largest first: place, slot, min_area_m2, min_width_cm"
},
"storeys_used": {
"type": "number",
"description": "The storey column used"
},
"min_area_sq_ft": {
"type": "number"
},
"bedrooms_checked": {
"type": "array",
"description": "Each given bedroom: bedroom, width_cm, length_cm, area_m2, narrow_cm, counts_as, slot, needs (area_m2, width_cm), grade, bed_spaces"
},
"bedroom_bed_spaces": {
"type": [
"number",
"null"
],
"description": "The bed spaces the given bedrooms make (all must be given)"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"people",
"bedrooms",
"storeys",
"home_area_m2",
"bedroom_1_width_cm",
"bedroom_1_length_cm",
"bedroom_2_width_cm",
"bedroom_2_length_cm",
"bedroom_3_width_cm",
"bedroom_3_length_cm",
"bedroom_4_width_cm",
"bedroom_4_length_cm",
"bedroom_5_width_cm",
"bedroom_5_length_cm",
"bedroom_6_width_cm",
"bedroom_6_length_cm"
],
"properties": {
"people": {
"type": [
"integer",
"null"
],
"maximum": 12,
"minimum": 1,
"description": "The people the home is for (one bed space each)."
},
"storeys": {
"type": [
"integer",
"null"
],
"maximum": 3,
"minimum": 1,
"description": "The floors the home has (1 for a flat)."
},
"bedrooms": {
"type": [
"integer",
"null"
],
"maximum": 6,
"minimum": 1,
"description": "The number of bedrooms."
},
"home_area_m2": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 10,
"description": "Optional: the home’s gross internal floor area, to compare with the standard (m²)."
},
"bedroom_1_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 1's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_2_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 2's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_3_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 3's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_4_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 4's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_5_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 5's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_6_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 6's width, with its length. The bedrooms are ranked by floor area before the checks (cm)."
},
"bedroom_1_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 1's length, with its width (cm)."
},
"bedroom_2_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 2's length, with its width (cm)."
},
"bedroom_3_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 3's length, with its width (cm)."
},
"bedroom_4_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 4's length, with its width (cm)."
},
"bedroom_5_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 5's length, with its width (cm)."
},
"bedroom_6_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "Optional: bedroom 6's length, with its width (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Home size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks what size curtains, curtain pole or track to buy, how high to hang a curtain pole, or which UK ready-made curtain size fits a window. Returns the pole’s length and height, the ready-made pair and the made-to-measure sizes.
| Parameter | Type | Description |
|---|---|---|
| length | string | Where the hem ends: sill, below_sill, floor or puddle (on the floor). |
| fitting | string | pole or track. |
| heading | string | The curtain heading: eyelet, pencil_pleat or tab_top. |
| fullness | number | The curtains’ total flat width ÷ the pole’s length; default the heading’s usual (2, or 1.5 for tab top). |
| sill_height_cm | number | The sill’s height from the floor (cm). |
| window_width_cm | number | The window’s width, outside the frame (cm). |
| window_height_cm | number | The window’s height, outside the frame (cm). |
| ceiling_height_cm | number | The ceiling’s height from the floor (cm). |
{
"name": "curtain_size",
"title": "Curtain size calculator",
"description": "Use when someone asks what size curtains, curtain pole or track to buy, how high to hang a curtain pole, or which UK ready-made curtain size fits a window. Returns the pole’s length and height, the ready-made pair and the made-to-measure sizes.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"length": {
"enum": [
"sill",
"below_sill",
"floor",
"puddle"
],
"type": "string",
"default": "floor",
"description": "Where the hem ends: sill, below_sill, floor or puddle (on the floor)."
},
"fitting": {
"enum": [
"pole",
"track"
],
"type": "string",
"default": "pole",
"description": "pole or track."
},
"heading": {
"enum": [
"eyelet",
"pencil_pleat",
"tab_top"
],
"type": "string",
"default": "eyelet",
"description": "The curtain heading: eyelet, pencil_pleat or tab_top."
},
"fullness": {
"type": "number",
"default": 2,
"maximum": 3,
"minimum": 1.2,
"description": "The curtains’ total flat width ÷ the pole’s length; default the heading’s usual (2, or 1.5 for tab top)."
},
"sill_height_cm": {
"type": "number",
"default": 90,
"maximum": 200,
"minimum": 0,
"description": "The sill’s height from the floor (cm)."
},
"window_width_cm": {
"type": "number",
"default": 120,
"maximum": 600,
"minimum": 30,
"description": "The window’s width, outside the frame (cm)."
},
"window_height_cm": {
"type": "number",
"default": 115,
"maximum": 400,
"minimum": 30,
"description": "The window’s height, outside the frame (cm)."
},
"ceiling_height_cm": {
"type": "number",
"default": 240,
"maximum": 500,
"minimum": 180,
"description": "The ceiling’s height from the floor (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "curtain-size",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"pole_length_cm",
"pole_top_cm",
"above_window_cm",
"below_ceiling_cm",
"ready_made",
"made_to_measure",
"window_top_cm",
"overhang_cm",
"hem_cm",
"hem_at",
"ring_eye_cm",
"two_thirds_cm",
"lowest_pole_top_cm",
"highest_pole_top_cm",
"room_above",
"stack_cm",
"glass_covered_cm"
],
"properties": {
"hem_at": {
"type": "string",
"description": "The length used (below_sill becomes floor when the sill is low)"
},
"hem_cm": {
"type": "number",
"description": "The hem from the floor (negative: on the floor, puddled)"
},
"stack_cm": {
"type": "number",
"description": "Each open curtain’s stack"
},
"ready_made": {
"type": [
"object",
"null"
],
"description": "The UK ready-made pair: name, width_cm, drop_cm, width_in, drop_in, shorten_cm, fullness"
},
"room_above": {
"type": "string",
"description": "ok, tight or none: the room above the window for a pole"
},
"overhang_cm": {
"type": "number",
"description": "The pole past each side of the window"
},
"pole_top_cm": {
"type": "number",
"description": "The pole’s top from the floor"
},
"ring_eye_cm": {
"type": "number",
"description": "Where the drop is measured from, below the pole top"
},
"two_thirds_cm": {
"type": "number",
"description": "Two thirds of the way to the ceiling"
},
"window_top_cm": {
"type": "number"
},
"pole_length_cm": {
"type": "number",
"description": "Without the finials"
},
"above_window_cm": {
"type": "number",
"description": "(negative: below the window top, when the ceiling leaves no room)"
},
"made_to_measure": {
"type": "object",
"description": "pole_width_cm, drop_cm, fabric_width_cm"
},
"below_ceiling_cm": {
"type": "number"
},
"glass_covered_cm": {
"type": "number",
"description": "How much glass each stack covers"
},
"lowest_pole_top_cm": {
"type": "number"
},
"highest_pole_top_cm": {
"type": "number"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"window_width_cm",
"window_height_cm",
"sill_height_cm",
"ceiling_height_cm",
"fitting",
"heading",
"fullness",
"length"
],
"properties": {
"length": {
"enum": [
"sill",
"below_sill",
"floor",
"puddle"
],
"type": [
"string",
"null"
],
"description": "Where the hem ends: sill, below_sill, floor or puddle (on the floor)."
},
"fitting": {
"enum": [
"pole",
"track"
],
"type": [
"string",
"null"
],
"description": "pole or track."
},
"heading": {
"enum": [
"eyelet",
"pencil_pleat",
"tab_top"
],
"type": [
"string",
"null"
],
"description": "The curtain heading: eyelet, pencil_pleat or tab_top."
},
"fullness": {
"type": [
"number",
"null"
],
"maximum": 3,
"minimum": 1.2,
"description": "The curtains’ total flat width ÷ the pole’s length; default the heading’s usual (2, or 1.5 for tab top)."
},
"sill_height_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 0,
"description": "The sill’s height from the floor (cm)."
},
"window_width_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 30,
"description": "The window’s width, outside the frame (cm)."
},
"window_height_cm": {
"type": [
"number",
"null"
],
"maximum": 400,
"minimum": 30,
"description": "The window’s height, outside the frame (cm)."
},
"ceiling_height_cm": {
"type": [
"number",
"null"
],
"maximum": 500,
"minimum": 180,
"description": "The ceiling’s height from the floor (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Curtain size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how bright a room’s lights should be, how many lumens, bulbs or downlights a room needs, how far apart to space downlights, or what colour temperature to choose.
| Parameter | Type | Description |
|---|---|---|
| room_type | string | living, bedroom, kitchen, bathroom or home_office. |
| wall_colour | string | light, or dark (dark walls reflect less, so the room needs more light). |
| room_width_cm | number | The room’s width (cm). |
| room_length_cm | number | The room’s length (cm). |
| ceiling_height_cm | number | The ceiling height (cm). |
{
"name": "room_lighting",
"title": "Room lighting calculator",
"description": "Use when someone asks how bright a room’s lights should be, how many lumens, bulbs or downlights a room needs, how far apart to space downlights, or what colour temperature to choose.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"room_type": {
"enum": [
"living",
"bedroom",
"kitchen",
"bathroom",
"home_office"
],
"type": "string",
"default": "living",
"description": "living, bedroom, kitchen, bathroom or home_office."
},
"wall_colour": {
"enum": [
"light",
"dark"
],
"type": "string",
"default": "light",
"description": "light, or dark (dark walls reflect less, so the room needs more light)."
},
"room_width_cm": {
"type": "number",
"default": 400,
"maximum": 2000,
"minimum": 100,
"description": "The room’s width (cm)."
},
"room_length_cm": {
"type": "number",
"default": 450,
"maximum": 2000,
"minimum": 100,
"description": "The room’s length (cm)."
},
"ceiling_height_cm": {
"type": "number",
"default": 240,
"maximum": 600,
"minimum": 200,
"description": "The ceiling height (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "lighting",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"total_lm",
"target_lux",
"task_lux",
"layers",
"bulbs",
"downlights",
"colour_temperature_k",
"area_m2",
"room_index",
"utilisation",
"utilisation_light_walls",
"task_light"
],
"properties": {
"bulbs": {
"type": "array",
"description": "bulb_lm and count [low, high] of that bulb"
},
"layers": {
"type": "object",
"description": "ceiling, lamps and task, each share_pct and light_lm [low, high]"
},
"area_m2": {
"type": "number"
},
"task_lux": {
"type": "number",
"description": "Where you read, chop or work"
},
"total_lm": {
"type": "array",
"description": "[low, high] lumens from all bulbs together"
},
"downlights": {
"type": "object",
"description": "If the ceiling light is downlights: count, columns, rows, spacing_cm, from_wall_cm, each_lm"
},
"room_index": {
"type": "number"
},
"target_lux": {
"type": "array",
"description": "[low, high]"
},
"task_light": {
"type": "string",
"description": "The task light this room needs"
},
"utilisation": {
"type": "number",
"description": "The share of the light that reaches the floor"
},
"colour_temperature_k": {
"type": "array",
"description": "[low, high]"
},
"utilisation_light_walls": {
"type": "number",
"description": "The same with light walls"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"room_length_cm",
"room_width_cm",
"ceiling_height_cm",
"room_type",
"wall_colour"
],
"properties": {
"room_type": {
"enum": [
"living",
"bedroom",
"kitchen",
"bathroom",
"home_office"
],
"type": [
"string",
"null"
],
"description": "living, bedroom, kitchen, bathroom or home_office."
},
"wall_colour": {
"enum": [
"light",
"dark"
],
"type": [
"string",
"null"
],
"description": "light, or dark (dark walls reflect less, so the room needs more light)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "The room’s width (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "The room’s length (cm)."
},
"ceiling_height_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 200,
"description": "The ceiling height (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Room lighting calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how much paint, how many litres or which tins they need for a room’s walls, its ceiling or one feature wall. Returns litres and the cheapest mix of 5 l and 2.5 l tins.
| Parameter | Type | Description |
|---|---|---|
| coats | integer | Coats of paint (default 2). |
| doors | integer | Doors to leave out (default 1; 0 for a feature wall). |
| paint | string | matt, silk or custom (then give coverage_m2_per_l). |
| windows | integer | Windows to leave out (default 1; 0 for a feature wall). |
| surfaces | string | What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall). |
| spare_pct | number | Extra paint to buy, in % (default 10) (%). |
| new_plaster | string | yes for new plaster, which needs a mist coat first. |
| feature_wall | string | For a feature wall: a length wall or a width wall. |
| door_width_cm | number | A door’s width (default the UK standard internal door) (cm). |
| room_width_cm | number | The room’s width (cm). |
| door_height_cm | number | A door’s height (default the UK standard internal door) (cm). |
| room_length_cm | number | The room’s length (cm). |
| window_width_cm | number | A window’s width (cm). |
| window_height_cm | number | A window’s height (cm). |
| ceiling_height_cm | number | The ceiling height (cm). |
| coverage_m2_per_l | number | The square metres a litre covers, from the tin (m²/l). |
{
"name": "paint_quantity",
"title": "Paint calculator",
"description": "Use when someone asks how much paint, how many litres or which tins they need for a room’s walls, its ceiling or one feature wall. Returns litres and the cheapest mix of 5 l and 2.5 l tins.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"coats": {
"type": "integer",
"default": 2,
"maximum": 5,
"minimum": 1,
"description": "Coats of paint (default 2)."
},
"doors": {
"type": "integer",
"default": 1,
"maximum": 12,
"minimum": 0,
"description": "Doors to leave out (default 1; 0 for a feature wall)."
},
"paint": {
"enum": [
"matt",
"silk",
"custom"
],
"type": "string",
"default": "matt",
"description": "matt, silk or custom (then give coverage_m2_per_l)."
},
"windows": {
"type": "integer",
"default": 1,
"maximum": 12,
"minimum": 0,
"description": "Windows to leave out (default 1; 0 for a feature wall)."
},
"surfaces": {
"enum": [
"walls",
"ceiling",
"both",
"feature"
],
"type": "string",
"default": "walls",
"description": "What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall)."
},
"spare_pct": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 0,
"description": "Extra paint to buy, in % (default 10) (%)."
},
"new_plaster": {
"enum": [
"no",
"yes"
],
"type": "string",
"default": "no",
"description": "yes for new plaster, which needs a mist coat first."
},
"feature_wall": {
"enum": [
"length",
"width"
],
"type": "string",
"default": "length",
"description": "For a feature wall: a length wall or a width wall."
},
"door_width_cm": {
"type": "number",
"default": 76.2,
"maximum": 300,
"minimum": 40,
"description": "A door’s width (default the UK standard internal door) (cm)."
},
"room_width_cm": {
"type": "number",
"default": 300,
"maximum": 3000,
"minimum": 100,
"description": "The room’s width (cm)."
},
"door_height_cm": {
"type": "number",
"default": 198.1,
"maximum": 300,
"minimum": 150,
"description": "A door’s height (default the UK standard internal door) (cm)."
},
"room_length_cm": {
"type": "number",
"default": 400,
"maximum": 3000,
"minimum": 100,
"description": "The room’s length (cm)."
},
"window_width_cm": {
"type": "number",
"default": 120,
"maximum": 600,
"minimum": 20,
"description": "A window’s width (cm)."
},
"window_height_cm": {
"type": "number",
"default": 120,
"maximum": 400,
"minimum": 20,
"description": "A window’s height (cm)."
},
"ceiling_height_cm": {
"type": "number",
"default": 240,
"maximum": 600,
"minimum": 150,
"description": "The ceiling height (cm)."
},
"coverage_m2_per_l": {
"type": "number",
"default": 13,
"maximum": 25,
"minimum": 3,
"description": "The square metres a litre covers, from the tin (m²/l)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "paint",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"paint_l",
"with_spare_l",
"tins",
"tins_text",
"in_tins_l",
"tins_without_spare",
"tins_without_spare_text",
"area",
"mist_coat"
],
"properties": {
"area": {
"type": "object",
"description": "walls_gross_m2, openings_m2, walls_net_m2, ceiling_m2, total_m2"
},
"tins": {
"type": "array",
"description": "The tins to buy: size_l, count"
},
"paint_l": {
"type": "number",
"description": "The paint the job uses"
},
"in_tins_l": {
"type": "number",
"description": "What those tins hold"
},
"mist_coat": {
"type": [
"object",
"null"
],
"description": "New plaster only: paint_l and paint_to_water [parts, parts]"
},
"tins_text": {
"type": "string",
"description": "The tins in words"
},
"with_spare_l": {
"type": "number",
"description": "With the spare"
},
"tins_without_spare": {
"type": "array"
},
"tins_without_spare_text": {
"type": "string"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"room_length_cm",
"room_width_cm",
"ceiling_height_cm",
"surfaces",
"feature_wall",
"doors",
"windows",
"door_width_cm",
"door_height_cm",
"window_width_cm",
"window_height_cm",
"coats",
"paint",
"coverage_m2_per_l",
"new_plaster",
"spare_pct"
],
"properties": {
"coats": {
"type": [
"integer",
"null"
],
"maximum": 5,
"minimum": 1,
"description": "Coats of paint (default 2)."
},
"doors": {
"type": [
"integer",
"null"
],
"maximum": 12,
"minimum": 0,
"description": "Doors to leave out (default 1; 0 for a feature wall)."
},
"paint": {
"enum": [
"matt",
"silk",
"custom"
],
"type": [
"string",
"null"
],
"description": "matt, silk or custom (then give coverage_m2_per_l)."
},
"windows": {
"type": [
"integer",
"null"
],
"maximum": 12,
"minimum": 0,
"description": "Windows to leave out (default 1; 0 for a feature wall)."
},
"surfaces": {
"enum": [
"walls",
"ceiling",
"both",
"feature"
],
"type": [
"string",
"null"
],
"description": "What to paint: walls, ceiling, both (walls and ceiling) or feature (one wall)."
},
"spare_pct": {
"type": [
"number",
"null"
],
"maximum": 50,
"minimum": 0,
"description": "Extra paint to buy, in % (default 10) (%)."
},
"new_plaster": {
"enum": [
"no",
"yes"
],
"type": [
"string",
"null"
],
"description": "yes for new plaster, which needs a mist coat first."
},
"feature_wall": {
"enum": [
"length",
"width"
],
"type": [
"string",
"null"
],
"description": "For a feature wall: a length wall or a width wall."
},
"door_width_cm": {
"type": [
"number",
"null"
],
"maximum": 300,
"minimum": 40,
"description": "A door’s width (default the UK standard internal door) (cm)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 100,
"description": "The room’s width (cm)."
},
"door_height_cm": {
"type": [
"number",
"null"
],
"maximum": 300,
"minimum": 150,
"description": "A door’s height (default the UK standard internal door) (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 100,
"description": "The room’s length (cm)."
},
"window_width_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 20,
"description": "A window’s width (cm)."
},
"window_height_cm": {
"type": [
"number",
"null"
],
"maximum": 400,
"minimum": 20,
"description": "A window’s height (cm)."
},
"ceiling_height_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 150,
"description": "The ceiling height (cm)."
},
"coverage_m2_per_l": {
"type": [
"number",
"null"
],
"maximum": 25,
"minimum": 3,
"description": "The square metres a litre covers, from the tin (m²/l)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Paint calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how many rolls of wallpaper they need for a room, some walls or one feature wall, including a pattern repeat and a straight or offset match.
| Parameter | Type | Description |
|---|---|---|
| mode | string | room (all four walls), walls (some walls) or feature (one wall). |
| doors | integer | Doors, each saving a drop (default 1 for a room, else 0). |
| match | string | free (or plain), straight or offset (half-drop). |
| trim_cm | number | Extra on each drop for trimming (default 10 cm) (cm). |
| spare_rolls | integer | Spare rolls from the same batch (default 1). |
| roll_width_cm | number | The roll’s width (default 53 cm) (cm). |
| room_width_cm | number | For a room: its width (cm). |
| wall_width_cm | number | For walls or a feature wall: the width, the walls added up (cm). |
| roll_length_cm | number | The roll’s length (default the UK standard, 1005 cm) (cm). |
| room_length_cm | number | For a room: its length (cm). |
| wall_height_cm | number | The wall height, skirting to ceiling (cm). |
| pattern_repeat_cm | number | The pattern repeat, from the label (0 for none) (cm). |
{
"name": "wallpaper_rolls",
"title": "Wallpaper calculator",
"description": "Use when someone asks how many rolls of wallpaper they need for a room, some walls or one feature wall, including a pattern repeat and a straight or offset match.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"mode": {
"enum": [
"room",
"walls",
"feature"
],
"type": "string",
"default": "room",
"description": "room (all four walls), walls (some walls) or feature (one wall)."
},
"doors": {
"type": "integer",
"default": 1,
"maximum": 12,
"minimum": 0,
"description": "Doors, each saving a drop (default 1 for a room, else 0)."
},
"match": {
"enum": [
"free",
"straight",
"offset"
],
"type": "string",
"default": "free",
"description": "free (or plain), straight or offset (half-drop)."
},
"trim_cm": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 0,
"description": "Extra on each drop for trimming (default 10 cm) (cm)."
},
"spare_rolls": {
"type": "integer",
"default": 1,
"maximum": 10,
"minimum": 0,
"description": "Spare rolls from the same batch (default 1)."
},
"roll_width_cm": {
"type": "number",
"default": 53,
"maximum": 200,
"minimum": 20,
"description": "The roll’s width (default 53 cm) (cm)."
},
"room_width_cm": {
"type": "number",
"default": 300,
"maximum": 3000,
"minimum": 100,
"description": "For a room: its width (cm)."
},
"wall_width_cm": {
"type": "number",
"default": 350,
"maximum": 10000,
"minimum": 20,
"description": "For walls or a feature wall: the width, the walls added up (cm)."
},
"roll_length_cm": {
"type": "number",
"default": 1005,
"maximum": 5000,
"minimum": 100,
"description": "The roll’s length (default the UK standard, 1005 cm) (cm)."
},
"room_length_cm": {
"type": "number",
"default": 400,
"maximum": 3000,
"minimum": 100,
"description": "For a room: its length (cm)."
},
"wall_height_cm": {
"type": "number",
"default": 240,
"maximum": 600,
"minimum": 50,
"description": "The wall height, skirting to ceiling (cm)."
},
"pattern_repeat_cm": {
"type": "number",
"default": 0,
"maximum": 200,
"minimum": 0,
"description": "The pattern repeat, from the label (0 for none) (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "wallpaper",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"rolls",
"rolls_without_spare",
"spare_rolls",
"drops_needed",
"drops_per_roll",
"cuts"
],
"properties": {
"cuts": {
"type": "object",
"description": "wall_width_cm, drop_cut_cm, drop_used_cm (with the pattern match), offcut_per_roll_cm, wall_area_m2, doors_saved_drops"
},
"rolls": {
"type": "number",
"description": "Rolls to buy, the spare included"
},
"spare_rolls": {
"type": "number"
},
"drops_needed": {
"type": "number"
},
"drops_per_roll": {
"type": "number"
},
"rolls_without_spare": {
"type": "number"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"mode",
"room_length_cm",
"room_width_cm",
"wall_width_cm",
"wall_height_cm",
"roll_length_cm",
"roll_width_cm",
"pattern_repeat_cm",
"match",
"doors",
"trim_cm",
"spare_rolls"
],
"properties": {
"mode": {
"enum": [
"room",
"walls",
"feature"
],
"type": [
"string",
"null"
],
"description": "room (all four walls), walls (some walls) or feature (one wall)."
},
"doors": {
"type": [
"integer",
"null"
],
"maximum": 12,
"minimum": 0,
"description": "Doors, each saving a drop (default 1 for a room, else 0)."
},
"match": {
"enum": [
"free",
"straight",
"offset"
],
"type": [
"string",
"null"
],
"description": "free (or plain), straight or offset (half-drop)."
},
"trim_cm": {
"type": [
"number",
"null"
],
"maximum": 50,
"minimum": 0,
"description": "Extra on each drop for trimming (default 10 cm) (cm)."
},
"spare_rolls": {
"type": [
"integer",
"null"
],
"maximum": 10,
"minimum": 0,
"description": "Spare rolls from the same batch (default 1)."
},
"roll_width_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 20,
"description": "The roll’s width (default 53 cm) (cm)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 100,
"description": "For a room: its width (cm)."
},
"wall_width_cm": {
"type": [
"number",
"null"
],
"maximum": 10000,
"minimum": 20,
"description": "For walls or a feature wall: the width, the walls added up (cm)."
},
"roll_length_cm": {
"type": [
"number",
"null"
],
"maximum": 5000,
"minimum": 100,
"description": "The roll’s length (default the UK standard, 1005 cm) (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 100,
"description": "For a room: its length (cm)."
},
"wall_height_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 50,
"description": "The wall height, skirting to ceiling (cm)."
},
"pattern_repeat_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 0,
"description": "The pattern repeat, from the label (0 for none) (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Wallpaper calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks what size dining table fits a room, how many people a table seats, or how big a room must be for a table for a number of people. Uses UK stock table sizes and the space a chair needs behind it.
| Parameter | Type | Description |
|---|---|---|
| mode | string | room (start from the room’s size) or people (start from how many people). |
| shape | string | rectangle, round or oval. |
| people | integer | In people mode: the number of people. |
| clearance | string | The gap behind the chairs: tight, no_traffic (to a wall), edge_past or walk_past (someone passes). |
| room_width_cm | number | In room mode: the room’s width (cm). |
| room_length_cm | number | In room mode: the room’s length (cm). |
{
"name": "dining_table_size",
"title": "Dining table size calculator",
"description": "Use when someone asks what size dining table fits a room, how many people a table seats, or how big a room must be for a table for a number of people. Uses UK stock table sizes and the space a chair needs behind it.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"mode": {
"enum": [
"room",
"people"
],
"type": "string",
"default": "room",
"description": "room (start from the room’s size) or people (start from how many people)."
},
"shape": {
"enum": [
"rectangle",
"round",
"oval"
],
"type": "string",
"default": "rectangle",
"description": "rectangle, round or oval."
},
"people": {
"type": "integer",
"default": 6,
"maximum": 14,
"minimum": 1,
"description": "In people mode: the number of people."
},
"clearance": {
"enum": [
"tight",
"no_traffic",
"edge_past",
"walk_past"
],
"type": "string",
"default": "edge_past",
"description": "The gap behind the chairs: tight, no_traffic (to a wall), edge_past or walk_past (someone passes)."
},
"room_width_cm": {
"type": "number",
"default": 300,
"maximum": 1500,
"minimum": 150,
"description": "In room mode: the room’s width (cm)."
},
"room_length_cm": {
"type": "number",
"default": 360,
"maximum": 1500,
"minimum": 150,
"description": "In room mode: the room’s length (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "dining-table",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"table",
"clearance_cm",
"largest_made_to_measure",
"least_room",
"shapes"
],
"properties": {
"table": {
"type": [
"object",
"null"
],
"description": "The stock table: shape, length_cm, width_cm (a round table’s diameter is its length), seats; null if none fits"
},
"shapes": {
"type": "object",
"description": "The same answer for each shape: rectangle, round, oval"
},
"least_room": {
"type": [
"object",
"null"
],
"description": "People mode: the least room, length_cm and width_cm"
},
"clearance_cm": {
"type": "number",
"description": "From the table edge to the wall"
},
"largest_made_to_measure": {
"type": [
"object",
"null"
],
"description": "Room mode: the biggest table the room takes"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"mode",
"room_width_cm",
"room_length_cm",
"people",
"shape",
"clearance"
],
"properties": {
"mode": {
"enum": [
"room",
"people"
],
"type": [
"string",
"null"
],
"description": "room (start from the room’s size) or people (start from how many people)."
},
"shape": {
"enum": [
"rectangle",
"round",
"oval"
],
"type": [
"string",
"null"
],
"description": "rectangle, round or oval."
},
"people": {
"type": [
"integer",
"null"
],
"maximum": 14,
"minimum": 1,
"description": "In people mode: the number of people."
},
"clearance": {
"enum": [
"tight",
"no_traffic",
"edge_past",
"walk_past"
],
"type": [
"string",
"null"
],
"description": "The gap behind the chairs: tight, no_traffic (to a wall), edge_past or walk_past (someone passes)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 1500,
"minimum": 150,
"description": "In room mode: the room’s width (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 1500,
"minimum": 150,
"description": "In room mode: the room’s length (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Dining table size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how high to hang a pendant or chandelier over a dining table or kitchen island, how long its drop should be, or what diameter of light suits a table or room.
| Parameter | Type | Description |
|---|---|---|
| place | string | table (over a table or island) or floor (over open floor or a hall). |
| lights | integer | Over a table: how many lights in a row (1–3). |
| room_width_cm | number | The room’s width, for the room-size rule (cm). |
| room_length_cm | number | The room’s length, for the room-size rule (cm). |
| table_width_cm | number | Over a table: its width (cm). |
| table_height_cm | number | Over a table: its height (cm). |
| table_length_cm | number | Over a table: its length (cm). |
| ceiling_height_cm | number | The ceiling height (cm). |
| fitting_height_cm | number | The shade’s own height, top to bottom (cm). |
{
"name": "pendant_light",
"title": "Pendant light height and size calculator",
"description": "Use when someone asks how high to hang a pendant or chandelier over a dining table or kitchen island, how long its drop should be, or what diameter of light suits a table or room.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"place": {
"enum": [
"table",
"floor"
],
"type": "string",
"default": "table",
"description": "table (over a table or island) or floor (over open floor or a hall)."
},
"lights": {
"type": "integer",
"default": 1,
"maximum": 3,
"minimum": 1,
"description": "Over a table: how many lights in a row (1–3)."
},
"room_width_cm": {
"type": "number",
"default": 350,
"maximum": 2000,
"minimum": 100,
"description": "The room’s width, for the room-size rule (cm)."
},
"room_length_cm": {
"type": "number",
"default": 400,
"maximum": 2000,
"minimum": 100,
"description": "The room’s length, for the room-size rule (cm)."
},
"table_width_cm": {
"type": "number",
"default": 90,
"maximum": 200,
"minimum": 40,
"description": "Over a table: its width (cm)."
},
"table_height_cm": {
"type": "number",
"default": 75,
"maximum": 120,
"minimum": 40,
"description": "Over a table: its height (cm)."
},
"table_length_cm": {
"type": "number",
"default": 180,
"maximum": 400,
"minimum": 40,
"description": "Over a table: its length (cm)."
},
"ceiling_height_cm": {
"type": "number",
"default": 240,
"maximum": 600,
"minimum": 180,
"description": "The ceiling height (cm)."
},
"fitting_height_cm": {
"type": "number",
"default": 30,
"maximum": 200,
"minimum": 2,
"description": "The shade’s own height, top to bottom (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "pendant-light",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"hang_above_table_cm",
"bottom_from_floor_cm",
"drop_cm",
"overall_drop_cm",
"drop_range_cm",
"hang_range_cm",
"diameter_cm",
"room_rule_diameter_cm",
"fits",
"tallest_fitting_cm",
"centres_from_table_end_cm",
"chandelier_height_cm",
"least_clear_cm"
],
"properties": {
"fits": {
"type": "boolean",
"description": "The shade fits at that height"
},
"drop_cm": {
"type": [
"number",
"null"
],
"description": "Cord or rod, ceiling to the top of the shade; null if the shade does not fit"
},
"diameter_cm": {
"type": "array",
"description": "[low, high] shade size to choose (table: from its width; floor: the room rule)"
},
"drop_range_cm": {
"type": [
"array",
"null"
],
"description": "Table: the drop across the range"
},
"hang_range_cm": {
"type": [
"array",
"null"
],
"description": "Table: the range above the table"
},
"least_clear_cm": {
"type": [
"number",
"null"
],
"description": "Floor: the least clearance one shop gives"
},
"overall_drop_cm": {
"type": [
"number",
"null"
],
"description": "Table: ceiling to the bottom of the shade"
},
"tallest_fitting_cm": {
"type": "number"
},
"hang_above_table_cm": {
"type": [
"number",
"null"
],
"description": "Table: the shade’s bottom above the table"
},
"bottom_from_floor_cm": {
"type": "number",
"description": "The shade’s bottom from the floor"
},
"chandelier_height_cm": {
"type": [
"array",
"null"
],
"description": "Table: a chandelier’s own height for this ceiling"
},
"room_rule_diameter_cm": {
"type": "array",
"description": "[low, high] from the room-size rule"
},
"centres_from_table_end_cm": {
"type": [
"array",
"null"
],
"description": "Table: where each light goes"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"place",
"ceiling_height_cm",
"fitting_height_cm",
"table_width_cm",
"table_length_cm",
"table_height_cm",
"lights",
"room_length_cm",
"room_width_cm"
],
"properties": {
"place": {
"enum": [
"table",
"floor"
],
"type": [
"string",
"null"
],
"description": "table (over a table or island) or floor (over open floor or a hall)."
},
"lights": {
"type": [
"integer",
"null"
],
"maximum": 3,
"minimum": 1,
"description": "Over a table: how many lights in a row (1–3)."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "The room’s width, for the room-size rule (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 2000,
"minimum": 100,
"description": "The room’s length, for the room-size rule (cm)."
},
"table_width_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 40,
"description": "Over a table: its width (cm)."
},
"table_height_cm": {
"type": [
"number",
"null"
],
"maximum": 120,
"minimum": 40,
"description": "Over a table: its height (cm)."
},
"table_length_cm": {
"type": [
"number",
"null"
],
"maximum": 400,
"minimum": 40,
"description": "Over a table: its length (cm)."
},
"ceiling_height_cm": {
"type": [
"number",
"null"
],
"maximum": 600,
"minimum": 180,
"description": "The ceiling height (cm)."
},
"fitting_height_cm": {
"type": [
"number",
"null"
],
"maximum": 200,
"minimum": 2,
"description": "The shade’s own height, top to bottom (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Pendant light height and size calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks for their feng shui kua number, East or West group, or favourable directions from a birth date. It reports what the Eight Mansions school says; feng shui is a tradition, not a science.
| Parameter | Type | Description |
|---|---|---|
| formula | string | both, female or male: the tradition has one formula for each sex at birth. |
| birth_date * | string | The birth date, YYYY-MM-DD, from 1901 to 2099. |
| birth_time | string | Optional: the local birth time, HH:MM. It matters only on the day of Li Chun (about 4 February). |
| utc_offset_minutes | integer | The birth place’s offset from UTC in early February, in minutes (0 for the UK, 480 for China) (minutes). |
{
"name": "kua_number",
"title": "Kua number calculator",
"description": "Use when someone asks for their feng shui kua number, East or West group, or favourable directions from a birth date. It reports what the Eight Mansions school says; feng shui is a tradition, not a science.",
"inputSchema": {
"type": "object",
"required": [
"birth_date"
],
"properties": {
"formula": {
"enum": [
"both",
"female",
"male"
],
"type": "string",
"default": "both",
"description": "both, female or male: the tradition has one formula for each sex at birth."
},
"birth_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"1990-06-15"
],
"description": "The birth date, YYYY-MM-DD, from 1901 to 2099."
},
"birth_time": {
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$",
"examples": [
"08:30"
],
"description": "Optional: the local birth time, HH:MM. It matters only on the day of Li Chun (about 4 February)."
},
"utc_offset_minutes": {
"type": "integer",
"default": 0,
"maximum": 840,
"minimum": -720,
"description": "The birth place’s offset from UTC in early February, in minutes (0 for the UK, 480 for China) (minutes)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "kua-number",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"kua_number",
"counted_year",
"li_chun",
"born_before_li_chun",
"li_chun_day",
"li_chun_day_unresolved",
"li_chun_too_close",
"female",
"male",
"if_born_before_li_chun_time",
"lunar_new_year_alternative"
],
"properties": {
"male": {
"type": "object",
"description": "The male formula, the same way"
},
"female": {
"type": "object",
"description": "The female formula: kua_number, group, favourable and unfavourable directions, and more"
},
"li_chun": {
"type": "object",
"description": "utc, local_date, local_time"
},
"kua_number": {
"type": [
"number",
"null"
],
"description": "With formula female or male: that kua number"
},
"li_chun_day": {
"type": "boolean"
},
"counted_year": {
"type": "number",
"description": "The year the tradition counts (Li Chun, about 4 February, starts it)"
},
"li_chun_too_close": {
"type": "boolean",
"description": "Born within 20 minutes of it"
},
"born_before_li_chun": {
"type": "boolean"
},
"li_chun_day_unresolved": {
"type": "boolean",
"description": "Born on Li Chun with no time given"
},
"lunar_new_year_alternative": {
"type": [
"object",
"null"
],
"description": "Born 21 Jan–20 Feb: the other year some teachers count"
},
"if_born_before_li_chun_time": {
"type": [
"object",
"null"
],
"description": "With li_chun_day_unresolved: both formulas for the year before"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"birth_date",
"birth_time",
"utc_offset_minutes",
"formula"
],
"properties": {
"formula": {
"enum": [
"both",
"female",
"male"
],
"type": [
"string",
"null"
],
"description": "both, female or male: the tradition has one formula for each sex at birth."
},
"birth_date": {
"type": [
"string",
"null"
],
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"1990-06-15"
],
"description": "The birth date, YYYY-MM-DD, from 1901 to 2099."
},
"birth_time": {
"type": [
"string",
"null"
],
"pattern": "^\\d{1,2}:\\d{2}$",
"examples": [
"08:30"
],
"description": "Optional: the local birth time, HH:MM. It matters only on the day of Li Chun (about 4 February)."
},
"utc_offset_minutes": {
"type": [
"integer",
"null"
],
"maximum": 840,
"minimum": -720,
"description": "The birth place’s offset from UTC in early February, in minutes (0 for the UK, 480 for China) (minutes)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Kua number calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use when someone asks how to use a feng shui bagua map in a room or a home, which area of a room is wealth or relationships, or where their door falls on the bagua. It reports what the tradition says; feng shui is a tradition, not a science.
| Parameter | Type | Description |
|---|---|---|
| facing | string | For the compass method: the way you face as you walk in, N, NE, E, SE, S, SW, W or NW. |
| method | string | btb (from the door, the Western school) or compass. |
| door_wall | string | The wall the door is on, as drawn on the plan: bottom, left, top or right. |
| door_position | string | Where the door is on that wall, standing in the doorway looking in: left, middle or right. |
| room_width_cm | number | The room’s width, across the plan (cm). |
| room_length_cm | number | The room’s length, up the plan (cm). |
{
"name": "bagua_map",
"title": "Bagua map for a room",
"description": "Use when someone asks how to use a feng shui bagua map in a room or a home, which area of a room is wealth or relationships, or where their door falls on the bagua. It reports what the tradition says; feng shui is a tradition, not a science.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"facing": {
"enum": [
"N",
"NE",
"E",
"SE",
"S",
"SW",
"W",
"NW"
],
"type": "string",
"default": "N",
"description": "For the compass method: the way you face as you walk in, N, NE, E, SE, S, SW, W or NW."
},
"method": {
"enum": [
"btb",
"compass"
],
"type": "string",
"default": "btb",
"description": "btb (from the door, the Western school) or compass."
},
"door_wall": {
"enum": [
"bottom",
"left",
"top",
"right"
],
"type": "string",
"default": "bottom",
"description": "The wall the door is on, as drawn on the plan: bottom, left, top or right."
},
"door_position": {
"enum": [
"left",
"middle",
"right"
],
"type": "string",
"default": "middle",
"description": "Where the door is on that wall, standing in the doorway looking in: left, middle or right."
},
"room_width_cm": {
"type": "number",
"default": 300,
"maximum": 3000,
"minimum": 50,
"description": "The room’s width, across the plan (cm)."
},
"room_length_cm": {
"type": "number",
"default": 350,
"maximum": 3000,
"minimum": 50,
"description": "The room’s length, up the plan (cm)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tool",
"version",
"inputs",
"answer",
"summary",
"working",
"notes",
"sources",
"page_url",
"snuug"
],
"properties": {
"tool": {
"type": "string",
"const": "bagua-map",
"description": "The tool, as named in its API and page URLs."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Caveats to pass on with the answer."
},
"snuug": {
"type": "string",
"description": "One line about Snuug, the app behind the calculators."
},
"answer": {
"type": "object",
"required": [
"cell",
"cells",
"door",
"north_angle_deg"
],
"properties": {
"cell": {
"type": "object",
"description": "Each area’s size: width_cm, length_cm"
},
"door": {
"type": "object",
"description": "x_cm, y_cm, width_cm, wall, area"
},
"cells": {
"type": "array",
"description": "The nine areas: area, name, place, direction, rect (x_cm, y_cm, width_cm, length_cm), door, and what the tradition says"
},
"north_angle_deg": {
"type": [
"number",
"null"
],
"description": "Compass method: north on the plan, clockwise from up"
}
},
"description": "The answer as named values.",
"additionalProperties": false
},
"inputs": {
"type": "object",
"required": [
"room_width_cm",
"room_length_cm",
"door_wall",
"door_position",
"method",
"facing"
],
"properties": {
"facing": {
"enum": [
"N",
"NE",
"E",
"SE",
"S",
"SW",
"W",
"NW"
],
"type": [
"string",
"null"
],
"description": "For the compass method: the way you face as you walk in, N, NE, E, SE, S, SW, W or NW."
},
"method": {
"enum": [
"btb",
"compass"
],
"type": [
"string",
"null"
],
"description": "btb (from the door, the Western school) or compass."
},
"door_wall": {
"enum": [
"bottom",
"left",
"top",
"right"
],
"type": [
"string",
"null"
],
"description": "The wall the door is on, as drawn on the plan: bottom, left, top or right."
},
"door_position": {
"enum": [
"left",
"middle",
"right"
],
"type": [
"string",
"null"
],
"description": "Where the door is on that wall, standing in the doorway looking in: left, middle or right."
},
"room_width_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 50,
"description": "The room’s width, across the plan (cm)."
},
"room_length_cm": {
"type": [
"number",
"null"
],
"maximum": 3000,
"minimum": 50,
"description": "The room’s length, up the plan (cm)."
}
},
"description": "Every input as the tool used it: given, a default, or filled in from the rules.",
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"url",
"checked"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string"
},
"checked": {
"type": "string",
"format": "date"
}
}
},
"description": "The sources of the rules used. Every rule cites its source, with the date it was checked."
},
"summary": {
"type": "string",
"description": "The answer in one sentence to quote."
},
"version": {
"type": "string",
"description": "The version of this contract."
},
"working": {
"type": "array",
"items": {
"type": "string"
},
"description": "How the answer was worked out, one step a line."
},
"page_url": {
"type": "string",
"format": "uri",
"description": "The calculator on snuug.app with these inputs filled in."
}
}
},
"annotations": {
"title": "Bagua map for a room",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Room calculators from snuug.app. Lengths are in cm (a TV in inches, areas in m²). Every rule cites its source: each result has a one-sentence summary to quote, notes to pass on, its working, its sources and a link to the calculator with the same inputs.
Names, descriptions and schemas were written by the server and are shown as data.