Skip to main content
Glama

Search products across stores

search_products
Read-onlyIdempotent

Search the catalog by a specific free-text query (e.g. a product name, material, or occasion the shopper named). In marketplace mode, searches across every brand store on Tolstoy — one catalog, no store selection needed.

Use this only when the shopper names something specific to look for. For open-ended browsing, featured, best sellers, or a collection, use browse_products instead. When shopping a single brand, the optional filters (category/productType/tag) narrow the results. Each result carries a productRef; pass it to get_product for full details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of products to return.
queryYesWhat the shopper is looking for.
cursorNoPagination cursor from a previous search result.
filtersNo

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds useful context about marketplace mode (searches across every brand store without store selection) and the productRef relationship to get_product. No contradictions.

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?

The description is compact and well-structured: first paragraph introduces the core action, second paragraph gives usage guidance and result handling. No filler or redundant information.

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 read-only search tool with 4 parameters and no output schema, the description covers the essential context: when to use, what the query means, how filters work, and how to follow up via get_product. It is complete for an AI agent to select and invoke the tool effectively.

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 descriptions cover most parameters (75%), so the baseline is 3. The description adds meaning by elaborating on the query parameter with examples and explaining that filters narrow results for a single brand. This enhances the schema's basic descriptions.

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?

The description clearly states the tool searches the catalog by a specific free-text query, with examples of query types. It distinguishes itself from browse_products (open-ended browsing) and get_product (full details via productRef).

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?

Explicitly states when to use: 'only when the shopper names something specific to look for.' It also names the alternative for other cases: 'For open-ended browsing, featured, best sellers, or a collection, use browse_products instead.'

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: search_products finds products, get_product retrieves details for a specific product, and try_on launches a virtual try-on experience. There is no overlap between them, and descriptions reinforce what each does.

Naming Consistency5/5

All tool names follow a consistent lowercase verb_noun pattern (get_product, search_products, try_on). The pattern is predictable and easy to infer even without descriptions.

Tool Count4/5

Three tools is within the typical well-scoped range (3-15), but the set feels thin because the description of search_products references a browse_products tool that isn't actually included. The count is not excessive, but slightly below what the domain seems to require.

Completeness2/5

The tool set is missing a browse_products tool, which is explicitly referenced in search_products as the alternative for open-ended browsing. Additionally, the 'shopper' domain implies cart or checkout capabilities, but none are present, leaving obvious gaps in the shopping workflow.

Resources