Skip to main content
Glama
eait-fit
by eait-fit

get_product_by_barcode

Retrieve food product details and nutrition data by GTIN barcode (GTIN-8, -12, -13, or -14) from a global food database.

Instructions

Products with this barcode (GTIN-8, -12, -13 or -14).

Input Schema

NameRequiredDescriptionDefault
barcodeYes
snapshotNo
include_offNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only lookup by barcode, but says nothing about permissions, rate limits, whether results are cached, or what snapshot/include_off do. The barcode format note is useful context but does not cover behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The description is a single fragment with no wasted words, but it is under-specified rather than concise. For a three-parameter tool with no annotations, it fails to front-load essential usage and parameter information. Brevity here comes at the cost of completeness.

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?

An output schema exists, so return values need not be explained in the description. However, the tool has three parameters, zero schema description coverage, no annotations, and no usage guidance, and the description addresses only one parameter's format. It is not complete enough for an agent to reliably select and call this tool without further assumptions.

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 for three undocumented parameters. It only partially explains the barcode parameter by naming GTIN variants and completely omits the snapshot and include_off parameters. This leaves major gaps for an agent trying to invoke the tool correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (products) and the lookup key (barcode) but does not state the action with a clear verb. It adds barcode format variants, which helps distinguish the input domain, but it remains a noun phrase rather than a full statement of what the tool does. It does not differentiate itself from siblings such as get_record_product.

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?

There is no guidance on when to use this tool versus alternatives like search_foods or get_record_product. The description only lists acceptable barcode types, leaving usage context entirely to inference. No exclusions or prerequisites are mentioned.

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