Skip to main content
Glama

Search products ai

search_products_ai
Read-only

Hybride Produktsuche (Bedeutung per Vektor + Stichwort per Volltext) in einem Shop. Versteht freie Sprache und Synonyme; Preisangaben wie „unter 30 €“ werden als Filter erkannt. Liefert Treffer mit Herkunft (stichwort/bedeutung/filter).

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": {
      "store_id": "<store_id>"
    },
    "name": "search_products_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAlter in Jahren
limitNo
queryNo
store_idYesShop-ID
max_priceNo
min_priceNo
attributesNoz. B. ["anlass:taufe", "empfaenger:mädchen", "stil:verspielt"]
category_idNoinkl. Unterkategorien
only_in_stockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description still adds real behavioral value beyond them: it parses price expressions from the query into filters and tags each hit with its origin (stichwort/bedeutung/filter), which is non-obvious. However it discloses nothing about result limits, scoring, or what happens when no semantic index exists.

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?

Three compact clauses, front-loaded with the hybrid mechanism, then the language/price parsing, then the return format. Dense but every sentence carries information; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter search with no output schema, the description covers the core query semantics and return shape but leaves gaps an agent must guess at: default page size/limit behavior, what only_in_stock changes, and how age is applied. The core invocation (store_id + query) is clear enough to act on.

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 only 44%, and the description compensates for just part of it by explaining that query accepts free language and that price expressions inside query become min_price/max_price filters. It says nothing about age, limit, only_in_stock, or the attributes notation beyond what the schema already shows.

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?

States a specific mechanism (hybrid vector semantic + full-text keyword search) over a specific resource (products) scoped to a shop, plus the return shape ('Treffer mit Herkunft'). It is clearly distinct from plain listing tools like list_products, though it never names a sibling explicitly.

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 description tells the agent this suits free natural language and synonym queries with embedded price constraints, which hints at when it beats a plain keyword listing. There is no explicit when-to-use/when-not statement and no named alternative (e.g. list_products for exhaustive browsing).

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