Skip to main content
Glama
ssolis-ti

Compra Ágil MCP Server

generar_borrador_cotizacion

Generate a structured JSON draft for a formal quotation to an active Compra Ágil call. Automatically calculates net values, 19% VAT, and gross amounts, suggesting market prices when needed.

Instructions

Genera un borrador estructurado en formato JSON para presentar una cotización formal a un llamado de Compra Ágil activa. Calcula automáticamente los valores netos, impuestos (19% IVA de Chile) y montos brutos, sugiriendo un precio unitario de mercado si no se ingresa uno personalizado.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codigo_compraYesCódigo de la Compra Ágil activa a cotizar (ej: "1057539-228-COT26").
rut_proveedorNoRUT del proveedor que realiza la cotización (ej: "76.123.456-7").
razon_socialNoRazón social/Nombre de fantasía de la empresa (ej: "Mi Pyme SpA").
precio_unitario_personalizadoNoPrecio unitario neto personalizado para aplicar a los ítems. Si se omite, se buscará un precio estimado de mercado.
plazo_entrega_diasNoPlazo de entrega en días corridos/hábiles. Si se omite, se adopta el sugerido por el comprador o 5 días.
descripcion_propuestaNoMensaje comercial o aclaraciones técnicas del proveedor para adjuntar a la propuesta.
Behavior3/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 of behavioral disclosure. It explains the tool calculates net, tax (19% IVA), gross amounts, and suggests market prices, which is helpful. However, it does not clarify whether the draft is saved temporarily or permanently, if it modifies any state, or what authentication or authorization is required. This leaves notable gaps.

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 two sentences: first sentence defines purpose, second explains key behaviors. It is front-loaded with the core action and avoids redundancy. However, the second sentence is somewhat dense, packing three clauses. Minor improvement could split it, but overall it is efficient and well-structured.

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 has 6 parameters, no output schema, and no annotations, the description covers the essential aspects: what it does, automatic calculations, and fallback behavior. It lacks details on the output structure (JSON format but no shape) and side effects, but these are partially compensated by the schema parameter descriptions. Overall, it is sufficiently complete for an agent to understand the tool's role.

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 baseline is 3. The description adds overall context (e.g., automatic calculation, market price fallback) but does not provide additional semantics for individual parameters beyond what the schema already offers. For instance, 'precio_unitario_personalizado' is well-described in the schema, and the description only reiterates its effect. Thus no extra value.

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 generates a structured JSON draft for a formal quotation on an active 'Compra Ágil' call. It uses a specific verb ('genera') and resource ('borrador ... para presentar una cotización formal'), and distinguishes itself from siblings like 'buscar_compras_agiles' and 'obtener_detalle_compra' by focusing on quotation creation.

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

Usage Guidelines3/5

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

The description implies usage for quoting on a Compra Ágil by explaining automatic calculations and market price suggestion, but it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusion criteria or prerequisites. The context is clear but guidance on when-not-to-use is missing.

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/ssolis-ti/compra-agil-mcp'

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