Skip to main content
Glama

Your Bike Guide

Search products

search_products
Read-onlyIdempotent

Search everything this site sells (its whole catalogue, not only current deals) by keyword, with optional brand, category, price range and on-sale filters. Results come only from the site this endpoint is hosted on. Each result's url is an affiliate link: show the result's disclosure next to any link you share. If status is searching, call again with the same arguments in a few seconds.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoOnly this brand, for example "Patagonia".
limitNoHow many products to return (1-20, default 10).
queryYesKeywords to look for, for example "2 person tent". Every word of 2 or more characters must match.
categoryNoOnly this category, for example "tents".
max_priceNoOnly products at or below this price, in US dollars.
min_priceNoOnly products at or above this price, in US dollars.
on_sale_onlyNoOnly products on sale (priced below the merchant's regular price).

Output Schema

NameRequiredDescriptionDefault
siteYesName of the site these products come from.
as_ofYesWhen this answer was generated (RFC 3339, UTC). Prices can change after it.
statusYes`ok`; `searching` when the search is still running (call again with the same arguments in a few seconds); `busy` when the site is busy (retry shortly).
messageNoWhy there are no results, or a note about a filter.
resultsYesMatching products.
site_urlYesThe site's home page.
disclosureYesShow this next to the results: links to retailers are affiliate links.
result_countYesNumber of entries in `results`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (which only cover read-only, idempotent, non-destructive, closed-world) by disclosing that results are scoped to the hosting site, that every returned `url` is an affiliate link requiring the `disclosure` to be shown, and that a `searching` status means the call must be repeated. Those are operational and compliance-relevant behaviors an agent could not infer from structured fields.

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?

Three sentences, each doing distinct work: scope, filter inventory, then the affiliate/status caveats. The most decision-relevant constraint (catalogue vs deals) is front-loaded and there is no filler.

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?

Although an output schema exists, the description adds the pieces an agent needs to act correctly on results — affiliate-link disclosure obligation and the asynchronous `searching` retry loop — while the schema handles parameter detail. Nothing material is missing for a read-only search tool of this complexity.

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 every one of the seven parameters already carries its own documentation, including the multi-word matching rule and price currency. The description only restates the filter categories (brand, category, price range, on-sale) at a higher level, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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 everything this site sells") and immediately scopes it against the obvious sibling concern with "its whole catalogue, not only current deals", which routes agents away from search_deals. It also enumerates the filter axes, so the tool's shape is clear before opening the schema.

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

Usage Guidelines4/5

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

Gives clear context for when to use it (broad catalogue keyword search rather than deals-only) and an explicit follow-up rule: "If `status` is `searching`, call again with the same arguments in a few seconds." It stops short of naming search_deals or search_guides as alternatives, so the routing is implied rather than explicit.

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