Skip to main content
Glama

AgentFood — USDA Nutrition Intelligence

Server Details

USDA FoodData Central nutrition data — search 1M+ foods, get full nutrition profiles (macros, vitamins, minerals), and compare foods side-by-side. Public domain government data.

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 clearly distinct purpose: search_food for finding foods by name, get_nutrition for retrieving full profiles by ID, and compare_foods for side-by-side comparisons. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (search_food, get_nutrition, compare_foods). The naming is uniform and predictable.

Tool Count5/5

With 3 tools, the set is concise and well-scoped for a nutrition intelligence server. Each tool performs a necessary function without redundancy or excess.

Completeness4/5

The tools cover the core workflow of searching for foods, retrieving detailed nutrition, and comparing profiles. Missing features like filtered searches by nutrients or dietary filters, but the essential operations are present.

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?

No annotations are provided, so the description carries the full burden. It adds context about the output behavior (identifies winners by protein and calorie density) but does not explicitly disclose read-only nature, error handling, or return format. Some value is added, but gaps remain.

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 concise, front-loaded sentences with no wasted words. It efficiently states the primary function and a key behavioral outcome.

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 one-parameter tool, the description covers the essential purpose and output (identifying winners). It could be more explicit about the return format or prerequisites (e.g., needing at least two IDs), but given the simplicity and clear schema, it is adequately complete.

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 description coverage is 100% (the 'ids' parameter is fully described). The description does not add any additional meaning beyond what the schema already provides, so the baseline score of 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 uses a specific verb ('Compare') and resource ('nutrition profiles of multiple foods'), clearly distinguishing it from siblings like get_nutrition (single food) and search_food (search). It also highlights the unique outcome of identifying winners by protein and calorie density.

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 context is clear: use this tool when you want to compare multiple foods side-by-side. However, it does not explicitly state when not to use it or name alternatives, leaving the distinction to inference.

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 itself must disclose behavior. It states that the tool returns macros, vitamins, and minerals, which is the core behavior, but it does not mention limitations, error handling, or data freshness. For a simple read operation, this is 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one sentence, front-loaded with the primary purpose, and contains no redundant or filler text. Every word contributes to understanding what the tool does.

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 tool with only two well-documented parameters and no output schema, the description sufficiently covers the return content (macros, vitamins, minerals). It could mention alternatives or more details on the 'full' vs 'abridged' format, but the schema fills that gap, making this adequately complete.

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?

The input schema already provides 100% descriptive coverage for both parameters (fdc_id with example, format with allowed values). The description does not add extra semantic meaning beyond what the schema gives, so the baseline score of 3 applies.

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 states the specific verb 'Get' and resource 'full nutrition profile for a specific food by USDA FDC ID'. It clearly distinguishes from sibling tools like search_food (which searches) and compare_foods (which compares) by focusing on a single food identified by a known ID.

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 when you have a USDA FDC ID and want detailed nutrition data, providing clear context. However, it does not explicitly mention when not to use this tool or name alternatives, so it stops short of full guidance.

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?

With no annotations provided, the description carries the burden of disclosing behavior. 'Search' clearly indicates a read-only operation, and 'Returns nutrition macros' explains the outcome. However, it lacks details on result pagination, ordering, rate limits, or whether it returns multiple matches vs a single item. The behavior is basic but not fully transparent.

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 short sentences, front-loaded with the main verb and resource. Every word earns its place, with no redundancy or fluff. It is highly concise and well-structured.

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?

Given there is no output schema and no annotations, the description should clarify what the tool returns. It states 'nutrition macros' but not the specific structure (e.g., a list, fields like calories/protein). It also doesn't mention defaults or the search behavior (matches vs exact). The schema covers inputs well, but the output description is vague, leaving the tool incomplete for an agent.

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?

The schema already provides 100% coverage with descriptions for all four parameters. The description adds only the phrase 'by name', which loosely maps to the 'q' parameter but adds no new meaning beyond the schema. Therefore, the baseline of 3 applies.

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 clearly states the verb 'Search' and the resource 'USDA FoodData Central' with the scope 'by name'. It also notes the primary output (nutrition macros). However, it does not explicitly differentiate itself from sibling tools like get_nutrition, which also deals with nutrition data, so it lacks explicit sibling differentiation.

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?

The description provides no guidance on when to use this tool vs alternatives. It does not mention compare_foods or get_nutrition, nor any prerequisite or context like 'use this to find foods before getting nutrition details'. There is no when/when-not language, so it offers no usage direction.

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!

Related MCP Servers

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources