Skip to main content
Glama

Search catalogue

search_catalogue
Read-onlyIdempotent

Searches the connected workspace's readable product catalogue by text, supplier or category. Can limit results to products with open recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return (1–100).
queryNoFree text: brand, product words, SKU/barcode or category. Every word must appear somewhere in the row.
categoryNoCategory name to filter by.
supplier_nameNoSupplier name, fragment or acronym; resolved against the real supplier list.
only_recommendedNoTrue = only SKUs named by an open recommendation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesMatching catalogue products.
scopeYesWhat population was searched.
truncatedYesTrue when more rows matched than were returned.
evidence_idYesHandle for these rows within this call's results. Not a citation.
returned_rowsYesRows in this response.
resolved_suppliersNoHow a supplier_name filter resolved, when one was given.
source_evidence_idsYesWorkspace evidence IDs backing these rows. Empty when the source carries no evidence records.
total_matching_rowsYesRows that matched before any limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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, so the safety profile is covered. The description does add one useful behavioral detail the annotations do not: results come from the 'readable' catalogue, implying permission-scoped visibility, and it links to open recommendations. It says nothing about result volume, ranking or pagination beyond what the schema's limit field implies.

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 sentences, no filler, with the primary action and scope front-loaded and the recommendation filter as a secondary clause. Every sentence earns its place.

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 not be described. The description covers scope and the filter surface, but it omits any note about how matches are ranked or what happens when no filters are supplied (all params optional), leaving a small gap for a zero-required-parameter search tool.

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 schema already documents all five parameters in detail (including the 'every word must appear' semantics for query). The description only restates the filter axes and adds no syntax or matching nuance beyond the schema, so the baseline 3 applies.

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?

Specific verb (searches) plus a clearly scoped resource (the connected workspace's readable product catalogue) and the three filter axes (text, supplier, category). It distinguishes itself reasonably from generic listers like twelfth_list_products, though it never explicitly names or contrasts a sibling such as find_similar_products.

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

Usage Guidelines2/5

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

The second sentence states a capability ('can limit results to products with open recommendations') rather than when to use this tool instead of alternatives. No when-not guidance and no alternative tool is named, so the agent must infer the selection context.

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