Skip to main content
Glama

Splot: Food Journal

Change daily targets

set_targets
Destructive

Change the person's daily calorie and macro targets when they ask. from is the local date the change starts, usually today; earlier days keep theirs. Add through (inclusive) only to limit the change to certain days, such as through equal to from for one day. values needs all four of caloriesKcal, proteinG, carbsG and fatG; ask for any not given rather than inventing them, or pass values null to stop targets from that day. Nothing else can be saved, such as diet, allergies or an iron target: say so and use it only in this conversation. Confirm the change only after success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesThe local date the change starts, usually today
valuesYesAll four daily targets, or null to stop targets from that day
throughNoThe last local date the change applies to; leave out to keep it from then on

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitsYes
periodsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources