Skip to main content
Glama
NLACE-COM

mcp-supermercados-cl

by NLACE-COM

Armar lista de compra

build_list

Converts a natural language shopping list into specific products from Chilean supermarkets, selecting the best price per unit and current offers. Returns product choices, alternatives, savings, and total estimate in CLP.

Instructions

Convierte una lista en lenguaje natural (ej. ["leche", "arroz 1kg", "café de grano"]) en productos concretos del catálogo, eligiendo por mejor precio por unidad y ofertas vigentes. Devuelve por ítem el producto elegido, hasta 3 alternativas para ajustar, el ahorro por ofertas, y el total estimado en CLP. Con branchId usa precios/stock de esa sucursal. Si se entregan los productos frecuentes del usuario en frequentCards (desde get_frequent_purchases con sesión iniciada), se priorizan: la lista se arma con lo que la persona realmente compra. Si el usuario prefiere marcas específicas, incluirlas en el texto del ítem (ej. "leche colun").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesÍtems de la lista en texto libre, uno por producto deseado.
storeNoCadena: jumbo, santaisabel, unimarc, tottus o lider.jumbo
branchIdNoCódigo de sucursal para precios locales, ej. "jumboclj512".
maxBudgetNoPresupuesto máximo en CLP. Si el total lo supera, baja a alternativas más baratas (sin tocar tus frecuentes) y, si aún se pasa, sugiere qué quitar. No elimina ítems solo.
onlyOffersNotrue = arma la lista solo con productos en oferta (con descuento).
onlyInStockNotrue = solo productos con stock real.
frequentCardsNoProductos frecuentes del usuario (cards del DOM de la sesión) para priorizar lo que ya compra.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behaviors: selection logic, returns per item (chosen product, alternatives, savings, total), handling of budget overflow, and the role of frequentCards. It could be more explicit about non-destructive nature, but overall is transparent.

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 relatively long but well-organized: it starts with the core functionality, then explains parameter behaviors in a logical order. Each sentence adds value, though minor redundancy could be trimmed.

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

Completeness5/5

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

Given 7 parameters and no output schema, the description comprehensively covers all key aspects: item conversion, pricing, offers, stock, budget handling, frequent products, and branch-specific prices. It provides enough detail for an AI agent to invoke the tool correctly.

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?

All 7 parameters have descriptions in the schema (100% coverage). The description adds useful context beyond the schema, such as how frequentCards are used and how maxBudget triggers downgrades. This supplements the schema well.

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 it converts a natural language list into concrete products from the catalog, selecting by best price per unit and offers. This distinguishes it from sibling tools like search_products or get_offers, which have different scopes.

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 usage context, such as using branchId for local prices and frequentCards to prioritize frequent purchases. It does not explicitly list when not to use the tool or alternatives among siblings, but the guidance is sufficient for typical scenarios.

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