Skip to main content
Glama
andronaft

health-os

log_meal

Add a meal to the health diary with meal type, time, nutrients, and symptom notes for nutrition and reaction tracking.

Instructions

Log a meal into the diary (auto-approved). description — the meal description (required); meal_type: breakfast/lunch/dinner/snack/drink; eaten_at=ISO 'YYYY-MM-DD HH:MM' (default — now). nutrients — {code: amount} per nutrient_types (energy_kcal/protein/carbs/fat/fiber/sugar/ added_sugar/saturated_fat/omega3/sodium/potassium/calcium/iron/magnesium/zinc/vitamin_a/ vitamin_c/vitamin_d/vitamin_b12/folate_b9/water/caffeine/alcohol/...). added_sugar — sugar ADDED to the dish (not natural from fruit/milk). The full-profile estimate is made by the model (including from a photo). glycemic_index/glycemic_load — per meal; symptoms/wellbeing — reaction after eating. Review — query_food; daily norms — query_nutrition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
portionNo
eaten_atNo
symptomsNo
meal_typeNo
nutrientsNo
wellbeingNo
descriptionYes
glycemic_loadNo
glycemic_indexNo
nutrient_sourceNomodel_estimate

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-idempotent mutation; the description adds genuinely new context by disclosing that entries are auto-approved, which matters given the existence of approve_staged_source and list_pending_reviews siblings. It also explains that nutrient estimation is model-generated 'including from a photo'. It stops short of describing edit/delete or duplicate behavior.

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

Conciseness4/5

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

Dense but front-loaded: the core action and the required parameter lead, followed by per-parameter semantics in a compact semicolon-delimited form. The em-dash 'Review — query_food' fragments are slightly awkward but every line carries usable information.

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

Completeness4/5

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

For an 11-parameter mutation tool with an output schema (so return values need no explanation), the description covers nearly all parameters and the approval behavior. Missing minor coverage of notes, portion, and nutrient_source, but nothing an agent needs to call it correctly is absent.

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?

Schema description coverage is 0%, so the description must carry the load and largely does: it documents meal_type values, the eaten_at ISO format and default, the {code: amount} shape of nutrients with a long code list, the added_sugar vs natural-sugar distinction, glycemic_index/load scope, and symptoms/wellbeing semantics. Only notes, portion, and nutrient_source (default model_estimate) go unexplained.

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

Purpose4/5

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

States a specific verb and resource ('Log a meal into the diary') and adds the consequential detail that the entry is auto-approved. It does not explicitly name which sibling it supersedes (save_meal_template, log_from_template, list_pending_reviews), though it does point to query_food and query_nutrition at the end.

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

Usage Guidelines3/5

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

Usage is implied by the closing pointers ('Review — query_food; daily norms — query_nutrition'), which route the agent for follow-up reads but never state when to choose this tool over log_from_template or save_meal_template. No prerequisites or exclusions are given.

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