Skip to main content
Glama

ProductGuru product lookup by barcode

product_lookup
Read-onlyIdempotent

Look up one product by its barcode (EAN-13, EAN-8 or 12-digit UPC-A, check digit validated). Returns factual data from ProductGuru: name, brand/maker, manufacturer website (when known), category, recorded attributes, and official recall notices (agency, date, notice link), plus the URL of the ProductGuru product page. Official recall notices linked to the barcode (agency, date, hazard, official notice link) are returned even when ProductGuru has no published product page for it; the product fields then stay empty (found=false). One barcode per call; no search or listing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "product_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanNoOne barcode: EAN-13, EAN-8 or 12-digit UPC-A digits (string or number).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: check-digit validation, the empty-product-but-recall-notice case with found=false, and the presence of a ProductGuru page URL. It never states what happens on a malformed or invalid check digit (error vs. empty result), which is the main remaining behavioral gap.

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?

Well front-loaded: purpose first, then return payload, then the edge case. The recall-notice payload is enumerated twice (once in the return list, once in the found=false sentence), which is mild redundancy but aids the edge-case reading.

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, the description carries the full burden of return values and does so concretely: fields returned, the product page URL, recall notice structure, and the empty-result state. For a single-parameter read tool this is complete enough to call and interpret correctly.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is fully documented, so the baseline is 3. The description goes slightly beyond it by emphasizing one barcode per call and check-digit validation, adding constraint meaning not spelled out in the schema.

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?

Opens with a specific verb and resource ("Look up one product by its barcode") and immediately bounds the scope with accepted symbologies. The closing clause "no search or listing" distinguishes it from the search/fetch siblings without needing their schemas.

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

Usage Guidelines4/5

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

States clearly that it takes exactly one barcode per call and performs no searching or listing, which routes an agent away from this tool for discovery-style queries. It stops short of naming which sibling to use instead for partial-key or name lookups, so it is clear context rather than explicit alternatives.

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.