Skip to main content
Glama

Furniture by Aigency

search_catalog

Read-onlyIdempotent

UCP catalog search. Natural-language query and/or filters over this storefront's catalog; returns UCP products (id = product URL) with price range, media and a single variant each, plus a short answer in messages. Filters are applied to the results (price in minor units, categories by value). Pages are re-runs of the same search sliced at the cursor, so ordering may vary between pages.

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": "search_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.
catalogYesAt least one of query or filters.

Output Schema

NameRequiredDescriptionDefault
ucpYesUCP response metadata: version, status (success or error) and capabilities.
messagesNoWarnings and errors, each with type, code, content and severity.
productsNoUCP products; each id is the product URL on this storefront.
paginationNohas_next_page, total_count, and a cursor when another page exists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 closed-world, so the safety profile is covered. The description adds genuinely new behavior: filters are applied to the results rather than the query, and 'Pages are re-runs of the same search sliced at the cursor, so ordering may vary between pages' — a real caveat an agent would not otherwise know. Some of the return-shape detail overlaps the output schema, keeping it short of a 5.

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 dense sentences, front-loaded with the purpose before return shape and pagination caveats; no filler. Minor cost: 'UCP' appears twice as unexplained jargon, slightly reducing immediate comprehensibility.

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 a rich output schema and full annotation coverage, the description supplies everything an agent needs: what it searches, what filters do, what comes back, and the pagination/ordering caveat. Nothing material for calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents query, filters (minor units, OR-matched categories), and the opaque cursor; baseline is 3. The description adds meaning beyond it by clarifying that filters narrow the result set post-search and that the cursor is a slice point into a re-run search, which changes how an agent should treat pagination.

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: natural-language query and/or filters over this storefront's catalog, plus what it returns (UCP products, id = product URL, price range, media, one variant, plus an answer in messages). The purpose is unambiguous, but it never names the sibling tools (lookup_catalog, get_product) so the agent gets no explicit differentiation from them.

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?

Usage is implied by 'Natural-language query and/or filters' and the schema's 'At least one of query or filters', which tells the agent what input is required. There is no explicit when-to-use versus lookup_catalog/get_product, and no statement of when a search is the wrong choice (e.g. known product URL).

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