Skip to main content
Glama
nutrition-mcp
by asachs01

meal_log

Log meals, track daily and weekly nutrition summaries, and manage your food diary by adding, listing, or deleting entries.

Instructions

Log meals, view daily/weekly summaries, manage food diary. Actions: log, list, delete, daily_summary, weekly_summary.

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": {
      "action": "<action>"
    },
    "name": "meal_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate (YYYY-MM-DD, default today)
fdcIdNoFDC ID of food to log
notesNoOptional notes
actionYesAction to perform
weekOfNoMonday of week (YYYY-MM-DD, for weekly_summary)
entryIdNoEntry ID (for delete action)
mealTypeNoMeal type
servingsNoNumber of servings (default 1)
servingSizeNoServing size description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say that the 'delete' action is an irreversible mutation, that 'log' writes new entries, or what permissions or confirmations are needed. The action list is the only behavioral signal, which is thin for a tool that mixes reads and destructive writes.

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?

Two short sentences, front-loaded with the purpose, with no filler. The action list slightly duplicates the action enum, but that is minor redundancy rather than wasted space.

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

Completeness2/5

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

This is a multi-action tool with nine parameters, no annotations, and no output schema, yet the description never explains which parameters are required for which action (for example, that delete needs entryId, or that log needs fdcId and mealType). For a tool of this complexity, the description leaves real gaps that the schema alone cannot bridge.

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

Parameters3/5

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

Schema description coverage is 100%, so every one of the nine parameters is already documented in the schema, including enums and per-field hints such as 'for delete action' and 'for weekly_summary'. The description adds no parameter meaning beyond restating the action names, so the baseline 3 applies.

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?

The description names concrete verbs and resources (log meals, view daily/weekly summaries, manage food diary) and enumerates the five actions, so an agent can see the tool's overall scope. It lacks differentiation from the siblings nutrition and targets, and 'manage food diary' is vague, stopping short of a 5.

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?

Listing the actions implies when each is used (log vs. daily_summary vs. weekly_summary), which is more than nothing. However, there is no explicit guidance on choosing between actions, no prerequisites, and no mention of when to use this tool instead of nutrition or targets.

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

Deploy Server

Other Tools