Skip to main content
Glama

search_products

Read-onlyIdempotent

Search the products of the merchants of one market by text. Returns title, description, URL, image, brand, the shop's price and currency, availability, the product go_path and its merchant. Prices are the shop's prices. Products of 18+ merchants are never returned. Results are cached for a short time and the tool is rate limited. Links built from go_path carry the buyer's Hedera account ID and are affiliate links: disclose them, use them for your own or your operator's purchases only, and open them only in the buyer's browser at purchase time.

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": {
      "market": "<market>",
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
marketYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the readOnly/destructive/idempotent annotations: it discloses what fields come back, that prices are the shop's own, that 18+ merchants are filtered out, that results are briefly cached and rate limited, and the affiliate-link obligations (disclosure, purchase scope, browser opening). Those are exactly the constraints an agent could otherwise violate.

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?

Front-loads purpose, then return shape, then behavioral caveats in a logical order with no filler sentences. The affiliate/link paragraph is long, but every clause is an actionable constraint rather than padding.

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?

With no output schema, the description usefully enumerates return fields, and it covers caching, rate limits and content exclusions. Minor gaps remain around the limit parameter's bounds and market value validation, but an agent has enough to invoke it correctly.

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 coverage is 0%, so the description has to carry parameter meaning: "by text" clarifies query and "one market" clarifies market, but the limit parameter (default 10, no stated maximum) is left completely unexplained in both schema and description. Partial compensation only, so a mid score.

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 the products") plus the scope ("of the merchants of one market by text"), which cleanly separates it from list_markets, get_merchant and search_deals without needing their schemas. The returned fields are enumerated immediately after, reinforcing what kind of result this is.

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

Usage Guidelines3/5

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

Usage is only implied: the required "market" parameter signals that text search is scoped to a single market, and the go_path paragraph implies you should use build_go_link-style links rather than call this for link construction. It never explicitly says when to prefer search_deals or get_merchant, nor any exclusion conditions.

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