Skip to main content
Glama

Look up products

lookup_catalog
Read-only

Retrieves up to 20 products by product or material id (as returned by search_catalog). Each material reports in inputs the requested id that produced it. A product id returns only the default material of its product page: the others are in options, each with its own id to request here or from get_product.

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
metaNo
catalogYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description doesn't need to. It adds genuine behavior the annotations cannot: a hard cap of 20 ids, the fact that each returned material echoes the requested id in inputs, and that a product id yields only the default material while siblings live under options. It does not discuss error or partial-match behavior for unknown ids.

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?

Three compact sentences, front-loaded with the retrieval scope before the subtler id-resolution rules. Dense but each sentence carries distinct information; the middle sentence about inputs is slightly cryptic on first read but earns its place.

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?

With no output schema and a nested-object input, the description must explain the response shape, and it does: it names inputs, default material, and options, and explains how ids map between them. Combined with the annotations covering safety, an agent has what it needs to call this correctly.

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 0% across 2 parameters, so the description must carry the load. It does well on the ids array, explaining that both product and material ids are accepted and what each returns, but the meta.ucp-agent.profile parameter gets no mention at all, leaving a nested object undocumented.

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?

The definition gives a specific verb and resource ("Retrieves ... products") and states scope ("by product or material id", max 20). It also situates itself against siblings by noting ids come "as returned by search_catalog" and that non-default materials can be fetched "here or from get_product", so an agent can place it in the workflow without opening another schema.

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

Usage Guidelines4/5

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

It makes the trigger condition explicit: this is the tool to call once you already hold product or material ids from search_catalog. It also routes the agent to get_product for the broader material set. It does not state exclusions (e.g., what to do with names or free-text queries), so it stops short of full when-not guidance.

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