Skip to main content
Glama

Filter the catalogue

lookup_catalog
Read-only

Preferred structured discovery. Filter by category, partial colour name or required supported width/drop in mm. Returns results containing product_id, name, category and product_url, plus total. Width/drop filters check separate maximums, not every combination; confirm the exact pair with get_price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
colourNoOptional part of a colour or finish name, any case, for example grey, oak or white. Only products with a matching in-stock colour are returned
categoryNoroller | venetian | honeycomb | vertical | outdoor
max_width_mmNoOptional width the customer needs, in mm. Only products made at least this wide are returned
max_height_mmNoOptional drop the customer needs, in mm. Only products made at least this long are returned

Output Schema

NameRequiredDescriptionDefault
totalYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / colour / description
      Added value: +"Optional part of a colour or finish name, any case, for example grey, oak or white. Only products with a matching in-stock colour are returned"
    • addedInput schema / properties / max_height_mm / description
      Added value: +"Optional drop the customer needs, in mm. Only products made at least this long are returned"
    • addedInput schema / properties / max_width_mm / description
      Added value: +"Optional width the customer needs, in mm. Only products made at least this wide are returned"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered. The description adds real value beyond that with the important caveat that width/drop filters check separate maximums rather than every combination, preventing a wrong assumption about the results. The return-field enumeration is redundant with the output schema, which costs it a perfect score.

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?

Two dense sentences in roughly 45 words, front-loaded with the usage signal and then the semantics that matter. No filler and no repetition of annotation content.

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?

For a read-only filtered-list tool with a full-coverage schema and an output schema, this covers the essentials and flags the one real pitfall (width/drop pairs). Missing only an explicit alternative-tool mention, which is minor given the output schema and annotations.

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 baseline is 3. The description still adds meaning the schema does not: it clarifies that colour matching is partial and that width/drop are independent maxima, plus points to get_price for exact pair verification.

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 action (filter the catalogue by category, partial colour, or required width/drop in mm) and frames it as the preferred structured discovery path, which implicitly contrasts with a free-text search sibling. It does not name that sibling explicitly, so differentiation is inferred rather than stated.

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?

The phrase 'Preferred structured discovery' gives a clear default-use signal, and 'confirm the exact pair with get_price' routes the agent onward when width/drop combinations matter. It lacks an explicit when-not condition, but the positive guidance and the hand-off are strong.

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