Skip to main content
Glama

Similar products

ss_similar
Read-onlyIdempotent

Finds alternatives or accessories for a Snapp! Shop product by product ID and category ID, helping users compare similar items.

Instructions

Find alternatives to a product that Snapp! Shop shows under 'similar products'.

Items have the same fields as ss_search.

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": {
      "id": "<id>",
      "category_id": "<category_id>"
    },
    "name": "ss_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProduct `id` (6 characters).
kindNo'similar' = alternatives; 'accessories' = cases, glass, etc.similar
category_idYes`category_id` from ss_product.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Product `id` (6 characters) from ss_search or ss_product."New value: +"Product `id` (6 characters)."
    • changedInput schema / properties / kind / description
      Previous value: -"'similar' = other products like this one; 'accessories' = what is sold with it (cases, glass)."New value: +"'similar' = alternatives; 'accessories' = cases, glass, etc."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered. The description adds genuine non-annotation context: results mirror the storefront's 'similar products' surface and items share ss_search's field set. It stops short of saying anything about result counts, ordering, or pagination, and there is no output schema to fill that gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the purpose, with no filler. The second sentence is terse to the point of being slightly cryptic (it assumes knowledge of ss_search's field set) but it earns its place by covering the missing output schema.

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 three-parameter, read-only lookup tool with full schema coverage and clear annotations, the description covers what the tool returns at a high level by pointing at ss_search's field set. The only real gap is the absence of any hint about result volume or ordering, which is minor for this tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter carries its own description, including the kind enum ('similar' vs 'accessories'), so the baseline would be 3. The description adds a small amount by tying the output field shape to ss_search, letting an agent anticipate the response structure without opening another tool definition.

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?

States a specific verb and resource: find alternatives to a given product, scoped to what the Snapp! Shop storefront surfaces as 'similar products'. This is distinguishable from ss_search, ss_product, and ss_compare, though the description never explicitly says how it differs from searching for a category.

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

Usage Guidelines3/5

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

Usage is implied by the storefront-widget framing (use it to get the alternatives a shopper would see for a product), and ss_search is referenced, but only as a field-format reference rather than as an alternative to route between. No when-not guidance or prerequisites (e.g. needing a valid category_id from ss_product) are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.