Skip to main content
Glama

product-barcode-api

Product Search

get_api_external_search

Searches for products by barcode or name; returns a minimum of 1 and a maximum of 10 products. Billing per call: Credits: metered (~1.99 avg).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesIt allows the user to specify the name or barcode of the product they wish to search for. Using this parameter, the system searches for products based on name or barcode matches and returns the results.Çikolatalı Gofret
marketPricesNoIt controls whether or not price information for the requested products at stores is retrieved. If set to `true`, the product's store prices are also returned; if set to `false` or left unspecified, only the product's basic information is retrieved. If data is available, +1 credit is spent for each market-price data point.false
historyPricesNoAdds historical price information for the requested product from available markets to the response. The `marketPrices` parameter must be set to `true`. If historical price information is available, 1 credit is consumed.false
preferredMarketsNoIt allows the user to specify the preferred markets for which they wish to see product prices. If this parameter is provided, price information is returned in the `markets` field only for the markets listed. If the parameter is not provided, price information for all markets is displayed. If the user wishes to specify multiple markets, they can submit them separated by commas (e.g., `preferredMarkets=A101,Migros`). If data is available, +1 credit is consumed for each market-price data point.A101,Migros

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses meaningful operational details: results are capped between 1 and 10, and billing is metered at an average cost. It does not describe error behavior or authentication, but the key cost and result-limit traits are covered.

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 sentences, front-loaded with the core function and result limits, followed by billing context. Every sentence earns its place and there is no redundant filler.

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 search tool with well-documented parameters, the description captures the essential behavior, result bounds, and cost implications. It lacks output-shape details and sibling differentiation, but those are partially covered by schema parameter descriptions and not strictly required here.

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?

Schema description coverage is 100%, so the input schema already thoroughly documents all four parameters. The tool description adds no additional parameter-level meaning beyond what the schema provides, which matches the baseline for high coverage.

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 states a specific action ('Searches for products by barcode or name') and a concrete resource scope, plus an explicit result count range. It is clear and informative, but it does not explicitly distinguish itself from siblings like get_api_external_getProducts or get_api_external_product_of_market.

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 phrase 'Searches for products by barcode or name' implies the tool is appropriate when a user needs product lookup by those keys. However, there is no guidance about when to prefer this tool over sibling tools, nor any exclusions or alternative routing.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: search, paginated product listing, product-by-market pricing, price history, recent products, and market names. The main overlap is that product_of_market can optionally include price history while a dedicated history tool also exists, so an agent might occasionally choose between them.

Naming Consistency2/5

All tool names share the get_api_external_ prefix, but the remaining portion is inconsistent: some use camelCase (getProducts, marketList), some use snake_case (get_db_info, product_of_market), and some use bare nouns (history, last, search). This mixed convention makes the tool surface feel less predictable.

Tool Count5/5

Seven tools is well-scoped for a product barcode and pricing API. Each tool covers a meaningful query type without unnecessary bloat or redundancy.

Completeness4/5

The read-oriented surface covers searching, listing, product-market pricing, price history, recent updates, and market filter data. A minor gap is the lack of a dedicated product-details-by-barcode endpoint across all stores without requiring a store name, though search partially fills this.

Resources