Skip to main content
Glama

Look up an Indian food's nutrition

lookup_food
Read-onlyIdempotent

Get nutrition facts for ONE Indian food: calcium, fibre, iron, protein per 100 g and per katori/serving, each with the source article URL to cite. Covers 60 foods (dals, millets, paneer, soya, nuts, fruit and more) from ICMR-NIN composition tables. Use compare_foods for several foods at once, search_guides for topics rather than single foods. Read-only, no side effects; if the food is not covered it returns found=false with the list of available foods instead of an error.

Input Schema

NameRequiredDescriptionDefault
foodYesOne food name in English or common Hindi, e.g. 'rajma', 'moong dal', 'paneer', 'ragi'.
nutrientNoOptional. Return only this nutrient; omit to get every nutrient available for the food.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / food / description
      Previous value: -"Food name, e.g. rajma, paneer, moong dal"New value: +"One food name in English or common Hindi, e.g. 'rajma', 'moong dal', 'paneer', 'ragi'."
    • changedInput schema / properties / nutrient / description
      Previous value: -"Optional: restrict to one nutrient"New value: +"Optional. Return only this nutrient; omit to get every nutrient available for the food."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, but the description adds genuinely new traits: the not-found fallback (found=false plus the list of available foods instead of an error) and that each value ships with a source article URL for citation. Both materially change how an agent handles a miss. It stops short of describing output shape beyond those fields.

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?

Front-loaded with the action and resource, then coverage, then sibling routing, then the fallback behavior — a sensible order with no repeated content. It is a dense single paragraph, but nearly every clause carries a fact an agent needs.

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

Completeness5/5

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

With no output schema present, the description still conveys return content (four nutrients, per-100g and per-serving values, source URLs) and the miss path (found=false with available foods). Combined with clean annotations and a fully documented 2-parameter schema, an agent has everything needed to call and interpret it.

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%, including the enum for nutrient and an example-laden description for food, so the schema already carries parameter meaning. The description adds only the per-100g vs per-katori framing, which is output-side rather than input-side nuance, so the baseline 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?

Specific verb ('Get nutrition facts') plus a precisely scoped resource ('ONE Indian food'), with the nutrient set and per-100g/per-katori breakdown named. It also names the coverage corpus (60 foods, ICMR-NIN tables), so an agent can tell exactly what domain this serves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: 'Use compare_foods for several foods at once, search_guides for topics rather than single foods.' Both the when and the when-not are stated with named siblings, leaving nothing to inference.

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.