Search 26,000+ deduplicated UK electronics products across multiple retailers with price comparison. Returns summary data: title, brand, price, availability, category, purchase link, and offer_count. When offer_count > 1, the product is available from multiple retailers — call get_product to see ...
Accepts freeform code/query input (query)
Part of the Trustrails MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents call search_products to retrieve information from Trustrails without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though search_products only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
tools:
search_products:
rules:
- action: allow See the full Trustrails policy for all 2 tools.
Agents calling read-class tools like search_products have been implicated in these attack patterns. Read the full case and prevention policy for each:
Other tools in the Read risk category across the catalogue. The same policy patterns (rate-limit, allow) apply to each.
Search 26,000+ deduplicated UK electronics products across multiple retailers with price comparison. Returns summary data: title, brand, price, availability, category, purchase link, and offer_count. When offer_count > 1, the product is available from multiple retailers — call get_product to see all offers. Specs are minimal — for full technical specifications, call get_product with the product ID. Covers: Laptops, Desktops, Phones, Tablets, Headphones, Monitors, TVs, Cameras, Keyboards, Mice, Speakers, Gaming, Wearables, Printers, Networking, Storage, Audio, Drones, Cables & Chargers. All prices in GBP. IMPORTANT RULES: 1) Decompose the user's request into query + filters. Example: 'Sony headphones under £200' → query='headphones', brand='Sony', max_price=200. 2) DO NOT put brand names, prices, or model numbers in the query — use the brand, min_price, max_price filters instead. 3) Keep the query to 1-3 generic words describing the product type. 4) Always set lite=true to reduce payload size. 5) If 0 results, try a shorter/broader query or drop filters. 6) Use get_product for full specs — do not rely on search results for detailed attributes. AI USAGE PROTOCOL: For simple browsing, search with lite=true is sufficient. For spec-based queries (wattage, ports, RAM, screen size, weight, etc.), ALWAYS search first, then call get_product on the top 3-5 results and validate constraints against the full specs before recommending. Do not assume technical specs from titles alone. If specs are missing, state that explicitly. STOCK AVAILABILITY: When a product is availability: out_of_stock, do not recommend it as a purchase. Instead mention it as a notable alternative — especially if it offers a meaningful price advantage — and suggest the user check back. Example: 'This model is £X cheaper at [retailer] but currently out of stock — worth checking back if you're not in a rush.' Never silently omit out-of-stock results; surface them transparently.. It is categorised as a Read tool in the Trustrails MCP Server, which means it retrieves data without modifying state.
Add a rule in your Intercept YAML policy under the tools section for search_products. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Trustrails MCP server.
search_products is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the search_products rule in your Intercept policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the Intercept policy for search_products. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
search_products is provided by the Trustrails MCP server (@trustrails/mcp-server). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept