Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

get_food_servings

Validate a food ID and retrieve available serving sizes and options, defaulting to the Spanish catalog, so you can choose accurate portions for nutrition tracking.

Instructions

Validate a food and return serving choices from the ES/es catalog by default.

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>"
    },
    "name": "get_food_servings"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoES
food_idYes
languageNoes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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. It does not say what 'validate' actually produces on failure (error vs empty list), whether the call is read-only, or what the returned serving choices look like; the only real disclosure is the default ES/es catalog, which is duplicated in the schema defaults.

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 wasted wording. It is terse to the point of under-specification, but the structure itself is efficient.

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?

With three undocumented parameters, no annotations, and no output schema, the one-line description leaves an agent unable to know what is returned or how food_id/region/language interact. A tool that validates input and returns a list of choices needs more explanation than this.

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%, so all three parameters depend on the description. It only hints at region and language via 'ES/es catalog by default', and says nothing about the required food_id (format, source, or whether an ES-catalog id works with other regions).

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?

States a specific verb pair and resource: validate a food and return its serving choices. An agent can tell this is the lookup tool for a food's portion options rather than a diary or recipe tool, though the phrasing conflates validation with retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative among the many siblings (e.g. find_recipes, get_recently_eaten). Usage is only loosely implied by 'return serving choices', with nothing about prerequisites such as needing a valid food_id from a prior search.

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