Skip to main content
Glama

Quantum Atlas Universal Commerce Storefront (UCP)

Batch Lookup UCP Catalog IDs

lookup_catalog
Read-onlyIdempotent

Batch-resolve and refresh live USD pricing and stock for up to 50 known product, variant, or drop IDs. Use this to re-price saved wishlists or carts; do not use for keyword search (search_catalog) or single-product option pickers (get_product). Parameters: pass catalog.ids (1-50 IDs or URLs), optional catalog.filters.available (default true; pass false to surface out-of-stock variants), and catalog.context. Behavior: read-only, zero charge; groups matched variants by product and reports unknown IDs in messages[].

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": {
      "catalog": "<catalog>"
    },
    "name": "lookup_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
metaNoUCP protocol request metadata (meta.ucp-agent and meta.idempotency-key).
catalogYesUCP catalog batch lookup payload.

Output Schema

NameRequiredDescriptionDefault
ucpYesNegotiated UCP protocol metadata and capability intersection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 openWorldHint=false, yet the description still adds useful behavior: zero charge, grouping of matched variants by product, and reporting of unknown IDs in messages[]. It restates 'read-only' redundantly and says nothing about rate limits or large-batch partial failures, but the added response-shaping detail is real value beyond the annotations.

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?

Front-loaded with purpose, followed by routing guidance, then compact 'Parameters' and 'Behavior' blocks. Every sentence carries information an agent needs to select and call the tool correctly; nothing is padded.

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?

Given rich annotations, an output schema, 100% schema coverage, and nested objects, the description covers purpose, alternatives, the key batch limit, the availability default, and return behavior. Nothing essential for correct invocation is missing.

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 baseline is 3. The description does highlight the non-obvious default for catalog.filters.available ('default true; pass false to surface out-of-stock variants') and notes IDs may be URLs, but that largely duplicates schema text, and it leaves catalog.context and the meta block uncharacterized.

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?

States a precise verb and resource with scope: 'Batch-resolve and refresh live USD pricing and stock for up to 50 known product, variant, or drop IDs.' It also names the sibling tools it is not (search_catalog, get_product), so an agent can distinguish it without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit positive trigger ('re-price saved wishlists or carts') and explicit exclusions ('do not use for keyword search (search_catalog) or single-product option pickers (get_product)'). Both the when and the when-not are covered with named 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.

Resources