Skip to main content
Glama

lookup_food

Read-only

Look up nutrition for a named food or dish: macronutrients for the given portion plus Sally's Smart, Trap or Balance-with-Activity classification and its reasoning. Figures come from Open Food Facts and are estimates for a typical product of that name, not a specific branded item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
foodYesFood or dish name, e.g. 'nasi goreng' or 'Greek yogurt, plain'.
gramsNoPortion size in grams. Macros are scaled from per-100g values.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate read-only, non-destructive behavior. The description adds important context: data source (Open Food Facts), that figures are estimates for typical products (not branded), and that it returns a classification with reasoning. This goes beyond annotations and helps the agent understand limitations.

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 description is two sentences, front-loaded with purpose and returns, and concise with no wasted words. It could be slightly more structured but is effective.

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 simple two-parameter tool with no output schema, the description adequately covers purpose, returns, data source, and caveats. It gives enough context for an agent to understand what the tool provides, though it does not detail output format.

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 100% with descriptions for both parameters. The tool description does not add any additional semantic information beyond what the schema provides. Baseline 3 is appropriate.

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?

The description clearly states the verb 'Look up' and resource 'nutrition for a named food or dish', specifies what is returned (macros, classification, reasoning), and distinguishes it from siblings like lookup_supplement_grade. It also includes data source and limitation, making purpose very clear.

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 description implies usage when nutrition info is needed, but does not explicitly state when to use this tool versus alternatives like analyze_lab_result or food_journal. No exclusions or alternative suggestions are provided, so usage guidance is minimal.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

C2.3/5.0
Disambiguation2/5

Several tool names have overlapping or unclear purposes (e.g., 'health_insights' vs 'metabolic_overview', 'food_journal' vs 'lookup_food', 'supplement_grading' vs 'lookup_supplement_grade'), and most descriptions are generic ('Sally skill') without clarifying distinctions.

Naming Consistency2/5

Tool names mix verb_noun patterns (analyze_lab_result, lookup_food, lookup_supplement_grade, search_health_knowledge) with noun_phrases (chat_with_sally, food_journal, health_insights, health_sync, metabolic_overview, supplement_grading), lacking a consistent convention.

Tool Count5/5

The tool count of 10 is well within the typical 3-15 range and appears appropriate for a health assistant server covering nutrition, supplements, lab results, and general health queries.

Completeness3/5

The tool set covers nutrition, supplements, lab analysis, and health knowledge, but lacks obvious features like activity tracking, medication management, or appointment scheduling, leaving some gaps in a holistic health assistant.

Resources