Server definition
- Hash
- sha256:f3ff24af6f99130247a18809441e6c5af26cd773c46d6c8e9c418030024254dc
- What it is
- What a remote MCP server returned when asked what it offers: 10 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Estimate the TDEE activity multiplier via the classic lookup table or a NEAT+EAT model (occupation/steps for non-exercise, training volume for exercise).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"activity_level": {
"anyOf": [
{
"enum": [
"sedentary",
"light",
"moderate",
"active",
"very_active"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"bmr": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"intensity": {
"anyOf": [
{
"enum": [
"light",
"moderate",
"vigorous"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"occupation": {
"anyOf": [
{
"enum": [
"desk",
"standing",
"manual",
"heavy"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_minutes": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 600,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"sessions_per_week": {
"anyOf": [
{
"maximum": 21,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"steps_per_day": {
"anyOf": [
{
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"weight": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"type": "object"
},
"name": "activity-multiplier",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
},
{
"description": "Measure actual TDEE from a logged history of daily weight and/or calorie intake. Default method (kalman) is a joint Kalman filter over true weight and TDEE — handles missing days, gates outliers, and reports uncertainty (CI95) alongside denoised true weight; regression/endpoints are simple window-based estimates kept for comparison. Use instead of formula TDEE once real logged data exists. Each entry needs at least one of weight/kcal (not necessarily both). Entry dates must span 10 years or less (earliest to latest). Note: all methods need at least one weigh-in (kalman) or two (regression/endpoints) — a history with zero weight entries throws under the kalman default; pass methods:'all' to get a graceful empty/skipped result instead.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"kcal": {
"exclusiveMinimum": 0,
"maximum": 20000,
"type": "number"
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"date"
],
"type": "object"
},
"maxItems": 400,
"minItems": 10,
"type": "array"
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "kalman"
},
"prior_tdee_kcal": {
"description": "Optional starting TDEE estimate, e.g. from the tdee tool; speeds early convergence.",
"maximum": 10000,
"minimum": 500,
"type": "number"
},
"window_days": {
"default": 7,
"maximum": 14,
"minimum": 3,
"type": "integer"
}
},
"required": [
"entries"
],
"type": "object"
},
"name": "adaptive-tdee",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
},
{
"description": "Estimate body-fat % via US Navy circumference, Jackson-Pollock 3-site skinfold, and Deurenberg (BMI-based) methods.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"age": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 120,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"unit": {
"default": "cm",
"enum": [
"cm",
"in",
"mm"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"hip": {
"anyOf": [
{
"$ref": "#/properties/height/anyOf/0"
},
{
"type": "null"
}
],
"default": null
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"neck": {
"anyOf": [
{
"$ref": "#/properties/height/anyOf/0"
},
{
"type": "null"
}
],
"default": null
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
},
"skinfold_sum": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"waist": {
"anyOf": [
{
"$ref": "#/properties/height/anyOf/0"
},
{
"type": "null"
}
],
"default": null
},
"weight": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"$ref": "#/properties/height/anyOf/0/properties/value"
}
},
"required": [
"value"
],
"type": "object"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"sex"
],
"type": "object"
},
"name": "body-fat",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
},
{
"description": "Compute the Fat-Free Mass Index (FFMI) and its height-adjusted form from weight and body fat (or lean mass), and flag whether it exceeds the ~25 natural ceiling.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body_fat": {
"anyOf": [
{
"maximum": 70,
"minimum": 2,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "cm",
"enum": [
"cm",
"in",
"mm"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"lean_mass": {
"anyOf": [
{
"$ref": "#/properties/weight"
},
{
"type": "null"
}
],
"default": null
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"$ref": "#/properties/height/properties/value"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"height",
"weight"
],
"type": "object"
},
"name": "ffmi",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus"
],
"type": "object"
}
},
{
"description": "Compute protein/fat/carb grams for a calorie target using the g-per-kg-bodyweight method, with goal-based protein defaults.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"calories": {
"exclusiveMinimum": 0,
"type": "number"
},
"fat_g_per_kg": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 3,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"goal": {
"default": "maintain",
"enum": [
"cut",
"maintain",
"bulk"
],
"type": "string"
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"protein_g_per_kg": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 4,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"calories",
"weight"
],
"type": "object"
},
"name": "macros",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus"
],
"type": "object"
}
},
{
"description": "Estimate drug-free maximum bodyweight at a target body-fat % via Casey Butt (wrist+ankle), the FFMI~25 natural cap, and Berkhan's max-contest-weight model. Men only in v1.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"ankle": {
"anyOf": [
{
"$ref": "#/properties/height"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "cm",
"enum": [
"cm",
"in",
"mm"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
},
"target_body_fat_pct": {
"default": 10,
"maximum": 40,
"minimum": 3,
"type": "number"
},
"wrist": {
"anyOf": [
{
"$ref": "#/properties/height"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"sex",
"height"
],
"type": "object"
},
"name": "muscle-potential",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
},
{
"description": "Estimate 1RM from a submaximal set via Epley, Brzycki, Lombardi, Wathan, O'Conner, and Mayhew; returns a %1RM load chart.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"reps": {
"exclusiveMinimum": 0,
"maximum": 20,
"type": "integer"
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"weight",
"reps"
],
"type": "object"
},
"name": "one-rep-max",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"percent_table": {
"items": {
"additionalProperties": false,
"properties": {
"load": {
"type": "number"
},
"percent": {
"type": "number"
}
},
"required": [
"percent",
"load"
],
"type": "object"
},
"type": "array"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"percent_table"
],
"type": "object"
}
},
{
"description": "Deterministic opener/second/third attempts from an estimated 1RM, plus a warmup ramp and per-side plate loading. Tunable by aggressiveness and available plates.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"aggressiveness": {
"default": "standard",
"enum": [
"conservative",
"standard",
"aggressive"
],
"type": "string"
},
"available_plates": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"bar_weight": {
"anyOf": [
{
"$ref": "#/properties/one_rep_max"
},
{
"type": "null"
}
],
"default": null
},
"one_rep_max": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"one_rep_max"
],
"type": "object"
},
"name": "powerlifting-attempts",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"aggressiveness": {
"enum": [
"conservative",
"standard",
"aggressive"
],
"type": "string"
},
"attempts": {
"additionalProperties": false,
"properties": {
"opener": {
"additionalProperties": false,
"properties": {
"plates_per_side": {
"items": {
"type": "number"
},
"type": "array"
},
"weight": {
"type": "number"
}
},
"required": [
"weight",
"plates_per_side"
],
"type": "object"
},
"second": {
"$ref": "#/properties/attempts/properties/opener"
},
"third": {
"$ref": "#/properties/attempts/properties/opener"
}
},
"required": [
"opener",
"second",
"third"
],
"type": "object"
},
"bar_weight": {
"type": "number"
},
"unit": {
"enum": [
"kg",
"lb"
],
"type": "string"
},
"warmups": {
"items": {
"additionalProperties": false,
"properties": {
"plates_per_side": {
"items": {
"type": "number"
},
"type": "array"
},
"reps": {
"type": "integer"
},
"weight": {
"type": "number"
}
},
"required": [
"weight",
"reps",
"plates_per_side"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"attempts",
"warmups",
"bar_weight",
"unit",
"aggressiveness"
],
"type": "object"
}
},
{
"description": "Estimate the appendicular skeletal muscle index (RSMI) from a DXA value (direct) and/or an anthropometric estimate (Wen 2011), and flag low muscle mass against EWGSOP2, AWGS, and Baumgartner sarcopenia cutoffs.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"age": {
"exclusiveMinimum": 0,
"maximum": 120,
"type": "number"
},
"asm_kg": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "cm",
"enum": [
"cm",
"in",
"mm"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"$ref": "#/properties/height/properties/value"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"sex",
"height",
"weight",
"age"
],
"type": "object"
},
"name": "rsmi",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
},
{
"description": "Estimate BMR and TDEE via Mifflin-St Jeor, Harris-Benedict, Katch-McArdle, and Cunningham. Provide body_fat or lean_mass to unlock the LBM-based methods.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"activity": {
"anyOf": [
{
"enum": [
"sedentary",
"light",
"moderate",
"active",
"very_active"
],
"type": "string"
},
{
"type": "number"
}
]
},
"age": {
"exclusiveMinimum": 0,
"maximum": 120,
"type": "number"
},
"body_fat": {
"anyOf": [
{
"maximum": 70,
"minimum": 2,
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "cm",
"enum": [
"cm",
"in",
"mm"
],
"type": "string"
},
"value": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"value"
],
"type": "object"
},
"lean_mass": {
"anyOf": [
{
"$ref": "#/properties/weight"
},
{
"type": "null"
}
],
"default": null
},
"methods": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
},
"weight": {
"additionalProperties": false,
"properties": {
"unit": {
"default": "kg",
"enum": [
"kg",
"lb"
],
"type": "string"
},
"value": {
"$ref": "#/properties/height/properties/value"
}
},
"required": [
"value"
],
"type": "object"
}
},
"required": [
"sex",
"age",
"height",
"weight",
"activity"
],
"type": "object"
},
"name": "tdee",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consensus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"mean": {
"type": "number"
},
"median": {
"type": "number"
},
"min": {
"type": "number"
},
"n": {
"type": "integer"
}
},
"required": [
"mean",
"median",
"min",
"max",
"n"
],
"type": "object"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"additionalProperties": {},
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"method": {
"type": "string"
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"method",
"value",
"unit"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"method",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"consensus",
"skipped"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:f3ff24af6f99130247a18809441e6c5af26cd773c46d6c8e9c418030024254dc | sha256sum