Skip to main content
Glama

Set a reminder

trainrec_set_reminder

Reminders are TrainRec's notifications on the person's phone. They start at zero: none exist until the person asks their assistant (you) to set one up, so when they ask to be reminded of something, this is how. Adds a reminder, or changes one (give its id and version). Kinds: weigh_in, log_food (optionally one meal), workout (names today's planned workout if there is one) and streak (training weeks in a row, sent only if this week has no workout yet) go at a local time, and each is skipped that day once it is done. goal goes when a daily number is approaching or has reached its target (calories, a macro, or a nutrient with a target), not between 22:00 and 07:00. custom says the person's own words at a time. recap sends the day's calories and protein against their targets and its workout, at a time, every day it is on. Every reminder needs its trigger from the person: a time (their local time, 24-hour HH:MM) for timed kinds, or the amount left for an approaching goal alert. If they didn't say one, or said only "before 9 am", ask them what time; never choose it yourself. At most 20 reminders and 6 notifications a day. It shows in the app under the assistant's name, with Undo. threshold goes once, the first time today's total of a food number goes over an amount the person sets, whatever their target. check goes at a time only if today's total is still under (or over) the amount they set. Both need the whole trigger from the person: the food number, over or under, the amount, and for check a time outside 22:00 to 07:00. If they say "my target", say the number back and use that number. Set one up only when the person asks for it. A workout reminder can be for one day (date) instead of days of the week, for a planned workout: "remind me at 5 before Tuesday's workout". Its time is still the one the person says. A custom reminder can carry amount as its condition ("8 pm, shake if protein is under 150 g"): their words go out only when it applies, with where they stand. If the person leaves the time or amount to you ("you pick", "I defer to you"), choose one from their log and set proposed: true: it stays off and sends nothing until they tap Approve in the app, and say so. Goal alerts that can only come too late (reached on a limit, approaching on protein or fiber) are refused for new ones: a check alert at a time they can still act is better.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "trainrec_set_reminder"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoLocal time, HH:MM 24-hour, as the person says it. Required for every kind but goal; ask them if they didn't say.
idNoTo change an existing reminder. Leave out to add one.
onNoDefault true. false keeps it but sends nothing.
dateNoworkout only: the one day it is for, YYYY-MM-DD, instead of days.
daysNo1 = Monday to 7 = Sunday. Leave out for every day.
goalNogoal only.
kindYes
mealNolog_food only.
textNocustom only. What it says, up to 80 characters: "Take creatine".
amountNothreshold and check only.
streakNostreak only. training_weeks: weeks in a row with a workout; training_days: days in a row with a workout or food logged.
versionNoRequired with id.
proposedNotrue when the person left the time or amount to you: kept off until they approve it in the app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / proposed
      Added value: +{
      +  "description": "true when the person left the time or amount to you: kept off until they approve it in the app.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "workout only: the one day it is for, YYYY-MM-DD, instead of days.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / amount
      Added value: +{
      +  "description": "threshold and check only.",
      +  "properties": {
      +    "direction": {
      +      "description": "As the person says it. threshold: over.",
      +      "enum": [
      +        "over",
      +        "under"
      +      ],
      +      "type": "string"
      +    },
      +    "number": {
      +      "description": "The food number: kcal, a macro or a nutrient.",
      +      "enum": [
      +        "kcal",
      +        "proteinG",
      +        "carbsG",
      +        "fatG",
      +        "waterMl",
      +        "fiberG",
      +        "sugarG",
      +        "addedSugarG",
      +        "saturatedFatG",
      +        "transFatG",
      +        "cholesterolMg",
      +        "sodiumMg",
      +        "potassiumMg",
      +        "calciumMg",
      +        "magnesiumMg",
      +        "ironMg",
      +        "zincMg",
      +        "vitaminAMcg",
      +        "vitaminCMg",
      +        "vitaminDMcg",
      +        "vitaminB12Mcg",
      +        "folateMcg",
      +        "caffeineMg",
      +        "alcoholG"
      +      ],
      +      "type": "string"
      +    },
      +    "value": {
      +      "description": "The amount, in the number's unit (kcal, g, mg, ml), as the person says it.",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "number",
      +    "direction",
      +    "value"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "weigh_in",
      -  "log_food",
      -  "workout",
      -  "streak",
      -  "goal",
      -  "custom",
      -  "recap"
      -]New value: +[
      +  "weigh_in",
      +  "log_food",
      +  "workout",
      +  "streak",
      +  "goal",
      +  "custom",
      +  "recap",
      +  "threshold",
      +  "check"
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses that reminders start at zero, are capped at 20 reminders and 6 notifications per day, appear under the assistant's name with Undo, are skipped once done, and stay off until approved when proposed. It also covers quiet hours for goal/check alerts and refusal rules for certain goal alerts. None of this contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The length is partly justified by the tool's complexity and many conditional rules, but the description is a dense single block with repetition and nested parentheticals. It is front-loaded with the basic purpose, yet it would be easier to use if the behavioral rules and parameter constraints were organized more cleanly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter tool with nested objects, enums, and no output schema, the description is more than complete enough. It covers the main edge cases, approval flow, quiet hours, caps, and refusal behavior that an agent needs before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 92% schema coverage, most parameter meaning is already documented in the schema. The description adds useful cross-parameter semantics: id requires version, at is needed for timed kinds but not goal, amount applies to threshold/check, date applies to workout, and proposed gates activation. Some of this repeats schema text, so it is strong but not fully additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it adds a reminder or changes one by id and version, and it lists the supported reminder kinds. This clearly distinguishes it from listing or deleting reminders without relying on sibling names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance: set one up only when the person asks, ask for any missing trigger instead of choosing it yourself, use proposed:true when they defer, and prefer a check alert when a goal alert would only arrive too late. These are precise conditions and exclusions, not vague suggestions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources