Skip to main content
Glama

paid_gtin_lookup

Read-onlyIdempotent

EAN/UPC/GTIN barcode lookup via Open Food Facts: returns product name, brand, quantity and Nutri-Score when available. Read-only, no local context. Paid per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gtinYesBarcode (8-14 digits)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds the external source (Open Food Facts), specific return contents, and the cost signal ('Paid per call'). This goes beyond the annotations with useful behavioral context, and there is no contradiction.

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 efficient sentences: the first front-loads the primary purpose and return value, the second packs read-only, context, and cost. 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?

For a simple one-parameter lookup with safety annotations present, the description covers purpose, returned fields, external source, and cost. It omits not-found behavior or output format, but with no output schema and low complexity, these gaps are minor.

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 documents the only parameter (gtin) as 'Barcode (8-14 digits)', giving 100% schema coverage. The tool description does not add any further parameter-specific detail, so the baseline 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 a specific verb ('lookup') and resource ('barcode via Open Food Facts'), and lists the returned fields (product name, brand, quantity, Nutri-Score). The sibling list contains no other barcode/product lookup tool, so it clearly distinguishes itself.

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?

Usage is implied: if you need product data from an EAN/UPC/GTIN barcode, you would use this tool. However, it does not explicitly state when to use it vs. alternatives, nor does it name any alternative. 'Read-only, no local context' provides context but not explicit selection guidance.

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.

Resources