Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

by fcoury

get_food

Retrieve detailed nutrition and serving information for a specific FatSecret food item by providing its food ID.

Instructions

Get detailed information about a specific food item

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": {
      "foodId": "<foodId>"
    },
    "name": "get_food"
  }
}

Input Schema

NameRequiredDescriptionDefault
foodIdYesThe FatSecret food ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 burden of behavioral disclosure and does not meet it. It says nothing about what "detailed information" contains, whether authentication is required, how invalid or unknown food IDs are handled, or whether results are cached or localized — all material for a lookup tool with no output schema.

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 or redundant clauses. It is efficient, though efficiency here partly reflects under-specification rather than disciplined editing.

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 no output schema and no annotations, the description is the only source of information about return content, and "detailed information" is too vague to tell an agent what fields come back. For a simple one-parameter lookup the schema suffices for calling it, but the agent cannot anticipate the response.

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 100%, and the single parameter is documented as "The FatSecret food ID", so the schema does the heavy lifting. The description adds no meaning beyond that, but with one fully documented parameter, baseline 3 applies.

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 and resource ("Get detailed information about a specific food item"), which is clearly distinct from a search or a listing tool. It does not, however, explicitly name search_foods as the discovery path for obtaining the ID, so sibling differentiation is implied rather than stated.

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 word "specific" implies this is the lookup-by-ID path rather than the search path, which gives minimal context. There is no explicit when-to-use vs. when-not guidance, no mention that a foodId must first be obtained from search_foods, and no alternatives named.

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