Skip to main content
Glama

Search Products Task

search_products_task

Task-based product search for long-running MCP clients. Use task polling to retrieve the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch term (e.g. 'metal print', 'gift', 'cinematic')
detailNoOnly used together with `handle` (single-product lookup). When true, returns the full enriched product record — AI summary, use cases, FAQs, competitive positioning, social proof, gallery, shipping zones, guarantee/returns/quality-assurance detail — for that ONE product, still capped to the server's response size limit. Default false returns the compact card shape (handle, title, short description, price, variants, one image, product URL) that every search and every default single-product lookup uses.
handleNoProduct handle: 'the-legacy-print', 'the-cinematic-print', or 'the-address-sign'
localeNoLocale code for localized URLs (e.g. 'en', 'pl', 'de')
countryNoISO 3166-1 alpha-2 or alpha-3 country code for geo-pricing (e.g. 'PL', 'DE', 'GB', 'DEU', 'GBR')
locale_contractNoLanguage-resolution contract. Legacy discloses multilingual-country ambiguity; strict requires an explicit locale.

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral disclosure burden. It does disclose the task/polling model and long-running nature, which is useful, but it omits details about task lifecycle, failure modes, rate limits, or whether this is a read-only operation.

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?

The description is two sentences with no filler. It front-loads the core behavior and immediately tells the agent how to retrieve the result, making it appropriately sized and easy to parse.

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?

The async task/polling mechanic is mentioned, and the schema fully documents parameters, so the tool is callable. However, without an output schema or an explicit alternative/selection policy, the description leaves some context about result shape and when to choose the synchronous counterpart to inference.

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%, and each parameter already carries rich descriptions with examples. The tool description itself adds no parameter-level guidance, so the baseline score of 3 applies.

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 clear action ('product search') with a specific resource ('products') and a distinguishing retrieval mode ('task-based... task polling'). It separates the tool from the synchronous-looking sibling search_products, although it does not explicitly name that tool.

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?

The description gives actionable context: this is intended for long-running MCP clients and results are retrieved by polling. It clearly implies an asynchronous pattern, but it does not explicitly state when to prefer this over the sibling search_products tool.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Most tools hdistinct purposes, but search_products/search_products_task and check_photo_compatibility/check_photo_compatibility_task are direct-versus-task duplications of the same functionality. The descriptions note that one is task-based, so agents can tell them apart, but the overlap could still cause miselection.

Naming Consistency5/5

All tools use a consistent snake_case verb_phnoun pattern (get_, search_, check_, compare_, start_); task variants follow the same naming convention with a clear `_task` suffix. The convention is predictable and uniform.

Tool Count4/5

11 tools is within a reasonable range for a store assistant, and the scope covers discovery, comparison, recommendations, shipping, policies, and configuration. The two direct/task variant pairs add slight redundancy, making it feel a bit heavier than needed.

Completeness4/5

The tool surface covers core storefront workflows: product discovery/details, comparisons, recommendations, reviews, shipping, policies, photo compatibility, and configuration links. Snissing cart, checkout, or order-status tools feels acceptable if the server is scoped as a pre-purchase assistant, though those would be natural complements.

Resources