Skip to main content
Glama

Search / browse products

search_products
Read-only

Search and browse the Hertwill dropshipping catalog using filters, sorting, and pagination to find products; omit the query to browse and return compact summaries.

Instructions

Search or browse the Hertwill dropshipping catalog with filters, sorting and pagination. Pass query for full-text search; omit it to browse. Returns compact product summaries without the HTML description or variations; call get_product for full details and variation ids. Link a product as meta.product_url_template with its slug filled in. Note: wholesale price is null unless HERTWILL_API_KEY is configured.

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": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
brandNoBrand slug (see list_brands).
queryNoFull-text search query. Omit to browse all products.
on_saleNoOnly products currently on sale.
sort_byNo
categoryNoCategory slug (see list_categories).
per_pageNoResults per page, 1–100 (default 50).
ships_toNoISO 3166-1 alpha-2 country code; only products sellable to this country (e.g. 'DE').
max_priceNoMaximum wholesale price in EUR.
min_priceNoMinimum wholesale price in EUR.
attributesNoComma-separated attribute values to filter by.
sort_orderNoDefault 'desc'.
stock_statusNo
include_facetsNoInclude facet counts (brands, categories, attributes…) for refining filters (default false; large).
shipping_regionNoFilter by shipping region.
include_descriptionNoInclude the HTML description (default false, to save tokens).

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare read-only and open-world behavior, and the description adds context beyond them: results are compact summaries lacking HTML descriptions and variations, and wholesale `price` is null unless HERTWILL_API_KEY is configured. It also discloses how to construct a product link via `meta.product_url_template` plus `slug`, which an agent could not infer from the annotations.

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?

Five dense sentences, front-loaded with the search-vs-browse distinction and followed by output shape, sibling escalation, linking convention, and the auth caveat. No filler or redundant restatement of the title.

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?

For a 16-parameter tool with an output schema and annotations, the description covers the dimensions that matter: mode selection, output compactness, escalation path to `get_product`, link construction, and a data-availability caveat. Nothing required to call it correctly appears 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 already 88%, so the baseline is 3. The description adds meaning on top by explaining that omitting `query` switches from search to browse and by clarifying the price-null caveat that affects the min/max price filters, plus the slug-based link construction. It does not add much on the remaining filters, but the schema handles those adequately.

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?

States a specific verb and resource ('Search or browse the Hertwill dropshipping catalog') and immediately splits the two modes: `query` for full-text search, omit to browse. It also names `get_product` as the detail-oriented sibling, so an agent can distinguish it from the other product tools without opening a schema.

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

Usage Guidelines5/5

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

Explicit routing rules are given: use `query` for search, omit it to browse, and call `get_product` when HTML descriptions or variation ids are needed. The schema further points to `list_brands` and `list_categories` for slug resolution, so the when-to-use and when-not-to-use conditions are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.