Skip to main content
Glama

Search products

search_products
Read-only

Search products across online stores. Returns title, price, merchant, source, rating, product URL and a direct checkout URL when available.

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
limitNoNumber of results
queryYesWhat to search for, e.g. 'standing desk under $400'
sort_byNoOptional sort order: price-asc, price-desc, or rating-desc
sourcesNoOptional list of sources to query concurrently when configured
max_priceNoMaximum price in USD
min_priceNoMinimum price in USD
min_ratingNoMinimum rating (0-5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sort_by
      Added value: +{
      +  "description": "Optional sort order: price-asc, price-desc, or rating-desc",
      +  "enum": [
      +    "price-asc",
      +    "price-desc",
      +    "rating-desc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sources
      Added value: +{
      +  "description": "Optional list of sources to query concurrently when configured",
      +  "items": {
      +    "enum": [
      +      "amazon",
      +      "serpapi",
      +      "shop-mcp",
      +      "seller-feed"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safe read-only, external-network nature is covered. The description adds the useful condition that a direct checkout URL appears only "when available," but says nothing about concurrency across sources, result de-duplication, or failure behavior when a source errors.

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?

Two tightly packed sentences: purpose first, payload second, with zero filler. Every clause conveys information an agent would otherwise have to discover empirically.

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 properly compensates by enumerating the returned fields, which is the right call for a 7-parameter search tool. Minor gaps remain around how multi-source results are merged or ordered when sort_by is omitted, but nothing essential to calling it is missing.

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%, with per-parameter docs including an example query, ranges, and the source enum, so the schema carries the semantic load. The description adds no parameter-level meaning beyond that, which is the expected baseline when coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ("Search products across online stores") and names the return payload, so the agent knows this is a cross-merchant product lookup rather than a single-store query. It does not differentiate itself from the sibling compare_products, leaving the agent to infer the boundary from the names alone.

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 by the word "Search" and the mention of online stores; there is no explicit statement of when to prefer this over compare_products or when not to use it. An agent can guess the intended use case, but nothing in the text routes it away from the alternative.

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