Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

change_food_favorite

Add or remove a food from your FatSecret favorites by supplying a food ID and favorite flag; requires explicit user confirmation before making changes.

Instructions

Add or remove a food favorite 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": {
      "food_id": "<food_id>",
      "favorite": "<favorite>"
    },
    "name": "change_food_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
food_idYes
favoriteYes
serving_idNo
number_of_unitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 behavioral burden, and it discloses only that this is a mutation gated on user confirmation. It does not say whether removing a favorite deletes associated serving data, what happens if the food is already/not already a favorite, or what the tool returns on success or failure.

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 eleven-word sentence with the confirmation gate front-loaded and zero filler. It is efficient, though its brevity is part of why the parameter and behavioral gaps exist.

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 four-parameter mutation tool with no annotations, no output schema, and no documented parameters, so the description is the only source of behavioral context and it is far too thin. An agent cannot tell what serving_id or number_of_units do, nor what the response looks like after a successful toggle.

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 four parameters, and the description adds no meaning for any of them. The words 'add or remove' loosely imply that 'favorite' is a boolean toggle, but food_id, serving_id, and number_of_units — including why a favorite change would take a serving and unit count — are left entirely unexplained.

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 a specific verb pair ('Add or remove') and a specific resource ('food favorite'), which lets an agent distinguish it from the sibling change_recipe_favorite. It stops short of explicitly naming or contrasting that sibling, but the resource noun does the disambiguating work.

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 supplies one real precondition: the action must follow 'explicit user confirmation,' which is meaningful routing guidance. However, it never says when to prefer this over list_favorite_foods for inspection or how to handle the toggle direction, and there are no stated exclusions.

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