Skip to main content
Glama

Search products

search_products
Read-only

Searches the Aloha Fungi product catalog (functional mushroom supplements) by phrase: name, Latin name, or common alias. Returns LIVE catalog data (price from, availability). Prices and availability come from the live catalog. When forma/linia are given, prices and availability reflect the filters. For a matching Reishi or Lion’s Mane variant, url points to the exact variant identified by variantId. Without a form or line filter, url points to the product page.

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

Input Schema

NameRequiredDescriptionDefault
celNoGoal filter (optional), e.g. "sen" (sleep) or "energia" (energy).
sortNoResult sort (optional): cena_asc, cena_desc or nazwa.
formaNoVariant form filter (optional): kapsulki, proszek or krople.
frazaYesSearch phrase, e.g. "reishi" or "sleep". Empty string returns full catalog.
liniaNoProduct line filter (optional): longevity or prime.
rodzajNoSpecies filter, product handle (optional), e.g. "reishi" or "lions-mane".
kategoriaNoListing category filter (optional).

Output Schema

NameRequiredDescriptionDefault
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / products / items / properties / url / description
      Added value: +"Store URL for the selected variant when supported, or the product page."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered; the description adds real value by emphasizing that results are LIVE catalog data with current price and availability, that filters alter those values, and how the returned url resolves (exact variant via variantId when a form/line filter is supplied, otherwise the product page). The repeated sentence 'Prices and availability come from the live catalog' is redundant but the substance is useful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded and readable, but it wastes space restating the live-catalog point twice ('Returns LIVE catalog data (price from, availability). Prices and availability come from the live catalog.') and again about filtered prices. Trimming that redundancy would sharpen an otherwise efficient paragraph.

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 an output schema present, the description need not document return structure, and it covers the non-obvious parts: live data freshness, filter effects on price/availability, and url resolution semantics. Nothing essential for calling the tool correctly appears to be missing, though a note on broad-vs-narrow query behavior or empty-result handling would complete it.

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 100%, so the baseline is 3; the description earns an extra point by describing cross-parameter behavior the schema cannot express — that supplying forma or linia makes prices and availability reflect those filters and changes whether url targets an exact variant. It does not clarify cel, sort, kategoria or rodzaj beyond what the schema already says.

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 states a specific verb and resource — 'Searches the Aloha Fungi product catalog (functional mushroom supplements) by phrase: name, Latin name, or common alias' — so an agent knows exactly what it queries and what fields are matched. It does not explicitly differentiate itself from siblings such as recommend_products or search_knowledge, which keeps it below a 5.

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 context is implied rather than stated: the reader can infer this is the direct catalog lookup tool for a known product name, and the note that forma/linia filters change price and availability hints at filtered-search scenarios. There is no explicit when-to-use versus when-not, and no named alternative for discovery or recommendation-style queries.

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