Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

add_saved_meal_item_tool

Add a food serving to an existing saved meal in FatSecret after explicit user confirmation, so users can build reusable meal templates for faster nutrition diary entry.

Instructions

Add an item to a saved meal only after explicit user confirmation.

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": {
      "saved_meal_id": "<saved_meal_id>",
      "food_id": "<food_id>",
      "serving_id": "<serving_id>",
      "number_of_units": "<number_of_units>"
    },
    "name": "add_saved_meal_item_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
food_idYes
serving_idYes
saved_meal_idYes
number_of_unitsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the significant confirmation prerequisite, which is real value beyond the schema. But it says nothing about whether the addition is idempotent, what happens if the item already exists, whether quantities accumulate, or what a failure looks like.

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?

A single front-loaded sentence with no filler, and the confirmation constraint arrives immediately. It is efficient, though the terseness comes at the cost of the parameter explanation a 4-required-param mutation tool needs.

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?

Given four required parameters at 0% schema coverage, no annotations, and no output schema, the description is materially incomplete: an agent knows the intent but not how to populate serving_id/number_of_units or what the effect on the saved meal will be. The confirmation note is the only substantial addition.

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%, and all four params (saved_meal_id, food_id, serving_id, number_of_units) are required but documented only by bare titles. The description adds no meaning: it doesn't explain that serving_id depends on food_id or what a unit means (servings vs grams), leaving the agent to guess at call construction.

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: 'Add an item to a saved meal,' which is a clear mutation of a child item within a saved meal. It does not explicitly distinguish itself from the sibling add_saved_meal (adding a whole meal) or add_saved_meal_item_tool's edit/delete counterparts, so an agent must lean on the name to disambiguate.

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?

It states one important precondition, 'only after explicit user confirmation,' which tells the agent to gate the call behind user approval. However, it never names alternatives such as add_saved_meal (for whole meals) or edit_saved_meal_item_tool, and gives no guidance on when this tool should be preferred over recording a food entry instead.

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