Skip to main content
Glama

food_nutrition

Retrieve per-serving Korean food nutrition facts—calories, protein, fat, carbohydrate, sugar, and sodium—by food name for dietary analysis and meal planning.

Instructions

Korean food nutrition facts (MFDS food composition DB): kcal, protein, fat, carbohydrate, sugar, sodium per serving basis. ?name= Korean food name (paid via x402, USDC on Base)

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

Input Schema

NameRequiredDescriptionDefault
nameYesname

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does add genuinely useful context: results are on a per-serving basis and each call is paid via x402 in USDC on Base. It does not cover output structure, error behavior when a food name isn't found, or whether the name must be in Korean, leaving meaningful gaps for a zero-annotation tool.

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?

Two compact sentences, front-loaded with the resource and returned fields, followed by the parameter and payment note. The raw '?name=' query-string syntax is slightly awkward but efficiently conveys the expected form.

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?

For a one-parameter tool with no output schema, the description usefully enumerates the six nutrient fields and the serving basis, plus the payment requirement. It stops short of describing the response shape or how lookups behave when a name is ambiguous or missing.

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

Parameters4/5

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

The schema declares the single parameter with a useless description ('name'), so the description compensates by specifying that the value must be a Korean food name and showing the query-string form. That is real added meaning beyond the schema, though it says nothing about partial matching or aliases.

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 states a specific verb-like operation (look up nutrition facts) on a specific resource (Korean food, MFDS food composition DB) and enumerates the returned nutrients. It does not distinguish itself from the sibling food_nutrition2, so it falls short of a 5.

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 statement of when to use this tool versus food_nutrition2 or food_category, and no exclusions or matching-behavior notes. The only contextual hint is that calls are paid via x402, which tells the agent about cost but not selection criteria.

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