TasteRay Business - Recommendation API & ForMe MCP Server
v0.2.1Explainable 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.
| Parameter | Type | Description |
|---|---|---|
vertical * | string | Domain or vertical noun, e.g. "movies", "books", "games", "headphones", "coffee", "travel". |
constraints | object | Hard filter constraints as key-value pairs, e.g. {"max_price": 200, "avoid": ["gore"]}. |
count | integer | Number of recommendations to return (1-10 with API key; clamped to max 3 in keyless demo mode). |
explanation_depth | string | Detail level of written explanations: "brief" for short rationale or "detailed" for full breakdown. |
fast | boolean | Enable low-latency fast inference mode (always true in keyless demo mode). |
grounding | boolean | Enable live web grounding for fresher catalog facts (requires API key; always false in demo mode). |
history | array | Optional list of past items with ratings (max 50 entries) to personalize ranking. |
history_text | string | Optional free-text summary of past likes and dislikes when structured history is unavailable. |
items | array | Optional candidate catalog items to rank; when supplied, TasteRay ranks only items from this list. |
language | string | BCP-47 or underscore locale code for explanation text, e.g. "en_US" or "pl_PL". |
preferences | array | List of structured taste or feature preferences (provide `preferences` or `profile`). |
profile | string | Free-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.
| Parameter | Type | Description |
|---|---|---|
item_name * | string | Exact title or product name to evaluate for user fit. |
item_type * | string | Item category label, e.g. "movie", "book", "product", "game", "tv-series". |
vertical * | string | Domain or vertical noun, e.g. "movies", "headphones", "books", "games". |
constraints | object | Optional hard constraints to check against the item, e.g. budget or content limits. |
depth | string | Explanation verbosity: "brief" for quick verdict or "detailed" for full factor analysis. |
fast | boolean | Enable low-latency fast inference mode (always true in keyless demo mode). |
grounding | boolean | Enable live web grounding for up-to-date specs or reviews (always false in demo mode). |
include_alternatives | boolean | When true, include alternative title or product suggestions if fit is partial. |
item_metadata | object | Optional structured item attributes such as price, year, specs, or genres. |
language | string | Locale code for the generated fit explanation, e.g. "en_US" or "pl_PL". |
profile | string | Free-text description of the shopper or viewer (provide `profile` or `user_preferences`). |
user_preferences | array | List 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.
| Parameter | Type | Description |
|---|---|---|
catalog * | string | Newline-separated list of catalog titles or product names to rank (one item per line). |
theme * | string | Natural-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.
| Parameter | Type | Description |
|---|---|---|
medium * | string | Required non-empty medium label: "product" for physical goods, or "movie", "book", "tv-series", "computer-game", "board-game", "podcast". |
title * | string | Product or media title displayed inside the ForMe widget header. |
description | string | Product or title synopsis (100+ characters recommended for sharper follow-up questions). |
lang | string | Widget interface language code: "en" (English) or "pl" (Polish). |
target | string | Output integration target: "html", "shopify" ("shopify-liquid"), "woocommerce" ("woocommerce-php"), or "react". |
url | string | Optional canonical HTTPS URL of the product or title detail page. |
year | string | Optional release year string for media items such as movies, books, or games. |