Skip to main content
Glama

catalog_lookup_barcode

Read-onlyIdempotent

Look up a single product by EAN-13, UPC-12, or ISBN barcode across 87 retail sources to retrieve catalog details from a scanned code.

Instructions

Look up a single product by EAN-13, UPC-12, or ISBN barcode across 87 sources.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ean": "<ean>"
    },
    "name": "catalog_lookup_barcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanYesBarcode digits (e.g. 7790895000997)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the safety profile is covered. The phrase 'across 87 sources' adds useful aggregation context — results may be merged or conflicting — but says nothing about latency, coverage gaps, or what happens when a barcode is unknown.

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 front-loaded sentence with no filler; every clause (verb, scope, formats, source breadth) carries distinct information.

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 one-parameter read-only lookup this covers the essentials, and annotations carry the safety profile. However, with no output schema, nothing indicates what a result contains or how multi-source conflicts or misses are surfaced.

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% with a single documented parameter, so the baseline is 3. The description earns above baseline by naming three accepted symbologies (EAN-13, UPC-12, ISBN) where the schema example only illustrates an EAN-13 string, telling the agent it can pass ISBN or UPC digits too.

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 gives a specific verb (look up) and resource (a single product) plus the identifier formats accepted. The word 'single' implicitly contrasts with catalog_lookup_batch, but no sibling is named, so differentiation is left to inference.

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?

'Single product' implies this is the one-at-a-time path rather than the batch tool, but the description never states when to prefer catalog_search_products or catalog_lookup_batch. Usage is implied rather than stated.

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