Skip to main content
Glama

Trailberg Ireland — Activewear, Tracksuits & Footwear

Render product search

render_product_search

Search Trailberg Ireland and render the interactive product carousel. Pass the shopper's product wording through in query without rewriting it. When the shopper states a budget, provide min_price and/or max_price in major currency units; use both with the same value only for an exact price. For one requested category or concept, call this tool exactly once and do not repeat or rephrase the search. If no products are returned, show the empty result and ask before trying a different query or relaxing constraints. For multiple explicitly requested categories, use one faithful combined search when possible; otherwise call this tool once per distinct category. Do not create separate searches for synonyms, colours, styles, audiences, or alternative wording. Use this for browsing or discovery, not as a preliminary lookup for an exact product-detail request. Do not automatically open product-detail tools for returned products to rank, compare, validate, or explain the results. For products to pair or match with a referenced item, use render_complete_the_look instead.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum products to return.
queryYesThe shopper's product wording, passed to Shopify unchanged.
currencyNoISO 4217 currency code.
max_priceNoOptional maximum price in major currency units.
min_priceNoOptional minimum price in major currency units.
buyer_contextNo

Output Schema

NameRequiredDescriptionDefault
typeNoproduct_search_result
queryYes
storeYes
messageYes
productsNo
matchTypeYes
explanationNo
resultCountNo
suggestionsNo
rawResultCountNo
recommendedViewNo
searchCandidatesNo
resolvedProductIdNo
totalCandidateResultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and discloses important traits: the tool renders an interactive carousel, empty results should be shown before retrying, and returned products should not automatically trigger product-detail tools. It does not mention permissions or rate limits, but those are less central for this search-and-render operation.

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?

The description is dense but front-loads the primary action and then layers usage rules in a logical order. Some instructions about synonyms and alternative wording are repetitive, but they reinforce behavior the agent must avoid.

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?

The tool is complex, with six parameters and an output schema, and the description covers the key invocation behavior and result handling well. The main remaining gap is that buyer_context is neither described in the schema nor mentioned in the description, though it is optional.

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 high at 83%, so the schema already documents most parameters. The description adds meaningful semantics beyond the schema by specifying that query wording must pass through unchanged, that prices are in major currency units and should use both min_price and max_price only for an exact price.

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 states a specific verb and resource: search Trailberg Ireland and render an interactive product carousel. It clearly distinguishes this browsing/discovery tool from exact product-detail and complete-the-look siblings.

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?

It gives explicit when-to-use guidance, including browsing versus exact product-detail lookup, one search per category, combined searches for multiple categories, and no synonym/colour/style repetition. It also names the alternative render_complete_the_look for pairing or matching products.

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