Skip to main content
Glama

food_nutrition2

Retrieves per-100g nutrition facts for Korean foods—calories, protein, fat, carbs, sugar, fiber, minerals, and sodium—by food name using the MFDS food composition database.

Instructions

Korean food nutrition facts (MFDS food composition DB v3): kcal, water, protein, fat, carb, sugar, fiber, minerals, sodium per 100g. Broader match than /v1/food/nutrition. ?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_nutrition2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesname

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose two non-obvious traits: the call is paid via x402 with USDC on Base, and results are reported per 100g. That is meaningful context the schema does not convey. It still omits what happens on no-match, whether the payment is per-call or batched, and cost magnitude.

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?

The resource and payload are front-loaded in one dense sentence, then two short clauses add the v1 comparison and the payment/parameter note. Nothing is wasted, but the telegraphic '?name=' and '(paid via x402, USDC on Base)' fragments read as terse annotations rather than prose and are easy to overlook.

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

Completeness4/5

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

For a one-parameter lookup with no output schema, the description covers the data source, the returned fields and units, and the payment mechanism, which is most of what an agent needs to call it. The remaining gap is behavioral detail around failed matches and payment mechanics, which matters given the paid invocation.

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 coverage is reported at 100%, but the schema's own description for 'name' is just 'name', so the baseline is 3. The description adds the useful clarification that the value must be a Korean food name ('?name= Korean food name'), which tells the agent about language/format. No further syntax or matching-rule detail is given.

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 the resource precisely (Korean food nutrition facts from MFDS food composition DB v3) and enumerates the returned nutrients with a per-100g basis, so the agent knows exactly what it gets. It also differentiates itself from the sibling food_nutrition by calling itself a 'broader match than /v1/food/nutrition', though it never explains what 'broader' concretely means (fuzzy name matching vs. larger DB coverage).

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?

There is an implicit routing signal in 'broader match than /v1/food/nutrition', suggesting this tool should be preferred when an exact/partial name lookup fails elsewhere. However, it never states when to use food_nutrition instead, when not to use this one, or any prerequisites beyond the payment note.

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