Skip to main content
Glama

catalog_lookup_batch

Read-onlyIdempotent

Look up up to 500 barcodes in a single batch request to retrieve catalog information for multiple products at once.

Instructions

Look up up to 500 barcodes in one batch request.

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": {
      "barcodes": "<barcodes>"
    },
    "name": "catalog_lookup_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
barcodesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds only the batch/round-trip framing; it says nothing about how partial misses, duplicates, or malformed barcodes are handled.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its terseness leaves the gaps noted in other dimensions.

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?

This is a simple single-parameter read tool, so the description is adequate for selection and invocation. The main gap is the absence of any output schema combined with no description of the return shape or error behavior for unresolvable barcodes.

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 coverage is 0%, but the sole parameter is a plain array of strings already bounded by minItems=1 and maxItems=500 in the schema. The description merely restates the 500 cap and adds no barcode format, uniqueness, or ordering semantics.

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 and resource ('Look up ... barcodes') plus a batch scope ('up to 500 ... in one batch request'), which implicitly separates it from the single-barcode sibling catalog_lookup_barcode. It does not explicitly name the per-barcode alternative, keeping it just short of a 5.

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?

Batch usage is implied by 'in one batch request' and the 500-item cap, so an agent can infer this is for multi-barcode lookups. However, there is no explicit when-to-use vs when-not guidance and no named alternative for single lookups or for searching instead.

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