Skip to main content
Glama
fliptheweb

FatSecret MCP Server

by fliptheweb

create_food

Create a custom food item with complete nutrition info—calories, fat, carbs, and protein—for personal diet tracking. Requires an authorized FatSecret profile.

Instructions

Create a custom food with nutrition info. Premier exclusive. Requires profile auth (check_auth_status first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fatYesTotal fat (g)
ironNo
fiberNo
sugarNo
sodiumNo
calciumNo
proteinYesProtein (g)
caloriesYesCalories (kcal)
food_nameYesFood name
potassiumNo
trans_fatNo
vitamin_aNo
vitamin_cNo
vitamin_dNo
brand_nameYesBrand name
cholesterolNo
added_sugarsNo
carbohydrateYesTotal carbohydrate (g)
serving_sizeYesServing size description (e.g. "1 slice")
saturated_fatNo
serving_amountNo
calories_from_fatNo
monounsaturated_fatNo
polyunsaturated_fatNo
serving_amount_unitNo
Behavior4/5

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

Annotations already specify readOnlyHint: false and idempotentHint: false, implying mutation. The description adds value by disclosing the authorization requirement and exclusivity. It does not contradict annotations. It could be improved by mentioning that the tool creates a new custom food definition accessible to the user's account.

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?

The description is extremely concise: three short sentences, each delivering a distinct piece of information (action, exclusivity, auth requirement). No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the large number of parameters (25) and the lack of an output schema, the description is incomplete. It does not explain what the return value is (e.g., created food ID), nor does it clarify the many optional fields. However, for a creation tool with clear auth context, it's minimally adequate.

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

Parameters3/5

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

Schema description coverage is low at 28%, so the description should compensate. The description only mentions 'nutrition info' in general, with no specific parameter details. It does not explain what the many optional string parameters (e.g., iron, calcium) represent. With 25 parameters, more guidance would be helpful, but the required parameters are covered by the schema briefly.

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 clearly states the verb 'Create' and the resource 'custom food with nutrition info'. It distinguishes from siblings like search_foods and get_food by specifying creation of a custom food entry, but does not explicitly differentiate from create_food_entry which also creates a food-related entry.

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?

The description provides clear usage context: 'Premier exclusive' indicates a subscription requirement, and 'Requires profile auth (check_auth_status first)' gives a prerequisite step. However, it does not specify when NOT to use this tool (e.g., if the user wants to log a food, they should use create_food_entry instead).

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/fliptheweb/fatsecret-mcp'

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