Skip to main content
Glama

TasteRay Business - Recommendation API & ForMe MCP Server

Generate a Mood Discovery Row Over Your Catalog

discover_catalog_rows
Read-onlyIdempotent

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.

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": {
      "catalog": "<catalog>",
      "theme": "<theme>"
    },
    "name": "discover_catalog_rows"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds two pieces of real context beyond that: the call is keyless ('/v1/demo/discover', i.e. no API key requirement) and it 'strictly drops any item not present in the submitted list', which tells the agent results are a bounded subset of input. It does not say anything about ordering or response shape, which keeps it from a 5.

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?

Two sentences with zero filler. The core action and the endpoint come first, and the sibling routing follows immediately, so the agent gets the key selection information up front.

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

Completeness4/5

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

For a two-parameter, closed-world, read-only tool with no output schema, the description covers action, input shape, the strict-subset constraint, and the alternative. The main gap is what the returned row actually looks like (ordering, whether scores are included), though that is a minor omission for a demo-row generator.

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%, so both parameters (theme, catalog) are already fully documented in the schema, and the description largely restates the newline-separated format. The one genuine addition is that items absent from the submitted catalog are dropped, which clarifies that the catalog parameter is a hard candidate set rather than a hint. With the schema doing the heavy lifting, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('pick the top matching items from a newline-separated catalog list'), gives the prompting input ('mood, occasion, or theme'), and names the underlying endpoint. It also distinguishes itself from recommend_catalog_items, so an agent can separate the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use this tool for ranked picks from a supplied list, and use recommend_catalog_items instead 'when you want structured metadata, constraints, or cold-start discovery.' The alternative and the condition selecting it are both stated rather than inferred.

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.