AI Salesperson MCP Server - A product search and filtering system for e-commerce with semantic search capabilities
The nexdialogue server presents moderate-quality tool definitions with consistent naming patterns but significant gaps in parameter documentation and error handling. All 4 tools are registered with descriptions and input schemas, but parameter descriptions are minimal or missing entirely. The server lacks output schema documentation beyond type hints, provides no error handling guidance, and has no security or permission controls. Tool names follow the verb_noun pattern (get_product, text_to_image_search, text_to_text_search, filter_products), which is good, but descriptions are brief (34-88 chars) and lack key context about when to use each tool versus alternatives. No pagination support despite tools that return lists. Overall functional but well below production standards.
Filters a list of products based on provided criteria.
Retrieve detailed information for a specific product by its ID.
Search products based on image feature similarity.
Search products based on textual feature similarity.
filter_products accepts generic 'dict' types with undocumented structure. The description mentions optional keys (brand, category, sub_category, gender, price, size) but these are not enforced as enums or with formal constraints. LLMs cannot determine valid filter combinations without trial-and-error.
Search tools (text_to_image_search, text_to_text_search) return unbounded lists (up to k=10 hardcoded in utils.py) with no pagination parameters, no offset/limit, no total_count, and no next_cursor. If result size grows, context window exhaustion risk increases. No guidance on max result set size in tool descriptions.
get_product returns None on product_id not found, with no error message or recovery guidance. Description does not state behavior for missing IDs. LLM receives None and has no hint to call a search tool or ask the user.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 49 | - | v1 |
filter_products description states filters are 'optional keys' but does not document their data types or valid ranges. Price is a float with no min/max bounds stated. Size is comma-separated but this format is not clearly specified. LLMs may pass invalid values.
No output schema documentation. tools return Product objects (Pydantic models) and lists of Products, but the schema is inferred only from type hints visible in code. Descriptions do not specify which fields are returned or how they map to tool behavior. LLMs cannot plan downstream tool calls without reverse-engineering the code.
text_to_image_search and text_to_text_search have identical-looking names and both accept a 'query' parameter. The difference (image vs text embeddings) is only clear in the description. LLMs may conflate them or select the wrong tool due to name ambiguity.
No tool describes when to call it instead of similar tools. What is the intended user journey? Should users search first, then filter? Or filter directly? Should they prefer image search or text search? No guidance provided.
filter_products docstring is in the tool code, but the @mcp.tool() decorator does not pass a description parameter. FastMCP may be extracting the docstring, but the decorator call does not explicitly show description assignment, making it unclear if the description is properly registered.
No error handling for model loading failures. utils.py raises RuntimeError if models or database fail to load, but these errors are not caught at the server level. An agent calling any search tool after a model load failure will receive an unhandled exception with no recovery guidance.