Skip to main content
Glama
casaley-mcp

casaley-mcp

by s00rk

related_products

Read-onlyIdempotent

Fetches related and suggested products for a given EAN, optionally by store, to populate product recommendations.

Instructions

Productos relacionados ('Artículos recomendados') y sugeridos para un EAN, como en la ficha del sitio.

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": {
      "ean": "<ean>"
    },
    "name": "related_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanYesEAN/UPC del producto (13 dígitos).
storeNoId numérico de la sucursal (ver `list_stores`). Vacío: la configurada.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the description carries little burden and fulfills little of it. Beyond the purpose statement, it says nothing about how many related items are returned, whether results are personalized/regional, or how empty/recommendation-less EANs are handled.

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?

A single compact sentence with the resource front-loaded and no filler. It is efficient, though the brevity crosses into under-specification rather than disciplined conciseness.

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

Completeness3/5

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

Low-complexity tool: two parameters, full schema coverage, an output schema and complete annotations, so the description needn't explain return values or safety. What remains missing is routing guidance against the product-lookup siblings, which leaves the definition only minimally complete for selection.

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 the EAN format and the store default are already documented in the schema. The description merely restates that an EAN is required and omits the optional store parameter entirely, adding no meaning beyond the schema.

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?

The description names the resource precisely in domain terms: related/"recommended" products for a given EAN, mirroring the site's product page. An agent knows exactly what comes back, though it never contrasts itself with siblings like get_product or search_products.

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

Usage Guidelines2/5

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

The only contextual cue is the analogy "como en la ficha del sitio", which implies a product-detail-page use case but gives no explicit when-to-use rule. Nothing says when to prefer this over get_product or search_products, and no prerequisites or exclusions are stated.

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