Skip to main content
Glama

barcode_lookup

Look up product details and prices by EAN/UPC barcode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barcodeNoEAN or UPC barcode number e.g. '4056565032219'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It states 'look up', implying a read-only operation, but gives no details on response format, error handling, or data source, leaving ambiguity about what 'details' includes.

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?

One short sentence conveys the core function without waste, which is excellent for a simple tool.

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?

For a simple lookup tool with one parameter, the description is minimally adequate but lacks mention of output shape, pricing currency, or fallback behavior when a barcode isn't found.

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 single parameter 'barcode' is already fully described in the schema (EAN/UPC example), and the description adds no additional semantics beyond restating that context, so baseline score 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 uses the specific verb 'look up' with the resource 'product details and prices' and clearly identifies the input mechanism (EAN/UPC barcode), which distinguishes it from sibling search tools that rely on text queries.

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?

The description implies use when a barcode is available, but it does not explicitly state when to favor this over alternatives like price_search or competitor_prices, nor does it provide exclusions.

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.