Skip to main content
Glama

food_by_category

Read-onlyIdempotent

Retrieve food products by category from Open Food Facts, with an optional page parameter for paginated browsing and analysis.

Instructions

Get food products by category from Open Food Facts.

Input Schema

NameRequiredDescriptionDefault
pageNo
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.5

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior. The description adds the data source and the category-filtering scope, but omits pagination behavior and whether results are exhaustive or capped.

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?

A single, front-loaded sentence with no wasted words. It is efficient, though its brevity contributes to the missing usage and parameter detail.

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

Completeness2/5

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

With no output schema and 0% schema description coverage, the description should explain category format, page behavior, and result shape. It leaves an agent without enough information to call the tool confidently beyond the basic category lookup.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only implies the category parameter's meaning and never explains the page parameter, its default, or how pagination works, leaving half the parameters undocumented.

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 states a clear verb and resource: get food products filtered by category from Open Food Facts. It does not distinguish this tool from siblings like food_search or food_get_product, so an agent must infer when category filtering is preferable.

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?

It implies a category-based listing but gives no explicit guidance on when to use this instead of food_search or food_get_product. There are no prerequisites, exclusions, or examples of valid category values.

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

Deploy Server

Other Tools