Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

update_food_entry

Edit an existing FatSecret food diary entry to change meal, serving, name, or units; delete and recreate the entry to move it to another date.

Instructions

Edit an existing diary entry. FatSecret cannot change its date; delete and recreate to move dates.

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": {
      "food_entry_id": "<food_entry_id>"
    },
    "name": "update_food_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
mealNo
serving_idNo
food_entry_idYes
food_entry_nameNo
number_of_unitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load. It usefully discloses one hard backend limitation: the date is immutable. However, it says nothing about partial-update semantics (whether a null optional field leaves the value untouched or clears it), permission requirements, or what happens on an invalid food_entry_id, which is a significant gap for a mutation tool.

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

Conciseness5/5

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

Two short sentences, front-loaded with the purpose and followed immediately by the constraint. Every clause carries information and there is no boilerplate.

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 five-parameter mutation tool with no annotations, no output schema, and no schema descriptions, so the description is the only behavioral source of truth. It covers purpose and the date restriction but leaves the meaning of four optional parameters and the semantics of a partial update entirely undocumented.

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 0% across five parameters, so the description must compensate and largely does not. It never explains what 'meal', 'serving_id', 'food_entry_name', or 'number_of_units' accept or how they interact, e.g. whether changing serving_id rescales units. The only implicit help is confirming there is no date parameter because dates are immutable.

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 gives a specific verb and resource: 'Edit an existing diary entry.' The word 'existing' plus 'edit' distinguishes it from add_food_entry and remove_food_entry without naming them. It stops short of an explicit sibling comparison, so a 4 rather than 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 Guidelines4/5

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

It states a concrete when-not case ('FatSecret cannot change its date') and names the workaround ('delete and recreate to move dates'), which routes the agent to remove_food_entry plus add_food_entry. It still lacks guidance on when to correct a field in place versus rebuilding the entry, so not quite a 5.

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