barcode_lookup
Look up product details and prices by EAN/UPC barcode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | No | EAN or UPC barcode number e.g. '4056565032219' |
Look up product details and prices by EAN/UPC barcode.
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | No | EAN or UPC barcode number e.g. '4056565032219' |
Changes observed during successful MCP inspections.
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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.