Skip to main content
Glama
AiAgentKarl

nutrition-mcp-server

tool_compare_foods

Compare the nutritional values of two foods using USDA FoodData Central IDs. Specify a serving size to see side-by-side nutrient differences.

Instructions

Zwei Lebensmittel naehrwerttechnisch vergleichen.

Args: fdc_id_1: USDA ID des ersten Lebensmittels fdc_id_2: USDA ID des zweiten Lebensmittels serving_grams: Portionsgroesse fuer Vergleich (Standard: 100g)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fdc_id_1Yes
fdc_id_2Yes
serving_gramsNo
Behavior3/5

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

No annotations provided; description only states the compare action and parameter details. It does not disclose whether the tool is read-only, response format, or other behavioral traits, but the compare behavior is clear.

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?

Description is very concise: a clear purpose line followed by parameter explanations. No unnecessary words, and it is well-structured.

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?

Description adequately explains tool purpose and parameters. Lacks output description, but given the simple comparison nature, it is reasonably complete for agent invocation.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining each parameter: fdc_id_1 and fdc_id_2 as USDA IDs, serving_grams as portion size with default, adding meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states verb 'vergleichen' (compare) and resource 'zwei Lebensmittel' (two foods) with nutritional context, distinguishing it from sibling tools that search or get single food data.

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?

Description specifies the tool is for comparing two foods by USDA IDs, implying when to use it. However, it does not explicitly state when not to use or mention alternatives, so it falls short of a 5.

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/AiAgentKarl/nutrition-mcp-server'

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