TasteRay Business - Recommendation API & ForMe MCP Server

v0.2.1
com.tasteray/business-mcp Checked 4 days ago Published 4 days ago

Explainable cold-start Recommendation API & ForMe PDP widget MCP server for catalogs and stores.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

recommend_catalog_items Recommend or Rank Catalog Items

Rank candidate catalog items or generate cold-start recommendations for any vertical (movies, books, games, products, travel), returning written fit explanations (`why_match`, `key_factors`, `potential_concerns`) and confidence scores. Uses authenticated `/v1/recommend` with an API key or keyless `/v1/demo/recommend` (max 3 returned recommendations) without one; use `explain_catalog_item` to evaluate a single item instead.

ParameterTypeDescription
vertical *stringDomain or vertical noun, e.g. "movies", "books", "games", "headphones", "coffee", "travel".
constraintsobjectHard filter constraints as key-value pairs, e.g. {"max_price": 200, "avoid": ["gore"]}.
countintegerNumber of recommendations to return (1-10 with API key; clamped to max 3 in keyless demo mode).
explanation_depthstringDetail level of written explanations: "brief" for short rationale or "detailed" for full breakdown.
fastbooleanEnable low-latency fast inference mode (always true in keyless demo mode).
groundingbooleanEnable live web grounding for fresher catalog facts (requires API key; always false in demo mode).
historyarrayOptional list of past items with ratings (max 50 entries) to personalize ranking.
history_textstringOptional free-text summary of past likes and dislikes when structured history is unavailable.
itemsarrayOptional candidate catalog items to rank; when supplied, TasteRay ranks only items from this list.
languagestringBCP-47 or underscore locale code for explanation text, e.g. "en_US" or "pl_PL".
preferencesarrayList of structured taste or feature preferences (provide `preferences` or `profile`).
profilestringFree-text description of the buyer, viewer, or context (provide `profile` or `preferences`).

explain_catalog_item Explain Fit for a Single Catalog Item

Evaluate how well one specific product or media title fits a user profile and hard constraints. Returns structured `summary`, `taste_alignment`, `constraint_satisfaction`, `unique_factors`, `potential_concerns`, and optional alternatives via `/v1/explain` (or keyless `/v1/demo/explain`). Use `recommend_catalog_items` to rank multiple candidates.

ParameterTypeDescription
item_name *stringExact title or product name to evaluate for user fit.
item_type *stringItem category label, e.g. "movie", "book", "product", "game", "tv-series".
vertical *stringDomain or vertical noun, e.g. "movies", "headphones", "books", "games".
constraintsobjectOptional hard constraints to check against the item, e.g. budget or content limits.
depthstringExplanation verbosity: "brief" for quick verdict or "detailed" for full factor analysis.
fastbooleanEnable low-latency fast inference mode (always true in keyless demo mode).
groundingbooleanEnable live web grounding for up-to-date specs or reviews (always false in demo mode).
include_alternativesbooleanWhen true, include alternative title or product suggestions if fit is partial.
item_metadataobjectOptional structured item attributes such as price, year, specs, or genres.
languagestringLocale code for the generated fit explanation, e.g. "en_US" or "pl_PL".
profilestringFree-text description of the shopper or viewer (provide `profile` or `user_preferences`).
user_preferencesarrayList of structured user taste preferences (provide `user_preferences` or `profile`).

discover_catalog_rows Generate a Mood Discovery Row Over Your Catalog

Pick the top matching items from a newline-separated catalog list for a mood, occasion, or theme prompt via keyless `/v1/demo/discover`. Strictly drops any item not present in the submitted list; use `recommend_catalog_items` when you want structured metadata, constraints, or cold-start discovery.

ParameterTypeDescription
catalog *stringNewline-separated list of catalog titles or product names to rank (one item per line).
theme *stringNatural-language mood, occasion, or theme prompt used to build the discovery row.

get_api_usage Check TasteRay Business API Quota & Usage

Inspect the active TasteRay Business API plan tier, monthly request allowance, and remaining usage via `GET /v1/usage` using `X-API-Key` or `Authorization: Bearer`. If called without credentials, returns instructions for creating a free 1,000 requests/month API key.

generate_forme_widget_snippet Generate TasteRay ForMe PDP Verdict Widget Snippet

Generate a validated embed snippet for the TasteRay ForMe ("Is this for me?") conversational verdict widget (`https://forme.tasteray.com/widget.js`) in HTML, Shopify Liquid, WooCommerce PHP, or React. Pure deterministic generator with no API key required; free up to 1,000 checks/domain/month.

ParameterTypeDescription
medium *stringRequired non-empty medium label: "product" for physical goods, or "movie", "book", "tv-series", "computer-game", "board-game", "podcast".
title *stringProduct or media title displayed inside the ForMe widget header.
descriptionstringProduct or title synopsis (100+ characters recommended for sharper follow-up questions).
langstringWidget interface language code: "en" (English) or "pl" (Polish).
targetstringOutput integration target: "html", "shopify" ("shopify-liquid"), "woocommerce" ("woocommerce-php"), or "react".
urlstringOptional canonical HTTPS URL of the product or title detail page.
yearstringOptional release year string for media items such as movies, books, or games.