Honest numbers, not guesses
Tally looks up the declaration (your own library first, otherwise the producer’s page), shows the calculation and asks if it looks right before anything is logged. Restaurant food gets an honest range.
Already tracking calories with Claude? Tally connects it to a proper food diary. Meals stay saved, calculations stay consistent, and a new chat can pick up where the last one left off.
With your account in place, connect Tally to Claude so you can log in chat. You need a Claude account with access to connectors (Pro, Max or Team).
claude.ai → Settings → Connectors and click “Add custom connector”.
Name it Tally, and paste the address:
https://mcp.tallyday.dk/mcp
Click “Connect” and sign in with your Tally account: the same email and password you signed up with. The account is also your dashboard login.
How it works
Tally looks up the declaration (your own library first, otherwise the producer’s page), shows the calculation and asks if it looks right before anything is logged. Restaurant food gets an honest range.
Snap a picture of your plate. Claude recognizes the dish and uses the plate, cutlery and known sizes as a reference to estimate the amount in grams. You see the math and can adjust before anything is logged.
Medication, mood, soreness, sleep: say what you want to keep an eye on and Tally remembers it. With a Garmin watch, sleep, steps, heart rate and every workout detail follow along automatically.
Everything is encrypted in the EU (Stockholm) and separated per user. Tally doesn’t sell data and shows no ads. Ask for an export, or full deletion, anytime.
Dashboard
Log in the chat, and see it all at tallyday.dk/app: today’s balance, sleep and steps from your watch, the receipt and your trends over time.
For AI assistants & developers
Connect your assistant to Tally to log nutrition, exercise and health metrics, manage meal plans, and read your own journal. One authenticated account connects chat and your dashboard.
Expand a tool for its purpose, inputs, response fields and full JSON schemas. Read tools retrieve data; write tools change stored records.
load_contextReadStart every conversation with this read-only tool. Returns the authenticated user’s profile, saved preferences, configured trackers and today’s summary. A no_profile status directs new users to account setup in the app.
Inputs: none.
Response fields: status, identity, message, signup_url, profile, consent, memory, trackers, today, unfilled_days, query_journal_fields, hint. Optional fields depend on the result.
{
"inputSchema": {
"properties": {},
"title": "load_contextInput",
"type": "object"
},
"outputSchema": {
"$defs": {
"TodayBlock": {
"additionalProperties": false,
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"summary": {
"additionalProperties": true,
"title": "Summary",
"type": "object"
},
"table": {
"title": "Table",
"type": "string"
},
"render_instruction": {
"default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
"title": "Render Instruction",
"type": "string"
},
"meals_logged": {
"title": "Meals Logged",
"type": "integer"
},
"exercise_logged": {
"title": "Exercise Logged",
"type": "integer"
},
"metrics_logged": {
"title": "Metrics Logged",
"type": "integer"
}
},
"required": [
"date",
"summary",
"table",
"meals_logged",
"exercise_logged",
"metrics_logged"
],
"title": "TodayBlock",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"status": {
"title": "Status",
"type": "string"
},
"identity": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Identity"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"signup_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Signup Url"
},
"profile": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Profile"
},
"consent": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Consent"
},
"memory": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Memory"
},
"trackers": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Trackers"
},
"today": {
"anyOf": [
{
"$ref": "#/$defs/TodayBlock"
},
{
"type": "null"
}
],
"default": null
},
"unfilled_days": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Unfilled Days"
},
"query_journal_fields": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Query Journal Fields"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hint"
}
},
"required": [
"status"
],
"title": "LoadContextResponse",
"type": "object"
}
}save_profileWriteCreate a profile programmatically and calculate BMR, TDEE and targets. New users must complete signup in the app first. TDEE methods are calculate, multiplier and typed. Positive deficit means a calorie reduction; protein, fat and fiber targets are minimums.
| Parameter | Type | Required / default |
|---|---|---|
name | string | null | null |
sex | string | null | null |
age | integer | null | null |
height_cm | number | null | null |
weight_kg | number | null | null |
tdee_method | string | null | null |
tdee_given | number | null | null |
baseline_steps | integer | null | null |
bmr_override | number | null | null |
deficit | number | null | 500 |
target_kcal | number | null | null |
protein_minimum_target_g | number | null | null |
kcal_per_extra_step | number | null | null |
tz | string | null | null |
country | string | null | null |
job_activity | string | null | null |
include_steps | boolean | null | null |
activity_level | string | null | null |
goal_rate_kg_per_week | number | null | null |
protein_g_per_kg | number | null | null |
track_protein | boolean | null | null |
track_fat | boolean | null | null |
track_fiber | boolean | null | null |
Response fields: message, computed, profile, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"sex": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sex"
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Age"
},
"height_cm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Height Cm"
},
"weight_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight Kg"
},
"tdee_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tdee Method"
},
"tdee_given": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Tdee Given"
},
"baseline_steps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Baseline Steps"
},
"bmr_override": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Bmr Override"
},
"deficit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": 500,
"title": "Deficit"
},
"target_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Target Kcal"
},
"protein_minimum_target_g": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Protein Minimum Target G"
},
"kcal_per_extra_step": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Kcal Per Extra Step"
},
"tz": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tz"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Country"
},
"job_activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Job Activity"
},
"include_steps": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Steps"
},
"activity_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Activity Level"
},
"goal_rate_kg_per_week": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Goal Rate Kg Per Week"
},
"protein_g_per_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Protein G Per Kg"
},
"track_protein": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Protein"
},
"track_fat": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Fat"
},
"track_fiber": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Fiber"
}
},
"title": "save_profileInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"computed": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Computed"
},
"profile": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Profile"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "ProfileWriteResponse",
"type": "object"
}
}update_profileWriteUpdate only the supplied profile fields and recalculate affected targets. A changed weight also creates today’s weigh-in. Use log_weight for a weigh-in with body-composition measurements.
| Parameter | Type | Required / default |
|---|---|---|
weight_kg | number | null | null |
height_cm | number | null | null |
age | integer | null | null |
tdee_method | string | null | null |
tdee_given | number | null | null |
baseline_steps | integer | null | null |
bmr_override | number | null | null |
deficit | number | null | null |
target_kcal | number | null | null |
protein_minimum_target_g | number | null | null |
kcal_per_extra_step | number | null | null |
tz | string | null | null |
country | string | null | null |
job_activity | string | null | null |
include_steps | boolean | null | null |
activity_level | string | null | null |
goal_rate_kg_per_week | number | null | null |
protein_g_per_kg | number | null | null |
track_protein | boolean | null | null |
track_fat | boolean | null | null |
track_fiber | boolean | null | null |
Response fields: message, computed, profile, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"weight_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Weight Kg"
},
"height_cm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Height Cm"
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Age"
},
"tdee_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tdee Method"
},
"tdee_given": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Tdee Given"
},
"baseline_steps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Baseline Steps"
},
"bmr_override": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Bmr Override"
},
"deficit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Deficit"
},
"target_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Target Kcal"
},
"protein_minimum_target_g": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Protein Minimum Target G"
},
"kcal_per_extra_step": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Kcal Per Extra Step"
},
"tz": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tz"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Country"
},
"job_activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Job Activity"
},
"include_steps": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Include Steps"
},
"activity_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Activity Level"
},
"goal_rate_kg_per_week": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Goal Rate Kg Per Week"
},
"protein_g_per_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Protein G Per Kg"
},
"track_protein": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Protein"
},
"track_fat": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Fat"
},
"track_fiber": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Fiber"
}
},
"title": "update_profileInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"computed": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Computed"
},
"profile": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Profile"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "ProfileWriteResponse",
"type": "object"
}
}log_mealWriteLog final meal totals after checking nutrition sources and confirming composite meal components. Components accept name, grams, kcal and macro fields. source is deklaration, web, estimat or bibliotek. eaten_at accepts HH:MM or an ISO datetime. meal_type is morgenmad, frokost, aftensmad or snack; omitted types are inferred and flagged in the response. New composite meals can be saved to the library. Attach images afterward in the app.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
kcal | number | Required |
protein_g | number | 0 |
carbs_g | number | 0 |
fat_g | number | 0 |
fiber_g | number | 0 |
components | array<object> | null | null |
note | string | null | null |
meal_type | string | null | null |
eaten_at | string | null | null |
source | string | null | null |
extra | object | null | null |
save_to_library | boolean | null | null |
date | string | null | null |
Response fields: message, table, render_instruction, plan, saved_to_library, meal_type, meal_type_inferred. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"kcal": {
"title": "Kcal",
"type": "number"
},
"protein_g": {
"default": 0,
"title": "Protein G",
"type": "number"
},
"carbs_g": {
"default": 0,
"title": "Carbs G",
"type": "number"
},
"fat_g": {
"default": 0,
"title": "Fat G",
"type": "number"
},
"fiber_g": {
"default": 0,
"title": "Fiber G",
"type": "number"
},
"components": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Components"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
},
"meal_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal Type"
},
"eaten_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Eaten At"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"save_to_library": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Save To Library"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"name",
"kcal"
],
"title": "log_mealInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"title": "Message",
"type": "string"
},
"table": {
"title": "Table",
"type": "string"
},
"render_instruction": {
"default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
"title": "Render Instruction",
"type": "string"
},
"plan": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Plan"
},
"saved_to_library": {
"title": "Saved To Library",
"type": "boolean"
},
"meal_type": {
"title": "Meal Type",
"type": "string"
},
"meal_type_inferred": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal Type Inferred"
}
},
"required": [
"message",
"table",
"saved_to_library",
"meal_type"
],
"title": "LogMealResponse",
"type": "object"
}
}log_meal_from_libraryWriteFind a saved meal by name or alias and log its stored nutrition. Scale with servings, or with grams when the saved reference uses weight. A meal saved in portions cannot be scaled with grams. Returns the resolved meal and updated daily table.
| Parameter | Type | Required / default |
|---|---|---|
name_or_alias | string | Required |
servings | number | 1 |
grams | number | null | null |
meal_type | string | null | null |
eaten_at | string | null | null |
extra | object | null | null |
date | string | null | null |
Response fields: message, table, render_instruction, plan, meal_type, meal_type_inferred, error, suggestions. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name_or_alias": {
"title": "Name Or Alias",
"type": "string"
},
"servings": {
"default": 1,
"title": "Servings",
"type": "number"
},
"grams": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Grams"
},
"meal_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal Type"
},
"eaten_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Eaten At"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"name_or_alias"
],
"title": "log_meal_from_libraryInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"plan": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Plan"
},
"meal_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal Type"
},
"meal_type_inferred": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal Type Inferred"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
},
"suggestions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Suggestions"
}
},
"title": "LogMealFromLibraryResponse",
"type": "object"
}
}log_exerciseWriteLog a completed activity with a positive kcal_burned value; the daily table subtracts it from food intake. source is manual, met_estimate or garmin. Use conservative estimates and confirm Garmin workouts before logging them. extra can hold tracker values.
| Parameter | Type | Required / default |
|---|---|---|
activity | string | Required |
kcal_burned | number | Required |
source | string | "manual" |
raw | object | null | null |
extra | object | null | null |
date | string | null | null |
Response fields: message, table, render_instruction, plan, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"activity": {
"title": "Activity",
"type": "string"
},
"kcal_burned": {
"title": "Kcal Burned",
"type": "number"
},
"source": {
"default": "manual",
"title": "Source",
"type": "string"
},
"raw": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Raw"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"activity",
"kcal_burned"
],
"title": "log_exerciseInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"plan": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Plan"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "LogExerciseResponse",
"type": "object"
}
}log_weightWriteRecord body weight in kilograms, with optional body-fat percentage, muscle mass, skeletal muscle mass, source and extra measurements. Returns the updated day and weigh-in; it is available to trend queries.
| Parameter | Type | Required / default |
|---|---|---|
weight_kg | number | Required |
body_fat_pct | number | null | null |
muscle_kg | number | null | null |
skeletal_muscle_kg | number | null | null |
source | string | null | null |
extra | object | null | null |
date | string | null | null |
Response fields: message, table, render_instruction, plan, weight. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"weight_kg": {
"title": "Weight Kg",
"type": "number"
},
"body_fat_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Body Fat Pct"
},
"muscle_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Muscle Kg"
},
"skeletal_muscle_kg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Skeletal Muscle Kg"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"weight_kg"
],
"title": "log_weightInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"title": "Message",
"type": "string"
},
"table": {
"title": "Table",
"type": "string"
},
"render_instruction": {
"default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
"title": "Render Instruction",
"type": "string"
},
"plan": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Plan"
},
"weight": {
"additionalProperties": true,
"title": "Weight",
"type": "object"
}
},
"required": [
"message",
"table",
"weight"
],
"title": "LogWeightResponse",
"type": "object"
}
}log_sessionWriteRecord how today’s training session felt, including type, optional RPE from 1 to 10, subjective feedback, notes and extra tracker values. This does not add an exercise calorie deduction; use log_exercise for burned calories.
| Parameter | Type | Required / default |
|---|---|---|
type | string | Required |
rpe | number | null | null |
felt | string | null | null |
notes | string | null | null |
extra | object | null | null |
Response fields: message, session, sessions_today. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"type": {
"title": "Type",
"type": "string"
},
"rpe": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rpe"
},
"felt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Felt"
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Notes"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
}
},
"required": [
"type"
],
"title": "log_sessionInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"title": "Message",
"type": "string"
},
"session": {
"additionalProperties": true,
"title": "Session",
"type": "object"
},
"sessions_today": {
"title": "Sessions Today",
"type": "integer"
}
},
"required": [
"message",
"session",
"sessions_today"
],
"title": "LogSessionResponse",
"type": "object"
}
}log_metricWriteRecord a number or short text value such as mood, soreness, medication or sleep quality. Configured trackers validate value types and ranges. For an ongoing new metric, confirm its type before configure_tracker. One-off metrics need no configuration.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
value | any | Required |
unit | string | null | null |
context | string | null | null |
note | string | null | null |
extra | object | null | null |
date | string | null | null |
Response fields: message, table, render_instruction, metric, metrics_today, error, tracker. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"value": {
"title": "Value"
},
"unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Unit"
},
"context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
},
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"name",
"value"
],
"title": "log_metricInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"metric": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Metric"
},
"metrics_today": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Metrics Today"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
},
"tracker": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Tracker"
}
},
"title": "LogMetricResponse",
"type": "object"
}
}configure_trackerWriteCreate, update, deactivate or remove a custom tracker. value_type is quantity, scale, yes_no or text. Scale ratings default to 1–5 unless another range is requested. when can include before_exercise, after_exercise, with_meal, daily or adhoc. remove permanently removes the tracker configuration.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
value_type | string | null | null |
scale_min | number | null | null |
scale_max | number | null | null |
scale | string | null | null |
unit | string | null | null |
when | array<string> | null | null |
notes | string | null | null |
active | boolean | true |
remove | boolean | false |
Response fields: message, trackers, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"value_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Value Type"
},
"scale_min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Scale Min"
},
"scale_max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Scale Max"
},
"scale": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Scale"
},
"unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Unit"
},
"when": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "When"
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Notes"
},
"active": {
"default": true,
"title": "Active",
"type": "boolean"
},
"remove": {
"default": false,
"title": "Remove",
"type": "boolean"
}
},
"required": [
"name"
],
"title": "configure_trackerInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"trackers": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Trackers"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "ConfigureTrackerResponse",
"type": "object"
}
}delete_entryWriteRemove a logged meal, exercise, session, metric or weight entry by kind and zero-based index, then recalculate the day. Read the day first to identify the correct index. Weight always has index 0. Confirm the removal before calling.
| Parameter | Type | Required / default |
|---|---|---|
kind | string | Required |
index | integer | Required |
date | string | null | null |
Response fields: message, table, render_instruction, removed, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"kind": {
"title": "Kind",
"type": "string"
},
"index": {
"title": "Index",
"type": "integer"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"kind",
"index"
],
"title": "delete_entryInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"removed": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Removed"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "DeleteEntryResponse",
"type": "object"
}
}get_entry_imagesReadReturn temporary signed view URLs for images attached to a logged meal, exercise, weigh-in, session or metric. Use an entry_id returned by day-summary or journal results. Upload and attach images through the app, not this tool.
| Parameter | Type | Required / default |
|---|---|---|
entry_id | string | Required |
date | string | null | null |
Response fields: images, message, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"entry_id": {
"title": "Entry Id",
"type": "string"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"required": [
"entry_id"
],
"title": "get_entry_imagesInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"images": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Images"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "EntryImagesResponse",
"type": "object"
}
}search_mealsReadSearch meals by fuzzy name or alias; an empty query lists saved items. Set collection to blocks to search reusable block templates and optionally filter by kind. Results include reference quantities and nutrition totals.
| Parameter | Type | Required / default |
|---|---|---|
q | string | "" |
collection | meals | blocks | "meals" |
kind | string | null | null |
Response fields: count, meals, blocks. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"q": {
"default": "",
"title": "Q",
"type": "string"
},
"collection": {
"default": "meals",
"enum": [
"meals",
"blocks"
],
"title": "Collection",
"type": "string"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
}
},
"title": "search_mealsInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"meals": {
"default": [],
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Meals",
"type": "array"
},
"blocks": {
"default": [],
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Blocks",
"type": "array"
}
},
"required": [
"count"
],
"title": "SearchMealsResponse",
"type": "object"
}
}search_ingredientsReadSearch individual ingredients by fuzzy name or alias. An empty query lists saved ingredients. Results include reference quantities and nutrition; scale by requested amount divided by reference amount.
| Parameter | Type | Required / default |
|---|---|---|
q | string | "" |
Response fields: count, ingredients. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"q": {
"default": "",
"title": "Q",
"type": "string"
}
},
"title": "search_ingredientsInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"ingredients": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Ingredients",
"type": "array"
}
},
"required": [
"count",
"ingredients"
],
"title": "SearchIngredientsResponse",
"type": "object"
}
}save_mealWriteSave a reusable meal without logging it. Supply flat nutrition for the reference quantity, or contents made from library references and inline ingredients. The server derives composite totals. contents items accept library_meal or library_ingredient with amount and unit, or name, amount, unit, nutrition and optional nested contents. Nesting is limited to three levels.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
kcal | number | null | null |
protein_g | number | 0 |
carbs_g | number | 0 |
fat_g | number | 0 |
fiber_g | number | 0 |
contents | array<object> | null | null |
components | array<object> | null | null |
aliases | array<string> | null | null |
desc | string | null | null |
is_preset | boolean | false |
per | string | "portion" |
reference_amount | number | null | null |
reference_unit | string | null | null |
Response fields: message, meal, name_normalized, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Kcal"
},
"protein_g": {
"default": 0,
"title": "Protein G",
"type": "number"
},
"carbs_g": {
"default": 0,
"title": "Carbs G",
"type": "number"
},
"fat_g": {
"default": 0,
"title": "Fat G",
"type": "number"
},
"fiber_g": {
"default": 0,
"title": "Fiber G",
"type": "number"
},
"contents": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Contents"
},
"components": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Components"
},
"aliases": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Aliases"
},
"desc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Desc"
},
"is_preset": {
"default": false,
"title": "Is Preset",
"type": "boolean"
},
"per": {
"default": "portion",
"title": "Per",
"type": "string"
},
"reference_amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference Amount"
},
"reference_unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference Unit"
}
},
"required": [
"name"
],
"title": "save_mealInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"meal": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meal"
},
"name_normalized": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Name Normalized"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SaveMealResponse",
"type": "object"
}
}save_ingredientWriteSave or overwrite an ingredient’s verified reference nutrition. The default reference is 100 g; reference_amount and reference_unit can define another quantity. source is deklaration, web or estimat. Future portions scale from this reference.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
kcal | number | Required |
protein_g | number | 0 |
carbs_g | number | 0 |
fat_g | number | 0 |
fiber_g | number | 0 |
per | string | "100g" |
aliases | array<string> | null | null |
desc | string | null | null |
source | string | null | null |
reference_amount | number | null | null |
reference_unit | string | null | null |
Response fields: message, ingredient, name_normalized, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"kcal": {
"title": "Kcal",
"type": "number"
},
"protein_g": {
"default": 0,
"title": "Protein G",
"type": "number"
},
"carbs_g": {
"default": 0,
"title": "Carbs G",
"type": "number"
},
"fat_g": {
"default": 0,
"title": "Fat G",
"type": "number"
},
"fiber_g": {
"default": 0,
"title": "Fiber G",
"type": "number"
},
"per": {
"default": "100g",
"title": "Per",
"type": "string"
},
"aliases": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Aliases"
},
"desc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Desc"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source"
},
"reference_amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference Amount"
},
"reference_unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reference Unit"
}
},
"required": [
"name",
"kcal"
],
"title": "save_ingredientInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"ingredient": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Ingredient"
},
"name_normalized": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Name Normalized"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SaveIngredientResponse",
"type": "object"
}
}save_blockWriteSave a reusable group of meals without changing a journal day. kind is morgenmad, frokost, aftensmad, snack, pre_workout or post_workout. meals uses the same library-reference or inline-item format as save_meal contents. Place a saved template on a plan with save_plan_block.
| Parameter | Type | Required / default |
|---|---|---|
name | string | Required |
kind | string | Required |
meals | array<object> | Required |
aliases | array<string> | null | null |
desc | string | null | null |
Response fields: message, block, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"kind": {
"title": "Kind",
"type": "string"
},
"meals": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Meals",
"type": "array"
},
"aliases": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Aliases"
},
"desc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Desc"
}
},
"required": [
"name",
"kind",
"meals"
],
"title": "save_blockInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"block": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Block"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SaveBlockResponse",
"type": "object"
}
}update_library_itemWriteRename a meal, ingredient or block, or update its description and aliases. Renaming preserves the old name as an alias. aliases replaces the alias list; kind applies only to blocks. Use the corresponding save tool to change nutrition or contents.
| Parameter | Type | Required / default |
|---|---|---|
collection | meal | ingredient | block | Required |
name | string | Required |
new_name | string | null | null |
desc | string | null | null |
aliases | array<string> | null | null |
kind | string | null | null |
Response fields: message, item, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"collection": {
"enum": [
"meal",
"ingredient",
"block"
],
"title": "Collection",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"new_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "New Name"
},
"desc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Desc"
},
"aliases": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Aliases"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
}
},
"required": [
"collection",
"name"
],
"title": "update_library_itemInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"item": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Item"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "UpdateLibraryItemResponse",
"type": "object"
}
}delete_library_itemWriteRemove a meal, ingredient or block. With merge_into, merge its name and aliases into another item in the same collection; the survivor keeps its own nutrition. Previously logged days and saved plans are not rewritten. Confirm destructive changes before calling.
| Parameter | Type | Required / default |
|---|---|---|
collection | meal | ingredient | block | Required |
name | string | Required |
merge_into | string | null | null |
Response fields: message, deleted, merged_into, survivor, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"collection": {
"enum": [
"meal",
"ingredient",
"block"
],
"title": "Collection",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"merge_into": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Merge Into"
}
},
"required": [
"collection",
"name"
],
"title": "delete_library_itemInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"deleted": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Deleted"
},
"merged_into": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Merged Into"
},
"survivor": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Survivor"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "DeleteLibraryItemResponse",
"type": "object"
}
}get_day_summaryReadRead a date’s complete structured summary and markdown table, including food, exercise, targets, net and remaining amounts. Omit date for today. A pending plan is identified separately. An incomplete past day can include fill options; missing food is not treated as zero.
| Parameter | Type | Required / default |
|---|---|---|
date | string | null | null |
Response fields: date, summary, table, render_instruction, rows, steps, weight, sessions, excluded, label, estimated, fill, plan. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "get_day_summaryInput",
"type": "object"
},
"outputSchema": {
"$defs": {
"DayRows": {
"additionalProperties": false,
"properties": {
"meals": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Meals",
"type": "array"
},
"exercise": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Exercise",
"type": "array"
},
"metrics": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Metrics",
"type": "array"
}
},
"required": [
"meals",
"exercise",
"metrics"
],
"title": "DayRows",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"summary": {
"additionalProperties": true,
"title": "Summary",
"type": "object"
},
"table": {
"title": "Table",
"type": "string"
},
"render_instruction": {
"default": "Render the markdown table in `table` exactly as-is, complete and unchanged, at the end of your response. Never rebuild, reorder or summarize it.",
"title": "Render Instruction",
"type": "string"
},
"rows": {
"$ref": "#/$defs/DayRows"
},
"steps": {
"title": "Steps",
"type": "integer"
},
"weight": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Weight"
},
"sessions": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Sessions",
"type": "array"
},
"excluded": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Excluded"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Label"
},
"estimated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Estimated"
},
"fill": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Fill"
},
"plan": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Plan"
}
},
"required": [
"date",
"summary",
"table",
"rows",
"steps",
"weight",
"sessions"
],
"title": "DaySummaryResponse",
"type": "object"
}
}close_dayWriteReturn a final recap and save optional extra information or a day label. label is target, vedligehold, cheat or an empty string to clear it. exclude marks a day outside adherence averages; an empty string clears that mark. Real data remains visible. Clearing the label on an estimated filled day undoes that fill.
| Parameter | Type | Required / default |
|---|---|---|
extra | object | null | null |
date | string | null | null |
exclude | string | null | null |
label | target | vedligehold | cheat | | null | null |
Response fields: message, table, render_instruction, journal, excluded, label, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"extra": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"exclude": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Exclude"
},
"label": {
"anyOf": [
{
"enum": [
"target",
"vedligehold",
"cheat",
""
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Label"
}
},
"title": "close_dayInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"title": "Message",
"type": "string"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"journal": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Journal"
},
"excluded": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Excluded"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Label"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"required": [
"message"
],
"title": "CloseDayResponse",
"type": "object"
}
}fill_dayWriteEstimate missing food for a past day while preserving real entries. level is target, vedligehold (maintenance) or cheat. cheat_size is lille (+500 kcal), typisk (+1500) or stor (+3000), or use cheat_kcal for a custom surplus above maintenance. Optional exercise is logged before sizing the estimate. Repeating replaces the previous fill; count_in_averages controls adherence inclusion.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
level | target | vedligehold | cheat | Required |
cheat_size | lille | typisk | stor | null | null |
exercise_activity | string | null | null |
exercise_kcal | number | null | null |
count_in_averages | boolean | true |
cheat_kcal | number | null | null |
Response fields: message, table, render_instruction, label, estimated, excluded, estimate_row, exercise_row, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"level": {
"enum": [
"target",
"vedligehold",
"cheat"
],
"title": "Level",
"type": "string"
},
"cheat_size": {
"anyOf": [
{
"enum": [
"lille",
"typisk",
"stor"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cheat Size"
},
"exercise_activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Exercise Activity"
},
"exercise_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Exercise Kcal"
},
"count_in_averages": {
"default": true,
"title": "Count In Averages",
"type": "boolean"
},
"cheat_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Cheat Kcal"
}
},
"required": [
"date",
"level"
],
"title": "fill_dayInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Label"
},
"estimated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Estimated"
},
"excluded": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Excluded"
},
"estimate_row": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Estimate Row"
},
"exercise_row": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Exercise Row"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "FillDayResponse",
"type": "object"
}
}get_energy_balanceReadCompare net intake with the target (basis=target) or maintenance (basis=tdee). Use window 3d, 7d, uge-til-nu, 14d, 1md, md-til-nu or siden-sidste-vejning, or supply both start and end. Negative balance means below the reference. Historical targets remain date-specific. Missing-food days, today and explicitly excluded days do not contribute to balance averages.
| Parameter | Type | Required / default |
|---|---|---|
window | string | "7d" |
start | string | null | null |
end | string | null | null |
basis | string | "target" |
Response fields: window, target_kcal, tdee_kcal, basis, balance_kcal, avg_balance_kcal, buffer, days, summary, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"window": {
"default": "7d",
"title": "Window",
"type": "string"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
},
"basis": {
"default": "target",
"title": "Basis",
"type": "string"
}
},
"title": "get_energy_balanceInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"window": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Window"
},
"target_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Target Kcal"
},
"tdee_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Tdee Kcal"
},
"basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Basis"
},
"balance_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Balance Kcal"
},
"avg_balance_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Avg Balance Kcal"
},
"buffer": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Buffer"
},
"days": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Days"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Summary"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "EnergyBalanceResponse",
"type": "object"
}
}get_trendReadRead a dated series for weight, net_kcal, protein or body_fat_pct. days selects recent journal days. Food metrics skip days without logged meals. Excluded days remain tagged in the series; all weigh-ins remain visible.
| Parameter | Type | Required / default |
|---|---|---|
days | integer | 14 |
metric | string | "weight" |
Response fields: metric, days, points, series, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"days": {
"default": 14,
"title": "Days",
"type": "integer"
},
"metric": {
"default": "weight",
"title": "Metric",
"type": "string"
}
},
"title": "get_trendInput",
"type": "object"
},
"outputSchema": {
"$defs": {
"TrendPoint": {
"additionalProperties": false,
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"value": {
"title": "Value",
"type": "number"
},
"excluded": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Excluded"
}
},
"required": [
"date",
"value"
],
"title": "TrendPoint",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"metric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Metric"
},
"days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Days"
},
"points": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Points"
},
"series": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/TrendPoint"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Series"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "TrendResponse",
"type": "object"
}
}query_journalReadRun a read-only query over the authenticated user’s journal. filter_json supports equality and $gte, $lte, $gt, $lt, $in, $ne and $exists; write operators are rejected. projection selects fields and limit caps results. Discover supported journal fields through load_context.
| Parameter | Type | Required / default |
|---|---|---|
filter_json | object | Required |
projection | object | null | null |
limit | integer | 60 |
Response fields: count, results, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"filter_json": {
"additionalProperties": true,
"title": "Filter Json",
"type": "object"
},
"projection": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Projection"
},
"limit": {
"default": 60,
"title": "Limit",
"type": "integer"
}
},
"required": [
"filter_json"
],
"title": "query_journalInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Count"
},
"results": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Results"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "QueryJournalResponse",
"type": "object"
}
}get_planReadRead a proposed day’s food blocks, meals, ingredient quantities, motion and calculated totals. Returns status empty if no plan exists. Plans are separate from logged days until commit_plan is called.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
Response fields: date, status, blocks, motion, totals. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
}
},
"required": [
"date"
],
"title": "get_planInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"blocks": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Blocks",
"type": "array"
},
"motion": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Motion",
"type": "array"
},
"totals": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Totals"
}
},
"required": [
"date",
"status",
"blocks",
"totals"
],
"title": "PlanResponse",
"type": "object"
}
}save_plan_blockWriteAdd or replace a food block on a date’s plan. kind is morgenmad, frokost, aftensmad, snack, pre_workout or post_workout. Use library_block for a saved template, meals for library references or inline items, or both. Pass block_id to edit an existing block; the server rescales nutrition when quantities change.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
kind | string | Required |
name | string | null | null |
block_id | string | null | null |
library_block | string | null | null |
meals | array<object> | null | null |
note | string | null | null |
Response fields: date, blocks, motion, totals, block_id, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"kind": {
"title": "Kind",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"block_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Id"
},
"library_block": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Library Block"
},
"meals": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Meals"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
}
},
"required": [
"date",
"kind"
],
"title": "save_plan_blockInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"blocks": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Blocks"
},
"motion": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion"
},
"totals": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Totals"
},
"block_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Id"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SavePlanBlockResponse",
"type": "object"
}
}save_plan_motionWriteAdd a planned activity with positive kcal_burned. Pass motion_id to replace an existing activity; omit it to append. Planned activity is separate from completed exercise and does not affect the logged day until the plan is committed.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
activity | string | Required |
kcal_burned | number | Required |
motion_id | string | null | null |
note | string | null | null |
Response fields: date, blocks, motion, totals, motion_id, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"activity": {
"title": "Activity",
"type": "string"
},
"kcal_burned": {
"title": "Kcal Burned",
"type": "number"
},
"motion_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion Id"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
}
},
"required": [
"date",
"activity",
"kcal_burned"
],
"title": "save_plan_motionInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"blocks": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Blocks"
},
"motion": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion"
},
"totals": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Totals"
},
"motion_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion Id"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SavePlanMotionResponse",
"type": "object"
}
}clear_planWriteRemove the whole plan for a date, or only the supplied block_id and/or motion_id. Does not remove journal entries or library items. Confirm the intended removal before calling.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
block_id | string | null | null |
motion_id | string | null | null |
Response fields: date, cleared, removed, blocks, motion, totals, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"block_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Block Id"
},
"motion_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion Id"
}
},
"required": [
"date"
],
"title": "clear_planInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"cleared": {
"title": "Cleared",
"type": "boolean"
},
"removed": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Removed"
},
"blocks": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Blocks"
},
"motion": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Motion"
},
"totals": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Totals"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"required": [
"date",
"cleared"
],
"title": "ClearPlanResponse",
"type": "object"
}
}commit_planWriteConvert a proposed plan into logged meals and exercise for the same date, then remove the plan. Refuses a date that already has a logged day unless force=true. Confirm before committing, especially when overriding that protection. Returns the committed daily table.
| Parameter | Type | Required / default |
|---|---|---|
date | string | Required |
force | boolean | false |
Response fields: committed, date, summary, table, render_instruction, blocks_logged, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"title": "Date",
"type": "string"
},
"force": {
"default": false,
"title": "Force",
"type": "boolean"
}
},
"required": [
"date"
],
"title": "commit_planInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"committed": {
"title": "Committed",
"type": "boolean"
},
"date": {
"title": "Date",
"type": "string"
},
"summary": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Summary"
},
"table": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table"
},
"render_instruction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Render Instruction"
},
"blocks_logged": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Blocks Logged"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"required": [
"committed",
"date"
],
"title": "CommitPlanResponse",
"type": "object"
}
}sync_garminSyncRefresh the connected user’s Garmin data and return recent workouts. days defaults to 2 and supports backfills up to 31 days. Sync retrieves data; it does not log workouts as calorie deductions. Confirm an activity before calling log_exercise.
| Parameter | Type | Required / default |
|---|---|---|
days | integer | 2 |
Response fields: synced_days, synced_activities, sync_errors, latest_workouts, hint, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"days": {
"default": 2,
"title": "Days",
"type": "integer"
}
},
"title": "sync_garminInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"synced_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Synced Days"
},
"synced_activities": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Synced Activities"
},
"sync_errors": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Sync Errors"
},
"latest_workouts": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Latest Workouts"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hint"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "SyncGarminResponse",
"type": "object"
}
}get_garmin_workoutsReadRead synced workouts, newest first, or pass activity_id for one workout’s detailed splits and training data. include_series adds interval summaries and a downsampled heart-rate, pace and power curve, requiring a working Garmin connection. series_points defaults to 120 and is clamped to 20–600.
| Parameter | Type | Required / default |
|---|---|---|
start | string | null | null |
end | string | null | null |
limit | integer | 10 |
activity_id | string | null | null |
include_series | boolean | false |
series_points | integer | 120 |
Response fields: count, workouts, activity, hint, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"activity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Activity Id"
},
"include_series": {
"default": false,
"title": "Include Series",
"type": "boolean"
},
"series_points": {
"default": 120,
"title": "Series Points",
"type": "integer"
}
},
"title": "get_garmin_workoutsInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Count"
},
"workouts": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Workouts"
},
"activity": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Activity"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hint"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "GarminWorkoutsResponse",
"type": "object"
}
}get_garmin_dayReadRead stored daily Garmin metrics such as steps, resting heart rate, sleep, stress, body battery and energy. Call sync_garmin first for fresh data. Missing measurements can be null. Connect or reconnect Garmin through the app when required.
| Parameter | Type | Required / default |
|---|---|---|
date | string | null | null |
Response fields: date, steps, resting_hr, active_kcal, total_kcal, sleep_hours, sleep_score, stress_avg, body_battery_high, body_battery_low, intensity_minutes, hint, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "get_garmin_dayInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": true,
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"steps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Steps"
},
"resting_hr": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Resting Hr"
},
"active_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Active Kcal"
},
"total_kcal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Total Kcal"
},
"sleep_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Sleep Hours"
},
"sleep_score": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Sleep Score"
},
"stress_avg": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Stress Avg"
},
"body_battery_high": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Body Battery High"
},
"body_battery_low": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Body Battery Low"
},
"intensity_minutes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Intensity Minutes"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hint"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "GarminDayResponse",
"type": "object"
}
}get_memoryReadRead persistent instructions, preferences or insights as markdown. Omit kind to retrieve all three. These documents are already included in load_context.
| Parameter | Type | Required / default |
|---|---|---|
kind | string | "" |
Response fields: kind, content_md, instructions, preferences, insights, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"kind": {
"default": "",
"title": "Kind",
"type": "string"
}
},
"title": "get_memoryInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"content_md": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Content Md"
},
"instructions": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Instructions"
},
"preferences": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Preferences"
},
"insights": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Insights"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "GetMemoryResponse",
"type": "object"
}
}update_memoryWritePersist a requested change to instructions, preferences or insights. content_md is markdown; mode is replace or append. Update only when the user has requested an actual change.
| Parameter | Type | Required / default |
|---|---|---|
kind | string | Required |
content_md | string | Required |
mode | string | "replace" |
Response fields: message, kind, length, error. Optional fields depend on the result.
{
"inputSchema": {
"properties": {
"kind": {
"title": "Kind",
"type": "string"
},
"content_md": {
"title": "Content Md",
"type": "string"
},
"mode": {
"default": "replace",
"title": "Mode",
"type": "string"
}
},
"required": [
"kind",
"content_md"
],
"title": "update_memoryInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"length": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Length"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "UpdateMemoryResponse",
"type": "object"
}
}submit_feedbackWriteSubmit a feature_request, bug or eval_case. text describes the issue. eval_case requires the verbatim conversation as role/text messages; expected describes the desired result. Obtain consent before including conversation text. context can include structured diagnostic information.
| Parameter | Type | Required / default |
|---|---|---|
text | string | Required |
kind | feature_request | bug | eval_case | Required |
conversation | array<ConversationMessage> | null | null |
expected | string | null | null |
context | object | null | null |
Response fields: message, id, kind, error. Optional fields depend on the result.
{
"inputSchema": {
"$defs": {
"ConversationMessage": {
"properties": {
"role": {
"enum": [
"user",
"assistant"
],
"title": "Role",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"role",
"text"
],
"title": "ConversationMessage",
"type": "object"
}
},
"properties": {
"text": {
"title": "Text",
"type": "string"
},
"kind": {
"enum": [
"feature_request",
"bug",
"eval_case"
],
"title": "Kind",
"type": "string"
},
"conversation": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ConversationMessage"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Conversation"
},
"expected": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected"
},
"context": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
}
},
"required": [
"text",
"kind"
],
"title": "submit_feedbackInput",
"type": "object"
},
"outputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Id"
},
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error"
}
},
"title": "FeedbackResponse",
"type": "object"
}
}