Skip to main content
Glama
NLACE-COM

mcp-supermercados-cl

by NLACE-COM

Productos frecuentes del usuario

get_frequent_purchases

Retrieves frequent purchase products from Jumbo with current prices and Prime member discounts, using a browser snippet from the logged-in session.

Instructions

Devuelve los productos que el usuario compra habitualmente en la cadena, normalizados con su precio vigente, precio normal y precio socio Jumbo Prime cuando aplica. Base para armar la lista con lo que la persona realmente compra. Requiere sesión: entrega en cards el resultado de ejecutar el browserSnippet (una sola pasada al DOM) en www.jumbo.cl/productos-frecuentes ya logueado. NO rasques el estado de React ni improvises selectores; usa el snippet. El servidor nunca maneja credenciales.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsNoCards de producto extraídas del DOM de /productos-frecuentes (data-cnstrc-item-* + textos de precio). Las entrega el navegador ya logueado del usuario.
storeNoCadena. Fase 2: jumbo.jumbo
branchIdNoSucursal de la sesión, ej. "jumboclj512".
Behavior4/5

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

With no annotations, the description fully discloses that it requires a logged-in session, uses a browser snippet, and warns against scraping React state or improvising selectors. It also states the server never handles credentials, adding important security context.

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

Conciseness3/5

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

The description is somewhat long but front-loaded with the main purpose. It includes necessary instructions, but some sentences could be more concise.

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 the tool's complexity (no output schema, 3 params), the description provides enough context: it explains the output format (normalized prices, DOM-extracted cards), the requirement for a session, and behavioral constraints. It is complete for an agent to use effectively.

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 the schema already explains parameters. The description adds value by explaining that the cards parameter comes from DOM extraction, but does not add significant new meaning beyond 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 it returns frequently purchased products with normalized prices and Jumbo Prime price. It distinguishes itself by being the base for building the user's actual purchase list, differentiating from siblings like get_saved_lists or build_list.

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 context that it requires a session and uses a browser snippet, and its purpose is explained. However, it does not explicitly state when to use this tool versus alternatives like get_saved_lists or when not to use it.

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