Skip to main content
Glama

Food & Nutrition

Server Details

Food and nutrition data: search, macros, and comparisons

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 3.8/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a distinct purpose: search_food for finding foods by name, get_nutrition for detailed nutrition by ID, and compare_foods for side-by-side comparison. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (search_food, get_nutrition, compare_foods) with lowercase snake_case, making them predictable and easy to understand.

Tool Count4/5

With 3 tools, the set is slightly small but well-scoped for a focused nutrition lookup and comparison domain. It covers the essential operations without being excessive.

Completeness4/5

The tools cover the core workflow: search, get details, and compare. Missing features like listing by nutrient or filtering by category are minor gaps, but the set is functional for its stated purpose.

Available Tools

3 tools
compare_foodsAInspect

Compare nutrition profiles of multiple foods side-by-side. Identifies winners by protein and calorie density.

ParametersJSON Schema
NameRequiredDescriptionDefault
idsNoComma-separated USDA FDC IDs (e.g. "173950,2187885,1103516")173950,2187885,1103516
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses comparison and winner identification by protein and calorie density, but lacks details on output format, data limits, or how winners are determined.

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?

The description is two sentences, front-loaded with the main purpose. Every sentence contributes, with no wasted words.

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?

Given the tool's simplicity (one parameter, no output schema, no annotations), the description is fairly complete. It covers the main function and key behavior (winner identification), though the lack of output details is a minor gap.

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% and the schema already describes the parameter 'ids' as comma-separated USDA FDC IDs with an example. The description adds no further meaning beyond restating the purpose.

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 'compare' and the resource 'nutrition profiles of multiple foods'. It distinguishes from sibling tools 'get_nutrition' (likely single food) and 'search_food' (search behavior), making the tool's specific purpose evident.

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?

The description implies usage for side-by-side comparison of multiple foods, but does not explicitly state when not to use it or mention alternatives. However, the context of sibling tools provides implicit guidance.

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

get_nutritionAInspect

Get full nutrition profile for a specific food by USDA FDC ID. Returns macros, vitamins, and minerals.

ParametersJSON Schema
NameRequiredDescriptionDefault
fdc_idNoUSDA FoodData Central ID (e.g. 173950 = avocado raw)173950
formatNoabridged or fullabridged
Behavior3/5

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

With no annotations, the description could have provided more behavioral context (e.g., data freshness, rate limits, completeness of profile). It merely states what is returned, which is minimal but not misleading.

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?

The description is a single sentence that is front-loaded with the essential purpose. It uses no unnecessary words and is efficient.

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?

Given the tool's simplicity (2 optional params, no output schema), the description adequately explains the return contents. It is complete enough for the agent to understand what the tool provides.

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?

Schema coverage is 100%, so parameters are already well-documented. The description adds semantic value by clarifying that the output includes 'macros, vitamins, and minerals,' which helps the agent understand the tool's purpose 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?

The description clearly states the tool's action ('Get'), resource ('full nutrition profile'), and the specific identifier ('USDA FDC ID'). It distinguishes itself from siblings (compare_foods and search_food) by focusing on a single food's detailed profile.

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 you have a specific FDC ID and want nutrition details, but lacks explicit guidance on when to use this vs search_food or compare_foods, and does not mention when not to use it.

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

search_foodBInspect

Search USDA FoodData Central for foods by name. Returns nutrition macros for matching foods.

ParametersJSON Schema
NameRequiredDescriptionDefault
qNoFood name to search (e.g. "chicken breast", "avocado")chicken breast
brandNoFilter by brand owner
limitNoNumber of results (max 25)
dataTypeNoFilter by data type: Foundation, SR Legacy, Survey (FNDDS), Branded
Behavior3/5

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

No annotations provided, so description must carry behavioral info. It states returns nutrition macros but omits details like response structure, potential errors, or rate limits. Adequate but not rich.

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 concise sentences with no extraneous information. Efficiently communicates the core purpose. Could be slightly more structured but sufficient.

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?

No output schema; description vaguely mentions nutrition macros without detailing structure. For a simple search tool, it covers essentials but lacks completeness for agent to anticipate return 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 clear parameter descriptions. The tool description adds little beyond restating the search purpose; baseline of 3 is appropriate as it does not significantly enhance parameter understanding.

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 tool searches a specific database (USDA FoodData Central) by name and returns nutrition macros. It implicitly distinguishes from siblings 'compare_foods' and 'get_nutrition' by focusing on search.

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?

No guidance on when to use this tool versus alternatives like 'compare_foods' or 'get_nutrition'. The description only states the action without context for selection.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources