Skip to main content
Glama

GoPromocionales (catálogo y cotizador)

Cotizar uno o varios productos

gopromo_cotizar
Read-onlyIdempotent

Calcula el precio referencial neto (sin IVA) de 1 a 5 productos de GoPromocionales, cada uno con su cantidad y, si se indica, su técnica de marcaje (tecnica_id o nombre), caras y color del producto. Es el mismo precio que entrega el cotizador de la web, que no distingue el número de colores del logo (si el logo tiene más de un color, dilo en colores_logo y la respuesta avisa que un ejecutivo confirma si hay recargo); sobre 1.000 unidades es referencial (unitario de 1.000 u.) y lo revisa un ejecutivo. Como en la web, no se cotiza una cantidad mayor que el stock disponible. Si indicas fecha_necesaria, responde si la PRODUCCIÓN alcanza con el plazo regular publicado (5 a 10 días hábiles desde la aprobación del diseño, sin fines de semana ni feriados de Chile) y si hay stock del color pedido; el despacho no está incluido porque GO no publica plazos de transporte. Sin técnica, el precio es sin marcaje y viene rotulado así. Si la técnica es ambigua o no existe para ese producto, la línea trae las opciones válidas. Respeta la cantidad mínima de venta de cada producto.

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": {
      "items": "<items>"
    },
    "name": "gopromo_cotizar"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1 a 5 productos.
fecha_necesariaNoFecha (AAAA-MM-DD) en que el cliente necesita los productos; se compara con el plazo de PRODUCCIÓN.
fecha_aprobacionNoFecha (AAAA-MM-DD) de aprobación del diseño, desde la que corre el plazo publicado (el PDF de cotización de GO cuenta desde la aprobación de la prueba digital y la confirmación del pago). Por defecto, hoy.

Output Schema

NameRequiredDescriptionDefault
hoyYes
plazoYes
lineasYes
monedaYes
datos_alYes
mensajesYes
total_netoYes
condicionesYes
no_disponibleYes
siguiente_pasoYes
aviso_gran_volumenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses that the price mirrors the web quoter and does not account for logo color count, that multi-color logos are flagged for executive confirmation of a surcharge, that the 1.000+ unit price is referential, that the production deadline excludes weekends and Chilean holidays, that shipping is excluded, and that ambiguous techniques return the valid options. These are real behavioral constraints an agent could not infer from the annotations.

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 core purpose and batch limit are front-loaded, and subsequent sentences cover distinct edge cases (colors, volume, stock, deadline, technique). It is dense and long, but nearly every clause carries a distinct rule, so there is little waste.

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?

An output schema exists so return structure need not be described, and the description still covers the pricing caveats, stock limits, minimum-order rule, deadline logic, and technique fallback. For a 3-parameter quoting tool, an agent has everything needed to call it 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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: colores_logo triggers the multi-color surcharge warning, color_producto is used for stock checking, and an absent or ambiguous tecnica yields either an unmarked price or a list of valid options. It complements rather than repeats 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?

States a specific verb and resource ('Calcula el precio referencial neto (sin IVA) de 1 a 5 productos de GoPromocionales') with the batching limit and the net-of-IVA scope. This is clearly a quoting tool, distinguishable from the sibling search, view, kit, and conditions tools without opening the schema.

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?

Explains the conditions under which the tool's behavior changes: >1.000 units is referential and reviewed by an executive, quantities above available stock cannot be quoted, and fecha_necesaria triggers a production-timeline check. It does not explicitly name when to prefer this over gopromo_armar_kit or gopromo_condiciones, so the alternative-selection guidance is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources