Skip to main content
Glama
NLACE-COM

mcp-supermercados-cl

by NLACE-COM

Sugerir reemplazos convenientes

suggest_swaps

Suggests cheaper alternatives for each grocery product by comparing unit prices, or finds more natural options with similar costs when preferNatural is enabled.

Instructions

Para cada ítem (nombre de producto o texto de búsqueda) sugiere reemplazos convenientes dentro del mismo catálogo. Por defecto: mejor precio por unidad (kg/lt/un) que el match actual. Con preferNatural: true cambia el criterio a 'más natural manteniendo el precio': trae alternativas de precio similar CON sus ingredientes y sellos nutricionales, para elegir la de lista de ingredientes más corta/limpia sin subir el gasto (usa la ficha; hoy Jumbo y Santa Isabel). Devuelve el producto actual y los reemplazos con su ahorro por unidad.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesProductos a optimizar, por nombre (ej. "Arroz Grado 1 Tucapel 1 kg") o búsqueda ("arroz").
storeNoCadena: jumbo, santaisabel, unimarc, tottus o lider.jumbo
branchIdNoCódigo de sucursal para precios locales, ej. "jumboclj512".
preferNaturalNotrue = prioriza alternativas más naturales (menos ingredientes) a precio similar, con ingredientes incluidos.
Behavior4/5

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

With no annotations, the description bears full burden. It discloses return contents (current product and replacements with savings per unit), natural mode details (ingredients, nutritional seals), and store support. It omits rate limits or authentication, but the read-only nature is clear.

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?

The description is a single paragraph that efficiently conveys all key points: purpose, default behavior, optional mode, stores supported, and output. It is front-loaded with the main action. Could be slightly better structured (e.g., bullet points for modes) but is concise and complete.

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?

Given no output schema, the description adequately specifies return values (current product, replacements, savings per unit). Parameters are fully explained. It does not cover error cases or edge conditions, but for a simple suggestion tool, the information is sufficient for correct invocation.

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%, but the description adds significant nuance: it explains the purpose of items (product name or search text), store enum values, branchId for local prices, and preferNatural's detailed behavior (more natural with similar price, includes ingredients). This enhances understanding beyond the schema.

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?

The description clearly states the tool's function: to suggest convenient replacements for items within the same catalog. It specifies two modes (price-based and natural-preference) and differentiates from sibling tools like search_products and get_product.

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

Usage Guidelines4/5

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

The description provides clear guidance on default usage (best price per unit) and alternative usage with preferNatural: true for natural alternatives. It lacks explicit exclusions or alternatives, but the context is sufficient for an agent to decide when to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NLACE-COM/mcp-supermercados-cl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server