Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

update_nutrition_log

Modify an existing nutrition log entry to correct the meal type, logged time, or notes.

Instructions

Update a nutrition log (meal type, time, notes, or items)

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": {
      "log_id": "<log_id>"
    },
    "name": "update_nutrition_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoNotes about the meal
log_idYesID of the nutrition log to update
logged_atNoISO timestamp
meal_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It says the tool updates a log but does not state whether updates are partial or replace existing values, what permissions are required, or what side effects occur. The mention of 'items' also conflicts with sibling item-management tools.

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?

The definition is a single short sentence with the core action front-loaded. It is efficiently sized. The parenthetical is slightly misleading because of the 'items' reference, but the description is not bloated.

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 mutation tool with no annotations and no output schema, so the description should explain update semantics, permissions, and side effects. The schema covers 75% of parameters, but the description leaves key behavioral questions unanswered and does not clarify the required log_id. It is not complete enough for an agent to invoke confidently.

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

Parameters2/5

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

Schema description coverage is 75%, so the schema already documents most parameters. The description lists meal type, time, and notes, but omits the required log_id and adds 'items,' which is not a parameter. It therefore adds little meaning and introduces a potentially misleading field reference.

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 states a specific verb and resource: 'Update a nutrition log.' The parenthetical enumerates updatable fields, making the core purpose clear. However, mentioning 'items' is confusing because items are handled by sibling tools like add_nutrition_item and are not in this schema.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives such as add_nutrition_item, delete_nutrition_item, or update_saved_meal. There are no prerequisites, exclusions, or contextual cues. It only implies that the tool modifies an existing log.

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