Skip to main content
Glama
Yurzs

fatsecret-mcp-server

by Yurzs

Edit Food Diary Entry

fatsecret_edit_food_entry
Idempotent

Edit a food diary entry to update serving size, number of servings, or meal type for accurate nutrition tracking.

Instructions

Edit an existing food diary entry. Can change serving size, number of units, or meal type.

Args:

  • food_entry_id: The entry ID to edit (from get_food_entries)

  • food_entry_name: Updated display name (optional)

  • serving_id: New serving ID (optional)

  • number_of_units: New number of servings (optional)

  • meal: New meal type (optional)

Returns: Updated entry with new nutrition values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
food_entry_idYesFood entry ID to edit
food_entry_nameNoUpdated display name
serving_idNoNew serving ID
number_of_unitsNoNew number of servings
mealNoNew meal type
Behavior4/5

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

Annotations already indicate the tool is idempotent and not destructive. The description complements by specifying that it returns updated nutrition values, providing useful context beyond annotations. No contradictions.

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 description is concise, with a clear opening sentence followed by a parameter list. It front-loads the purpose and avoids redundancy, though the list adds length.

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?

Given the moderate complexity (5 params, no output schema), the description covers the key aspects: purpose, each parameter's role, and the return value. It is sufficient for an agent to use correctly.

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 coverage is 100%, so baseline is 3. The description adds value by explaining the source of food_entry_id ('from get_food_entries') and that parameters are optional, improving clarity beyond the schema.

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 clearly states the tool's action ('Edit an existing food diary entry') and the specific attributes it can modify (serving size, units, meal type). This distinguishes it from sibling tools like create or delete.

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?

The description does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or prerequisites. The context of editing is implied, but explicit guidance is missing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yurzs/fatsecret-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server