Skip to main content
Glama

Furniture by Aigency

lookup_catalog

Read-onlyIdempotent

UCP catalog lookup by ids. Ids are product URLs on this storefront (as returned by search_catalog). Up to 10 per call; duplicates are collapsed.

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
metaNoOptional UCP request metadata. ucp-agent.profile is the https URL of the calling platform's UCP profile; send it to identify yourself. Calls without it are served.
catalogYesThe product ids to look up, with optional filters.

Output Schema

NameRequiredDescriptionDefault
ucpYesUCP response metadata: version, status (success or error) and capabilities.
messagesNoWarnings and errors, each with type, code, content and severity.
productsNoThe UCP products found for the requested ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description adds only the duplicate-collapsing behavior and the 10-id cap; it says nothing about how unknown, expired or out-of-catalog ids are handled (error vs. silent omission) or about partial results, which is the main behavioral unknown for a lookup tool.

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?

Three short sentences with zero filler; the identity of the tool comes first, then the id format, then the two operational constraints. Nothing could be removed without losing meaning.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. What remains thin is failure handling for bad ids, but for a 2-parameter read-only lookup the definition is otherwise sufficient to invoke 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 100%, so both the ids array and the filters object are already documented in structured form, establishing the baseline of 3. The description adds only the URL format and dedup semantics, which the schema's "as returned by search_catalog" wording largely already conveys.

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?

States a specific verb and resource ("UCP catalog lookup by ids") and defines what an id is (a product URL on this storefront), which lets an agent distinguish a batch-id fetch from keyword search. It stops short of differentiating itself from the get_product sibling, so it is clear but not fully disambiguated.

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 "as returned by search_catalog" implies a two-step search-then-lookup workflow, which is useful context. There is no explicit when-not guidance nor any statement about when to prefer get_product instead of a single-id batch lookup.

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